[fedora-arm] SheevaPlug / Fedora 12

Gordan Bobic gordan at bobich.net
Sat Dec 18 19:36:28 UTC 2010


Sorry, just remembered that this might be useful to add:

Marvell>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
console=a0000
e=ttyS0,115200 
mtdparts=nand_mtd:0xc0000 at 0(uboot)ro,0x1ff00000 at 0x100000(root)
CASset=min
MALLOC_len=1
ethprime=egiga0
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) 
root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end);
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
netmask=255.255.255.0
ethaddr=F0:AD:4E:00:06:54
run_diag=no
serverip=10.2.252.2
ipaddr=10.2.100.200
gatewayip=10.2.255.254
filesize=73b20
fileaddr=2000000
bootargs=console=ttyS0,115200 
mtdparts=nand_mtd:0x400000 at 0x100000(uImage),0x1fb00000 at 0x500000(rootfs) 
rw root=/dev/mtdblock1 rw ip=e
bootargs_end=:::DB88FXX81:eth0:none
naMonExt=no
arcNumber=2097
bootargs_console=console=ttyS0,115200
bootargs_root=rw root=/dev/mmcblk0p1 rootdelay=10 rootfstype=ext2
bootcmd_mmc=mmcinit; ext2load mmc 0 0x800000 /boot/uImage-2.6.30-sheevaplug
bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); run 
bootcmd_mmc; bootm 0x0800000
stdin=serial
stdout=serial
stderr=serial
nandEnvBase=enaCpuStream=no
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no

Environment size: 1636/131068 bytes



My first assumption given the doubt over the sheeva's understanding of 
the ext2 fs is that it's not getting the right file contents for the 
kernel, but since it has found the kernel, verified the checksum and 
decompressed it, that clearly isn't the case. So what else could be the 
problem here?

TIA

Gordan

On 12/18/2010 07:29 PM, Gordan Bobic wrote:
> 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�7
b��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
> _______________________________________________
> arm mailing list
> arm at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/arm



More information about the arm mailing list