Hi,
I'm trying to get Fedora 12 working on the SheevaPlug and I'm having a
fair number of problems. After several hours of trial and error and
different u-boot images, I'm now pretty convinced that ext2ls doesn't
actually properly understand the ext2 file system. Creating the ext2 FS
on the SD card with non-standard parameters (e.g. different block size
and/or -E stride/stripe-width/resize parameters seems to confuse it
quite badly. It starts to list files for specified directories that are
most definitely not in the directory specified. The boot loader also
seems to have issues finding the kernel image.
I finally got it to the point where it almost boots, but then the screen
fills up with garbage and the only cure is a hard-reset. I have created
the ext2 fs on an SD card, and put the uimage under /boot on it. In the
boot loader, I did the following:
setenv mainlineLinux yes
setenv arcNumber 2097
setenv bootargs_console console=ttyS0,115200
setenv bootargs_root 'rw root=/dev/mmcblk0p1 rootdelay=10 rootfstype=ext2'
setenv bootcmd_mmc 'mmcinit; ext2load mmc 0 0x800000
/boot/uImage-2.6.30-sheevaplug'
setenv bootcmd 'setenv bootargs $(bootargs_console) $(bootargs_root);
run bootcmd_mmc; bootm 0x0800000'
saveenv
reset
(Please excuse the line wrapping above.)
When it comes to the point where it boots, I get this (trailing garbage
is what comes up):
U-Boot 1.1.4 (Dec 27 2009 - 22:03:21) Marvell version: 3.4.27
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFEE0
Soc: 88F6281 A1 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 256MB
DRAM CS[1] base 0x10000000 size 256MB
DRAM Total size 512MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: interface detected no Link.
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 0
SDHC found. Card desciption is:
Manufacturer: 0x02, OEM "TM"
Product name: "SA32G", revision 0.6
Serial number: 554444312
Manufacturing date: 10/2010
CRC: 0x00, b0 = 0
2096012 bytes read
## Booting image at 00800000 ...
Image Name: Linux-2.6.30-00000-v2.6.30
Created: 2009-06-26 5:29:13 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2095948 Bytes = 2 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
F
Starting kernel ...
6
�
Uncompressing
Linux.........................................D�q)i-�:4URz2,#U&(J-(5��i�]P........H.Rj0Z(�J�i��da).�Jew��].�
d��q�Je5gAZ�x�B0��eV�N ��KAz:I:�JQ�jEPke;�eA�zZ( ^ �
�
�
-
-
-
+
�Ip(UKY�7b��W]u(U+A2-��jx(�A,��T�Y3.�vAx��A2�;-J]s(Q�]3fdF_V�Ip-We�wa�{Q{�
bTB:�gS7+�JV(�] &BZ,R�H,
I0��]V�Ip-We��S3,'�]
T
�
�
(
�
�
�
f
�f4[-i@)��F4[��
�d1�]z-�wI9��t*�Q2.
F^��WY7;�i8�WeP�ej(5qXҕD9V�I:�$�z��Um<ku�z9I8��7A;��Iw��wE7(�JX$��V:
-
u�jUe8��GA8
/
6
6
v
�
�
�
j
How can I debug this further?
Gordan