[Buildroot] [PATCH v1 2/2] configs/beaglev_ahead: new defconfig
Kilian Zinnecker
kilian.zinnecker at mail.de
Wed Aug 23 18:39:24 UTC 2023
Hello Robert,
[--SNIP--]
> > +diff --git a/board/thead/light-c910/light.c
> > b/board/thead/light-c910/light.c +index 8d5478e916..1448db974e 100644
> > +--- a/board/thead/light-c910/light.c
> > ++++ b/board/thead/light-c910/light.c
> > +@@ -2282,6 +2282,7 @@ int board_late_init(void)
> > + light_usb_boot_check();
> > + do_firmware_load();
> > + ap_peri_clk_disable();
> > ++ (void)env_set("bootcmd", "fatload mmc 1:1 ${kernel_addr_r} Image;
> > fatload mmc 1:1 ${fdt_addr_r} light-beagle.dtb; setenv bootargs
> > root=/dev/mmcblk1p2 rootfstype=ext4 rootwait ro console=ttyS0,115200
> > earlycon clk_ignore_unused net.ifnames=0; booti ${kernel_addr_r} -
> > ${fdt_addr_r};"); + return 0;
>
> uhoh!! I was hoping extlinux.conf in the file system was enough, we
> need to fix this in our u-boot branch so it just scans for
> extlinux.conf (distro_boot)
That would be great! I currently changed it such, that a boot.scr is loaded
which then contains the bootcmd. However, if it was possible to not have to
patch the code, that would be great. For now this also works and I can
continue, so that there is no hurry. However, please send me a note once you
changed it, so that I can change my patches accordingly :)
Best regards,
Kilian
More information about the buildroot
mailing list