Imx27-ADS Problem booting Linux

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

Imx27-ADS Problem booting Linux

3,296 Views
Aleem
Contributor I
Dear All,

I downloaded BSP ( imx27_ads_20071219-rel3-ltib ) and built the environment and did ./ltib
and i download zImage throung serial.  Please see log.
Kernel does not boot up.
___________________________________________________
RedBoot> load -r -b 0x100000 -m xmodem
CC Raw file loaded 0x00100000-0x0029254b, assumed entry at 0x00100000
xyzModem - CRC mode, 12875(SOH)/0(STX)/0(CAN) packets, 2 retries
RedBoot> run 0x100000
load entry_address=0x100000
virt_addr=0x100000
phys_addr=0xa0100000
_____________________________________________________

I am trying to boot it up by downloding it into RAM. Is it necessary to flash it to boot up?
Please help me in the booting process.


Thanks and Regards,
Aleem

0 Kudos
Reply
4 Replies

1,586 Views
aurelihein
Contributor I
Hi,
What you can do is that :
load -r -b 0x100000 -h 192.168.49.173 /tftpboot/zImage
exec -c "console=ttymxc0 root=/dev/mtdblock2 rootfstype=jffs2 rw init=/linuxrc ip=none"
Regards,
Aurelien
0 Kudos
Reply

1,586 Views
Aleem
Contributor I
Dear Aurelien,

Thansk you very much for your  help i was able to download zImage
through TFTP.  please see this message.
But after i give exec i dont get any thing. Kernel does not boot up.
Can you please guide me what could be the problem.
_________________________________________________________
RedBoot>
RedBoot> load -v -r -b 0x00100000 zImage
Using default protocol (TFTP)
-
Raw file loaded 0x00100000-0x0029254b, assumed entry at 0x00100000
RedBoot>
RedBoot> exec -c "console=ttymxc0 root=/dev/mtdblock2 rootfstype=jffs2 rw init=/
linuxrc ip=none"
entry=0xa0008000, target=0xa0008000
Using base address 0x00100000 and length 0x0019254c
__________________________________________________________

Thanks in Advance,
Aleem

0 Kudos
Reply

1,586 Views
jchokshi
Contributor I
Greetings,
 
I've a similar problem albeit I'm using i.MX 27-ADS.
I am issuing following command,
exec -b 0x00100000 -l 0x00200000 -c "noinitrd console=ttySo,115200n8  
    root=/dev/nfs nfsroot=<Host IP>:/tftpboot/ltib/ init=/linuxrc
    ip=<Target IP>:<Host IP>"
 
o/p:
    entry=0xa0008000, target=0xa0008000
 
And  Serial terminal hangs forever, but I get to see boot messages on attached LCD display panel. I was even able to type and see characters on LCD through attached keyboard. But I believe we need a way to get into File System on Target, and serial connection seems to be only viable option.
 
So If you could let me know how I can keep the serial connection alive, having issued the "exec...." command.
 
 
Thanks,
Jaydeep
 
0 Kudos
Reply

1,586 Views
phenck
Contributor I
Don't you forget the image name?
load -r -b 0x100000 zImage

Then I advice you to launch the kernel with the exec command because you will to give arguments to the kernel, don't you?

Best Regards
P. Henck
0 Kudos
Reply