[PATCH v3] board: phytec: phycore-imx93: Add phyBOARD-Segin-i.MX93 support
Tom Rini
trini at konsulko.com
Tue Jan 30 13:57:28 CET 2024
On Tue, Jan 30, 2024 at 01:49:26PM +0100, Mathieu Othacehe wrote:
>
> Hey,
>
> > Can you re-check, please?
> >
> > Maybe check your include/generated/environment.h?
>
> Thanks for checking. It is strange that you do not reproduce that one.
>
> My include/generated/environment.h looks like:
>
> --8<---------------cut here---------------start------------->8---
> #define CONFIG_EXTRA_ENV_TEXT "bootenv=bootenv.txt\0bootenv_addr=0x83500000\0console=ttyLP0\0fdt_addr=0x83000000\0fdt_file=\"oftree\"\0fdto_addr=0x830c0000\0image=Image\0ip_dyn=yes\0loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0mmc_apply_overlays=fdt address ${fdt_addr}; for overlay in ${overlays}; do; if run mmc_load_overlay; then fdt resize ${filesize}; fdt apply ${fdto_addr}; fi; done;\0mmc_load_bootenv=fatload mmc ${mmcdev}:${mmcpart} ${bootenv_addr} ${bootenv}\0mmc_load_overlay=fatload mmc ${mmcdev}:${mmcpart} ${fdto_addr} ${overlay}\0mmcargs=setenv bootargs console=${console},${baudrate} earlycon root=/dev/mmcblk${mmcdev}p${mmcroot} ${raucargs} rootwait rw\0mmcautodetect=yes\0mmcboot=echo Booting from mmc ...; if run mmc_load_bootenv; then env import -t ${bootenv_addr} ${filesize}; fi; run mmcargs; if run loadfdt; then run mmc_apply_overlays; booti ${loadaddr} - ${fdt_addr}; else echo WARN: Cannot load the DT; fi;\0mmcdev=1\0mmcpart=1\0mmcroot=2\0net_apply_overlays=fdt address ${fdt_addr}; for overlay in ${overlays}; do; if run net_load_overlay; then fdt resize ${filesize}; fdt apply ${fdto_addr}; fi; done;\0net_load_bootenv=${get_cmd} ${bootenv_addr} ${bootenv}\0net_load_overlay=${get_cmd} ${fdto_addr} ${overlay}\0netargs=setenv bootargs console=${console},${baudrate} earlycon root=/dev/nfs ip=${nfsip} nfsroot=${serverip}:${nfsroot},v3,tcp\0netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if run net_load_bootenv; then env import -t ${bootenv_addr} ${filesize}; fi; ${get_cmd} ${loadaddr} ${image}; if ${get_cmd} ${fdt_addr} ${fdt_file}; then run net_apply_overlays; booti ${loadaddr} - ${fdt_addr}; else echo WARN: Cannot load the DT; fi;\0nfsroot=/nfs\0"
> --8<---------------cut here---------------end--------------->8---
>
> Note that fdt_file=\"oftree\" which explains the issue on my side. Do
> you have a similar environment.h?
>
> What u-boot commit are you based on?
And what awk do you both have? environment.h is generated via
scripts/env2string.awk
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240130/98b68f80/attachment.sig>
More information about the U-Boot
mailing list