networkimprov / arch-packages

1 stars 0 forks source link

u-boot environment in text #36

Open networkimprov opened 8 years ago

networkimprov commented 8 years ago

[done] load environment from uboot.env instead of compiling into u-boot.bin.

[done] package uEnv.txt for images/ with mkenvimage

networkimprov commented 8 years ago

Now we need to change the embedded scripts in include/configs/omap3_anvl.h:

Drop CONFIG_EXTRA_ENV_SETTINGS Keep CONFIG_PREBOOT Revise CONFIG_BOOTCOMMAND echo uboot.env not found on mmc 1:1. Please run anvl usb installer to fix.

mranostay commented 8 years ago

Well now for sure we need to do this after a few changes :). Well can update the environment size but I think that is wrong method

$ mkenvimage -s 0x4000 uboot.env src/scripts/uEnv.txt The environment file is too large for the target environment storage

mranostay commented 8 years ago

Ah seems forgot a flag to mkenvimage.. but still this is a valid issue at some point

networkimprov commented 8 years ago

Compile uEnv.txt to images/uboot.env: omap3-usb-boot-install $ ./makeimg.sh scripts

Thinning out the embedded scripts compiled into u-boot is low priority.

networkimprov commented 8 years ago

While you're working on u-boot, we need to change the embedded scripts in include/configs/omap3_anvl.h:

Drop CONFIG_EXTRA_ENV_SETTINGS

Keep CONFIG_PREBOOT

Revise CONFIG_BOOTCOMMAND echo uboot.env not found on mmc 1:1. Please run anvl usb installer to fix.

mranostay commented 8 years ago

On Sun, Oct 2, 2016 at 11:49 AM, Liam notifications@github.com wrote:

While you're working on u-boot, we need to change the embedded scripts in include/configs/omap3_anvl.h:

Drop CONFIG_EXTRA_ENV_SETTINGS

Keep CONFIG_PREBOOT

Revise CONFIG_BOOTCOMMAND echo uboot.env not found on mmc 1:1. Please run anvl usb installer to fix.

When does this message appear? Only on install I take?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/networkimprov/arch-packages/issues/36#issuecomment-250987933, or mute the thread https://github.com/notifications/unsubscribe-auth/AAwXORZ7cNfKix1kUO_k47h9rni5oilxks5qv_zVgaJpZM4Goqu3 .

networkimprov commented 8 years ago

You will only get that message in non-install mode if uboot.env is not found.

Install mode exits u-boot via preboot script.