Hello Mike, my previous post is missing from this thread. Let me add these into this mail. So I've got a reply: #### 2020-12-25 AreYouLoco? <areyouloco@*********.org> "You should try to build with provided crosstools. -> make crossgcc" I didn't know this mail was sent to me directly, so I wanted to make a reply to this thread. #### 2020-12-30 Balazs Vinarz <vinibali1@*****.com> "Someone's reply may have been gone. In the end, I ended up building the crossgcc part with an Ubuntu based Docker image. https://hub.docker.com/r/loop0br/coreboot-compile" So I managed to compile the crossgcc package with an Ubuntu Image. I needed this old branch because I had some problems with my Asus M2A-MX board's SATA/AHCI implementation, I thought I could get rid of this with Coreboot. The latest proprietary version from Asus was released back in 2010. Anyway I found the original motherboard page created by Uwe Hermann(https://www.coreboot.org/ASUS_M2A-MX) and couple of M2A-VM related commits(https://github.com/coreboot/coreboot/commit/d76d5791fd740af594578169217a1b47...) and a patch (https://mail.coreboot.org/hyperkitty/list/coreboot@coreboot.org/message/4ESE...) by Carl-Daniel Hailfinger. Unfortunately I couldn't get in touch with any of them, however I wrote a couple of mails to these guys. The motherboard documentation (https://www.coreboot.org/ASUS_M2A-VM) seems to be right about the USB and SATA problems even with less than 4GB of RAM. I created a new tree on my repository (https://gitlab.com/vinibali/coreboot/-/tree/4.8.1_m2amx), and I'd like to: - play a little with MMCONFIG - implement support for FAM10 CPUs I know this is an old board, but I have had this SSH only machine for years and I really like it. It's still quite usable with an energy efficient Athlon X4 605e!
Mike Banon mikebdp2@gmail.com ezt írta (időpont: 2021. jan. 6., Sze, 9:07):
Hi there Balazs, please tell why you'd need a 4.8.1 branch? Also you may have to get some old LiveCD (i.e. CentOS 7 has both installation DVD and a DVD with packages) and build the old coreboot under the older Linux with everything older.
On Thu, Dec 24, 2020 at 12:03 PM Balázs Vinarz vinibali1@gmail.com wrote:
Hi!
Have you experienced anything like this while compiling from the branch 4.8.1? I have a fresh and a ~ 1 year old crossgcc pack, but both are end up after a make menuconfig ; make -j8 with the same way. In the latest crossgcc build, I had to apply an include string fix to binutils and a -Wl,--allow-multiple-definition to the acpica's LDFLAGS. #### $ CC=/usr/bin/gcc make -d -j8 GNU Make 4.3 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Reading makefiles... Reading makefile 'Makefile'... Reading makefile '/media/ramdisk/coreboot/util/kconfig/Makefile' (search path) (no ~ expansion)... Reading makefile '/media/ramdisk/coreboot/.config' (search path) (no ~ expansion)... Reading makefile '.xcompile' (search path) (don't care) (no ~ expansion)... Reading makefile 'toolchain.inc' (search path) (no ~ expansion)... Reading makefile 'Makefile.inc' (search path) (don't care) (no ~ expansion)... Skipping submodule '3rdparty/blobs' Reading makefile 'util/crossgcc/Makefile.inc' (search path) (no ~ expansion)... . . Reading makefile 'src/vendorcode/amd/pi/00670F00/Makefile.inc' (search path) (don't care) (no ~ expansion)... Segmentation error (core dumped) #### $ dmesg | tail -1 [30582.804975] make[750110]: segfault at 7fffb5d2dff8 ip 00007fd105838cff sp 00007fffb5d2e000 error 6 in libc-2.32.so[7fd1057d3000+14d000] [30582.804983] Code: 00 00 00 48 3b 1d 51 64 13 00 0f 82 ab 00 00 00 64 8b 04 25 18 00 00 00 85 c0 0f 85 23 01 00 00 48 89 ee 48 8d 3d 01 6d 13 00 <e8> cc e2 ff ff 49 89 c0 48 85 c0 0f 84 c8 00 00 00 48 8b 40 f8 a8 ####
Do you have any ideas? I'm using Arch Linux 5.9 with GCC 10.2 I had a try on another machine with Arch Linux 4.19 LTS@GCC 10.2
Thanks _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org