On 2015-11-10, Marek Vasut wrote: > Switch Novena to distro bootcmd, so it can be used with debian easily.
> diff --git a/include/configs/novena.h b/include/configs/novena.h > index 718989f..3bb406d 100644 > --- a/include/configs/novena.h > +++ b/include/configs/novena.h > @@ -58,7 +59,7 @@ > /* Booting Linux */ > #define CONFIG_BOOTFILE "fitImage" > #define CONFIG_BOOTARGS "console=ttymxc1,115200 " > -#define CONFIG_BOOTCOMMAND "run net_nfs" > +#define CONFIG_BOOTCOMMAND "run distro_bootcmd ; run net_nfs" > #define CONFIG_HOSTNAME novena > > /* Physical Memory Map */ ... > @@ -199,6 +201,10 @@ > "rootdev=/dev/mmcblk0p2\0" \ > "netdev=eth0\0" \ > "kernel_addr_r="__stringify(CONFIG_LOADADDR)"\0" \ > + "pxefile_addr_r="__stringify(CONFIG_LOADADDR)"\0" \ > + "scriptaddr="__stringify(CONFIG_LOADADDR)"\0" \ > + "ramdisk_addr_r=0x28000000\0" \ > + "fdt_addr_r=0x10000000\0" \ > "addcons=" \ > "setenv bootargs ${bootargs} " \ > "console=${consdev},${baudrate}\0" \ "fdtfile=imx6q-novena.dtb" should be added above, maybe after fdt_addr_r. The use of CONFIG_BOOTARGS and "run addcons" appear to be redundant, or at least overlapping. Other boards simply set "console=ttymxc0,115200" or appropriate, which would be a bit simpler. live well, vagrant
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot