[<<][buildroot][>>][..]
Fri May 18 10:12:33 EDT 2018

Override full environment?

I want something similar to this:
https://wiki.beyondlogic.org/index.php?title=BeagleBoneBlack_Default_uBoot_Environment_Variables

load mmc 1:2 0x80F80000 /boot/am335x-boneblack.dtb
load mmc 1:2 0x80007fc0 /boot/uImage
setenv bootargs console=ttyO0,115200n8 ${optargs} root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
bootm 0x80007fc0 - 0x80F80000


Modified it to:

load mmc 0:1 0x80F80000 am335x-boneblack.dtb
load mmc 0:1 0x80007fc0 zImage
setenv bootargs console=ttyS0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
bootz 0x80007fc0 - 0x80F80000

Which boots the kernel


so how to overwrite the environment?




[Reply][About]
[<<][buildroot][>>][..]