-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No longer builds due to changes in glibc, syncconfig #4
Comments
Hi, could you please share what you did to make it build with an older buildroot? Simply replacing the version number in the Makefile /and hitting ENTER 1000 times for the config/ fails with "elf2flt.c:414:41: error: macro "bfd_section_vma" requires 2 arguments, but only 1 given" on my machine ... |
I really don't know and don't have the hardware handy anymore. I'd be very
surprised if this issue hasn't fixed itself in the meantime.
…On Tue, Mar 23, 2021, 6:16 PM LubomirBogdanov ***@***.***> wrote:
Hi, could you please share what you did to make it build with an older
buildroot? Simply replacing the version number in the Makefile /and hitting
ENTER 1000 times for the config/ fails with "elf2flt.c:414:41: error: macro
"bfd_section_vma" requires 2 arguments, but only 1 given" on my machine ...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANKOXBYP4MFA5LHZ7KD4JTTFEHM3ANCNFSM4LBQM5EQ>
.
|
OK, so a workaround is to do:
cp: cannot create regular file '/srv/tftp/stm32f769//' no such file or directory BUT the kernel will be built anyways. Cheers! |
Thank you so much for your insight on this topic LubomirBogdanov. I was able to generate the images and flash the U-Boot on to my EVK. I am not able to load the zImage and dts through TFTP (I am new to tftp and i run into timeout when I try to access the images) did you manage to get the boot completely from SD Card by any chance ? |
Yes, I was able to boot from an SD card only, I haven't tried TFTP. To boot from the SD card you need the zImage and the dts binary on it. If you have formatted the card with FATFS, you should use U-Boot with the following start-up commands: #define CONFIG_BOOTCOMMAND #define CONFIG_EXTRA_ENV_SETTINGS I have actually done an exercise for my students here: But the main document "01-STM32F769I_Linux.pdf" is in Bulgarian :-( Hope it can help you somehow... Regards, |
Thank you so much for your kind help LubomirBogdanov. |
Yes, I will try to send them to your e-mail, because I cannot attach files here ... |
Btw, if you get into the U-Boot prompt you can try to load the kernel with the following commands: setenv fdtcontroladdr c0ea0128 If you have your SD card formatted with ext4 the respective commands will be the same except: ... |
Hello LB, Thank you so much again for your kind response. |
Yes, unfortunately at some point the U-Boot stopped working with this board. The last commit of U-Boot that still works is this one: commit a00d15757d7a513e410f15f2f910cb52333361a3 (HEAD -> master, origin/master, origin/HEAD) |
And one important note - you have to firstly flash the U-Boot at address 0x08000000, then at address 0x08008000 or it won't work. Also you have to disable SPL support from U-Boot's menuconfig. |
Hey! I managed to build it with Ubuntu 20.04!!! :-) According to there is a fix. Here is how I managed to get it to build on a Ubuntu 20.04 ... git clone https://github.com/fdu/STM32F769I-disco_Buildroot.git At this point the build of m4 will fail but the m4 sources will be downloaded in output/build/host-m4-1.4.18. So ...
to this:
In "stdio-impl.h" file add this: /* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this below this: #if defined NetBSD /* NetBSD / Hasn't been tested on the STM32F769 board yet, but I'm pretty sure it will work. Regards, |
Hi L.B Your solution worked! I tried it on my WSL2 OS: Ubuntu 20.04.5 LTS on Windows 10 x86_64. Kind regards, |
Hi L.B, Did you ever manage to get the LCD frame buffer to work ? Kind regards, |
Hi, unfortunately no :-( I didn't even try ... |
Hi again, |
Hi, During my lab exams with @LubomirBogdanov I found how to build this version of Buildroot ( Buildroot 2018.02) under Ubuntu 22.10 and 23.04. Those are the steps:
If later you need to rebuild you might get error that Kind regards, |
This no longer builds due to changes in glibc described here:
as well as the removal of the
syncconfig
make target for the linux kernel. (but you can just smash enter to accept all defaults).The new LTS of buildroot is 2019.2.9, if simply changing to that succeeds (short of smashing enter) I'll add a PR to this issue.
The text was updated successfully, but these errors were encountered: