Update linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Update linux

1,291 Views
BrilliantovKiri
Senior Contributor I
Hello! Now on SABRE work Android, but I need work with Linux. Current U-Boot enviroment: bootdelay=3 baudrate=115200 netdev=eth0 ethprime=FEC0 uboot=u-boot.bin kernel=uImage loadaddr=0x70800000 nfsroot=/opt/eldk/arm bootargs_base=setenv bootargs console=ttymxc0,115200 bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp bootargs_android=setenv bootargs ${bootargs} androidboot.console=ttymxc0 init=/init di1_primary video=mxcdi1fb:RGB666,XGA hdmi ldb=di1 gpu_memory=32M bootcmd_net=run bootargs_base bootargs_nfs; tftpboot ${loadaddr} ${kernel}; bootm ethact=FEC0 ethaddr=00:04:9f:00:ea:d3 fec_addr=00:04:9f:00:ea:d3 loadaddr=0x70800000 rd_loadaddr=0x70D00000 bootcmd_SD=mmc read 1 ${loadaddr} 0x800 0x2000; mmc read 1 ${rd_loadaddr} 0x3000 0x300; serverip=192.168.7.33 ipaddr=192.168.7.2 load_MMC=mmc read 0 ${loadaddr} 0x800 0x2000;mmc read 0 ${rd_loadaddr} 0x3000 0x300 bootcmd_MMC=run bootargs_base bootargs_android load_MMC; bootm ${loadaddr} ${rd_loadaddr} load_eMMC=mmc read 1 ${loadaddr} 0x800 0x2000; mmc read 1 ${rd_loadaddr} 0x3000 0x300 bootcmd_eMMC=run bootargs_base bootargs_android load_eMMC; bootm ${loadaddr} ${rd_loadaddr} bootargs=console=ttymxc0,115200 androidboot.console=ttymxc0 init=/init di1_primary video=mxcdi1fb:RGB666,XGA hdmi ldb=di1 gpu_memory=32M bootcmd=run bootcmd_eMMC stdin=serial stdout=serial stderr=serial What address should I use for change/upgrade Linux and rootfs on SABRE? Thank you and excuse me my bad english.
0 Kudos
7 Replies

823 Views
BrilliantovKiri
Senior Contributor I

Problem solved. I modify U-boot enviroment, donwload Linux from TFTP and load rootfs via NFS.

0 Kudos

823 Views
BrilliantovKiri
Senior Contributor I

Hello, Yuri!

I have read IMX53SMDHUG.pdf and set pins 3 and 4 on SW28 on ON, as described on page 36.

But this is not solve problem - MfgTool not found device.

0 Kudos

822 Views
Yuri
NXP Employee
NXP Employee


Use (internal) Boot Switch (SW26, SW28), they are described in section 5.3.2 (Boot Mode Operations and Selections ) 
of "MCIMX53SMD Board Hardware User’s Guide". It makes sense to configure them to boot from SD - if there is no boot SD,
internal i.MX53 UART / USB bootloader  will start (for MFG).

0 Kudos

822 Views
BrilliantovKiri
Senior Contributor I

Strange, I connect debug board to SABRE, connect USB-UART Trendnet TU-S9 to debug board and PC, but MfgTool not found device.

How can I switch SABRE in upgrade mode?

0 Kudos

822 Views
Yuri
NXP Employee
NXP Employee

Just select "MX53 SMD" as board in LTIB - all the rest is the same as with i.MX53 QSB.  

Brilliantov Kirill Vladimirovich said:

Hello, Yuri!
I do not plan use Android. I think update Linux on SD and boot rootfs via NFS.
Can I set Linux and Linux-based rootfs, not Android, on SABRE with MfgTool?
0 Kudos

822 Views
BrilliantovKiri
Senior Contributor I
Hello, Yuri! I do not plan use Android. I think update Linux on SD and boot rootfs via NFS. Can I set Linux and Linux-based rootfs, not Android, on SABRE with MfgTool?
0 Kudos

822 Views
Yuri
NXP Employee
NXP Employee

Unlike other Linux systems Android uses its own initialization program (bootargs = ... init=/init),
so, perhaps it would be better to use "usual" Linux for i.MX53. 

0 Kudos