Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch for the environment please? #12

Closed
itsfja opened this issue Jul 14, 2013 · 3 comments
Closed

switch for the environment please? #12

itsfja opened this issue Jul 14, 2013 · 3 comments

Comments

@itsfja
Copy link

itsfja commented Jul 14, 2013

Wotcher,
Enhancement request please: Could we have easier access the target rootfs location i.e. a command switch to retarget the root which is otherwise done via a full run by changing the line in the board config.sh BUILD_ROOT_DEV="/dev/mmcblk0p1". I still haven't managed to work out how to modify it post build. Cheers.

Regards,
Francis.

@EddyBeaupre
Copy link
Collaborator

Done.

To change it postbuild, you need to change it in the Fex file (boot.cmd) and compile a new boot script with

mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr

Just make sure the line ext2load mmc 0 0x48000000 boot/uImage point to the real kernel image.

@itsfja
Copy link
Author

itsfja commented Jul 14, 2013

Wotcher. config.sh BUILD_ROOT_DEV should have a default value, If one forgets to uncomment the line ...

[13/07/14 17:37:48 ubootSetEnv] Setting variable bootargs to console=tty0 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x720p60 root= rootwait panic=10

@EddyBeaupre
Copy link
Collaborator

It did, it was just a typo, it's corrected now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants