<br><font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">I would like to boot the OMAP5912 board
from u-boot.</font>
<br><font size=2 face="sans-serif">Memory layout is :</font>
<br><font size=2 face="sans-serif">FLASH : &nbsp; &nbsp; &nbsp; &nbsp;
Starts from 0x0000 0000 &nbsp; (32MB)</font>
<br><font size=2 face="sans-serif">SDRAM: &nbsp; &nbsp; &nbsp; &nbsp;0x1000
0000 to 0x1200 0000 &nbsp;(32 MB)</font>
<br>
<br>
<br><font size=2 face="sans-serif">I used the kernel Image with DHCP Support
= ON. </font>
<br>
<br><font size=2 face="sans-serif">I copied the uImage at 0x0001 0000 and
uRamdisk at 0x0010 0000</font>
<br>
<br><font size=2 face="sans-serif">*********************LOG*****************************</font>
<br><font size=2 face="sans-serif">OMAP5912 OSK # tftp 10000000 uImage</font>
<br><font size=2 face="sans-serif">OMAP5912 OSK # cp.b 10000000 100000
b67e4</font>
<br><font size=2 face="sans-serif">OMAP5912 OSK # imi 100000</font>
<br><font size=2 face="sans-serif">## Checking Image at 00100000 ...</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Image Name: &nbsp; Linux-2.4.20_mvl31-omap5912_osk</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Image Type: &nbsp; ARM
Linux Kernel Image (uncompressed)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Data Size: &nbsp; &nbsp;747428
Bytes = 729.9 kB</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Load Address: 10008000</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Entry Point: &nbsp;10008000</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Verifying Checksum ...
OK</font>
<br><font size=2 face="sans-serif"><br>
</font>
<br><font size=2 face="sans-serif">OMAP5912 OSK # tftp 10000000 uRamdisk</font>
<br><font size=2 face="sans-serif">OMAP5912 OSK # cp.b 10000000 1000000
16f4eb</font>
<br><font size=2 face="sans-serif">OMAP5912 OSK # imi 1000000</font>
<br><font size=2 face="sans-serif">## Checking Image at 01000000 ...</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Image Name: &nbsp; Test
Ramdisk Image</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Image Type: &nbsp; ARM
Linux RAMDisk Image (gzip compressed)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Data Size: &nbsp; &nbsp;1504427
Bytes = &nbsp;1.4 MB</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Load Address: 11000000</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Entry Point: &nbsp;11000000</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Verifying Checksum ...
OK</font>
<br>
<br><font size=2 face="sans-serif">OMAP5912 OSK # setenv bootargs mem=32M
console=ttyS0,115200n8 root=/dev/rd/0 ramdisk_start=1000000</font>
<br>
<br><font size=2 face="sans-serif">OMAP5912 OSK # print</font>
<br>
<br><font size=2 face="sans-serif">baudrate=115200</font>
<br><font size=2 face="sans-serif">ethaddr=00:0E:99:02:06:7D</font>
<br><font size=2 face="sans-serif">bootdelay=10</font>
<br><font size=2 face="sans-serif">bootfile=/tftpboot/omap/dhcp_uImage</font>
<br><font size=2 face="sans-serif">hostname=tqm</font>
<br><font size=2 face="sans-serif">stdin=serial</font>
<br><font size=2 face="sans-serif">stdout=serial</font>
<br><font size=2 face="sans-serif">stderr=serial</font>
<br><font size=2 face="sans-serif">filesize=16f4eb</font>
<br><font size=2 face="sans-serif">fileaddr=10000000</font>
<br><font size=2 face="sans-serif">gatewayip=172.18.19.253</font>
<br><font size=2 face="sans-serif">netmask=255.255.248.0</font>
<br><font size=2 face="sans-serif">ipaddr=172.18.20.198</font>
<br><font size=2 face="sans-serif">serverip=172.18.20.141</font>
<br><font size=2 face="sans-serif">bootargs=mem=32M console=ttyS0,115200n8
root=/dev/rd/0 ramdisk_start=1000000</font>
<br>
<br><font size=2 face="sans-serif">Environment size: 346/131068 bytes</font>
<br><font size=2 face="sans-serif">OMAP5912 OSK # bootm 100000</font>
<br>
<br><font size=2 face="sans-serif">## Booting image at 00100000 ...</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Image Name: &nbsp; Linux-2.4.20_mvl31-omap5912_osk</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Image Type: &nbsp; ARM
Linux Kernel Image (uncompressed)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Data Size: &nbsp; &nbsp;747428
Bytes = 729.9 kB</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Load Address: 10008000</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Entry Point: &nbsp;10008000</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Verifying Checksum ...
OK</font>
<br><font size=2 face="sans-serif">OK</font>
<br>
<br><font size=2 face="sans-serif">Starting kernel ...</font>
<br>
<br><font size=2 face="sans-serif">Uncompressing Linux...................................................</font>
<br><font size=2 face="sans-serif">......</font>
<br><font size=2 face="sans-serif">.....</font>
<br><font size=2 face="sans-serif">Backtrace:</font>
<br><font size=2 face="sans-serif">Function entered at [&lt;c00c0fa8&gt;]
from [&lt;c0049fc0&gt;]</font>
<br><font size=2 face="sans-serif">&nbsp;r7 = 00000000 &nbsp;r6 = FFFFFFEA
&nbsp;r5 = C03FA120 &nbsp;r4 = C03FA140</font>
<br><font size=2 face="sans-serif">Function entered at [&lt;c0049ef0&gt;]
from [&lt;c0008ecc&gt;]</font>
<br><font size=2 face="sans-serif">Function entered at [&lt;c0008e68&gt;]
from [&lt;c0009094&gt;]</font>
<br><font size=2 face="sans-serif">&nbsp;r8 = 00000001 &nbsp;r7 = C018BD54
&nbsp;r6 = 00000000 &nbsp;r5 = C01874D4</font>
<br><font size=2 face="sans-serif">&nbsp;r4 = 00000000</font>
<br><font size=2 face="sans-serif">Function entered at [&lt;c0009020&gt;]
from [&lt;c001829c&gt;]</font>
<br><font size=2 face="sans-serif">Function entered at [&lt;c00181dc&gt;]
from [&lt;c0018040&gt;]</font>
<br><font size=2 face="sans-serif">&nbsp;r6 = C01B6728 &nbsp;r5 = C0176000
&nbsp;r4 = 00000000</font>
<br><font size=2 face="sans-serif">Function entered at [&lt;c001802c&gt;]
from [&lt;c001bcac&gt;]</font>
<br><font size=2 face="sans-serif">Code: 1a00002c e2522004 4282c004 4a00001b
(e4913004)</font>
<br><font size=2 face="sans-serif">Kernel panic: Attempted to kill init!</font>
<br>
<br><font size=2 face="sans-serif">**************************LOG END***********************************</font>
<br>
<br>
<br><font size=2 face="sans-serif">I also tried with </font>
<br><font size=2 face="Courier New">=&gt; setenv bootargs root=/dev/ram
rw</font>
<br><font size=2 face="Courier New">=&gt; bootm 100000 1000000</font>
<br><font size=2 face="sans-serif">But it also does not work,</font>
<br>
<br><font size=2 face="sans-serif">I think I made some mistake by passing
the correct kernel parameter. What might be the correct bootargs value?
The same uImage and uRamdisk works fine if the ramdisk image is mounted
by NFS with the bootargs (setenv bootargs console=ttyS0,115200n8 noinitrd
rw ip=dhcp root=/dev/nfs nfsroot=172.18.22.125:/mnt, nolock mem=30M)</font>
<br>
<br><font size=2 face="sans-serif">What am I missing?</font>
<br>
<br>
<br><font size=2 face="sans-serif">Now I tried with uImage without DHCP
support which gives the following log</font>
<br>
<br><font size=2 face="sans-serif">******LOG WITHOUT DHCP **************</font>
<br><font size=2 face="sans-serif">OMAP5912 OSK # bootm 100000 1000000</font>
<br><font size=2 face="sans-serif">......</font>
<br><font size=2 face="sans-serif">OMAP flash: using static partition definition</font>
<br><font size=2 face="sans-serif">Creating 5 MTD partitions on &quot;omap-flash&quot;:</font>
<br><font size=2 face="sans-serif">0x00000000-0x00020000 : &quot;BootLoader&quot;</font>
<br><font size=2 face="sans-serif">0x00020000-0x00040000 : &quot;Params&quot;</font>
<br><font size=2 face="sans-serif">0x00040000-0x00240000 : &quot;Kernel&quot;</font>
<br><font size=2 face="sans-serif">0x00240000-0x01000000 : &quot;Flash0
FileSys&quot;</font>
<br><font size=2 face="sans-serif">0x01000000-0x02000000 : &quot;Flash1
FileSys&quot;</font>
<br><font size=2 face="sans-serif">Linux Kernel Card Services 3.1.22</font>
<br><font size=2 face="sans-serif">&nbsp; options: &nbsp;none</font>
<br><font size=2 face="sans-serif">NET4: Linux TCP/IP 1.0 for NET4.0</font>
<br><font size=2 face="sans-serif">IP Protocols: ICMP, UDP, TCP</font>
<br><font size=2 face="sans-serif">IP: routing cache hash table of 512
buckets, 4Kbytes</font>
<br><font size=2 face="sans-serif">TCP: Hash tables configured (established
2048 bind 4096)</font>
<br><font size=2 face="sans-serif">IP-Config: Incomplete network configuration
information.</font>
<br><font size=2 face="sans-serif">NET4: Unix domain sockets 1.0/SMP for
Linux NET4.0.</font>
<br><font size=2 face="sans-serif">802.1Q VLAN Support v1.7 Ben Greear
&lt;greearb@candelatech.com&gt;</font>
<br><font size=2 face="sans-serif">All bugs added by David S. Miller &lt;davem@redhat.com&gt;</font>
<br><font size=2 face="sans-serif">NetWinder Floating Point Emulator V0.95
(c) 1998-1999 Rebel.com</font>
<br><font size=2 face="sans-serif">Root-NFS: No NFS server available, giving
up.</font>
<br><font size=2 face="sans-serif">VFS: Unable to mount root fs via NFS,
trying floppy.</font>
<br><font size=2 face="sans-serif">VFS: Cannot open root device &quot;nfs&quot;
or 02:00</font>
<br><font size=2 face="sans-serif">Please append a correct &quot;root=&quot;
boot option</font>
<br><font size=2 face="sans-serif">Kernel panic: VFS: Unable to mount root
fs on 02:00</font>
<br><font size=2 face="sans-serif">********************END***********************</font>
<br>
<br><font size=2 face="sans-serif">What is the general rule to set bootargs?
&nbsp;</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">Batsayan Das<br>
Tata Consultancy Services Limited<br>
Mailto: batsayan.das@tcs.com<br>
Website: http://www.tcs.com</font>
<table><tr><td bgcolor=#ffffff><font color=#000000>Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you<br>
</font></td></tr></table>