View unanswered posts | View active topics It is currently Thu Jun 27, 2019 9:12 am



Reply to topic  [ 5 posts ] 
 Uboot setup 
Author Message

Joined: Mon Jul 15, 2013 9:26 pm
Posts: 3
Post Uboot setup
Hi.

Can you give a quick primer of the necessary commands to persist uboot changes?

I have tried to install Geexbox on my pro (on the mSATA), but it only boots if I help it in uboot via the serial

The following commands boots it:

Code:
sata dev 0
setenv bootargs console=ttymxc3,115200 root=/dev/sda2 rootwait video=mxcfb0:dev=hdmi,1920x1080@60,if=RGB24,bpp=16 consoleblank=0 cm_fx6_v4l dmfc=3
fatload sata 0 0x10800000 uImage
bootm


Thanks in advance

Svenne


Fri Nov 22, 2013 12:23 pm
Profile

Joined: Thu Nov 14, 2013 12:48 pm
Posts: 41
Post Re: Uboot setup
you can see this page: http://archlinuxarm.org/platforms/armv7 ... le/utilite
setenv for the command you need, and setenv boot_cmd to use your command... then saveenv.


Fri Nov 22, 2013 1:52 pm
Profile

Joined: Mon Jul 15, 2013 9:26 pm
Posts: 3
Post Re: Uboot setup
I seem to have messed up my uboot settings, can someone please post the output of "printenv" from an unmodified utilite pro?


Fri Nov 22, 2013 2:41 pm
Profile

Joined: Thu Nov 14, 2013 12:48 pm
Posts: 41
Post Re: Uboot setup
here is the result of my utilite pro.

Code:
bootdelay=3
autoload=no
loadaddr=0x10800000
baudrate=115200
console=ttymxc3,115200
kernel=uImage-cm-fx6
bootscr=boot.scr
video_hdmi=mxcfb0:dev=hdmi,1920x1080M-24@50,if=RGB24
video_dvi=mxcfb0:dev=dvi,1280x800M-24@50,if=RGB24
mmcdev=2
satadev=0
mmcroot=/dev/mmcblk0p2 rw rootwait
sataroot=/dev/sda2 rw rootwait
nandroot=/dev/mtdblock4 rw
nandrootfstype=ubifs
mmcargs=setenv bootargs console=${console} root=${mmcroot} ${video}
sataargs=setenv bootargs console=${console} root=${sataroot} ${video}
nandargs=setenv bootargs console=${console} root=${nandroot}
rootfstype=${nandrootfstype} ${video}
loadmmcbootscript=fatload mmc ${mmcdev} ${loadaddr} ${bootscr}
loadsatabootscript=fatload sata ${satadev} ${loadaddr} ${bootscr}
mmcbootscript=echo Running bootscript from mmc ...; source ${loadaddr}
satabootscript=echo Running bootscript from sata ...; source ${loadaddr}
mmcloadkernel=fatload mmc ${mmcdev} ${loadaddr} ${kernel}
sataloadkernel=fatload sata ${satadev} ${loadaddr} ${kernel}
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
sataboot=echo Booting from sata ...; run sataargs; bootm ${loadaddr}
nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 0 400000 && bootm ${loadaddr}
run_eboot=echo Starting EBOOT ...; mmc dev ${mmcdev} && mmc rescan && mmc read 10042000 a 400 && go 10042000
bootcmd=mmc dev ${mmcdev}; if mmc rescan; then if run loadmmcbootscript; then run mmcbootscript; else if run mmcloadkernel; then run mmcboot; fi; fi; else if sata init; then if run loadsatabootscript; then run satabootscript; else if run sataloadkernel; then run sataboot; fi; fi; fi; fi;
ethaddr=00:01:c0:13:ed:a9
serial=CM-FX6-C1200QM-D2G-N0-ND0-U5-E-A-WB-100-131028-0001c013eda9
ethact=FEC0
stdin=serial
stdout=serial
stderr=serial


Sat Nov 23, 2013 12:46 am
Profile

Joined: Fri Dec 06, 2013 8:18 am
Posts: 3
Post Re: Uboot setup
Thank you for posting this! It totally saved me when fw_setenv corrupted my uboot params.


Sun Jan 26, 2014 5:45 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.