by replabrobin » Sun May 12, 2013 12:00 pm
Moonman, my u-boot expertise is limited, but here's what I did.
1) copy the uInitrd and 3.9.1 uImage to my working mmc /boot/uInitrd & /boot/uIm391. The mmc rootfs still has the 3.9.1 modules etc etc installed.
2) reboot to the Marvel prompt and see this after booting the 3.9.1 + uInitrd
$this->bbcode_second_pass_quote('', 'U')-Boot 2011.12 (Mar 11 2012 - 18:59:46)
Marvell-Sheevaplug - eSATA - SD/MMC
SoC: Kirkwood 88F6281_A1
DRAM: 512 MiB
WARNING: Caches not enabled
NAND: 512 MiB
In: serial
Out: serial
Err: serial
Net: egiga0 [PRIME]
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
Marvell>> mmc init
SDHC found. Card desciption is:
Manufacturer: 0x02, OEM "TM"
Product name: "SD08G", revision 3.8
Serial number: 3225807631
Manufacturing date: 10/2008
CRC: 0x00, b0 = 0
mmc1 is available
Marvell>> ext2ls mmc 0:1
<DIR> 1024 .
<DIR> 1024 ..
<DIR> 12288 lost+found
3251040 uImage
2510970 uInitrd
3293000 uIm391
Marvell>> setenv bootargs_console console=ttyS0,115200
Marvell>> setenv bootcmd_mmc 'mmc init; ext2load mmc 0:1 0x00800000 /uIm391; ext2load mmc 0:1 0x01100000 /uInitrd'
Marvell>> setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x00800000 0x01100000'
Marvell>> boot
SDHC found. Card desciption is:
Manufacturer: 0x02, OEM "TM"
Product name: "SD08G", revision 3.8
Serial number: 3225807631
Manufacturing date: 10/2008
CRC: 0x00, b0 = 0
mmc1 is available
Loading file "/uIm391" from mmc device 0:1 (xxa1)
3293000 bytes read
Loading file "/uInitrd" from mmc device 0:1 (xxa1)
2510970 bytes read
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.9.1-1-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3292936 Bytes = 3.1 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 2510906 Bytes = 2.4 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
:: running early hook [udev]
:: running hook [udev]
:: Triggering uevents...
ERROR: device '' not found. Skipping fsck.
ERROR: Unable to find root device ''.
You are being dropped to a recovery shell
Type 'exit' to try and continue booting
sh: can't access tty; job control turned off
[rootfs /]# ls /dev/mm*
ls: /dev/mm*: No such file or directory
[rootfs /]# ls /dev
block ptyp9 tty19 tty56
bus ptypa tty2 tty57
char ptypb tty20 tty58
console ptypc tty21 tty59
core ptypd tty22 tty6
cpu_dma_latency ptype tty23 tty60
fd ptypf tty24 tty61
full ram0 tty25 tty62
input ram1 tty26 tty63
kmsg ram10 tty27 tty7
loop-control ram11 tty28 tty8
loop0 ram12 tty29 tty9
loop1 ram13 tty3 ttyS0
loop2 ram14 tty30 ttyS1
loop3 ram15 tty31 ttyp0
loop4 ram2 tty32 ttyp1
loop5 ram3 tty33 ttyp2
loop6 ram4 tty34 ttyp3
loop7 ram5 tty35 ttyp4
mem ram6 tty36 ttyp5
mtd0 ram7 tty37 ttyp6
mtd0ro ram8 tty38 ttyp7
mtd1 ram9 tty39 ttyp8
mtd1ro random tty4 ttyp9
mtd2 rtc tty40 ttypa
mtd2ro rtc0 tty41 ttypb
network_latency stderr tty42 ttypc
network_throughput stdin tty43 ttypd
null stdout tty44 ttype
port tty tty45 ttypf
psaux tty0 tty46 ubi_ctrl
ptmx tty1 tty47 urandom
ptyp0 tty10 tty48 vcs
ptyp1 tty11 tty49 vcs1
ptyp2 tty12 tty5 vcsa
ptyp3 tty13 tty50 vcsa1
ptyp4 tty14 tty51 vga_arbiter
ptyp5 tty15 tty52 watchdog
ptyp6 tty16 tty53 watchdog0
ptyp7 tty17 tty54 zero
ptyp8 tty18 tty55
[rootfs /]#
I'm not seeing the mmcblk0 devices; for comparison when I boot the 3.8.12 kernel I see this in /dev
$this->bbcode_second_pass_quote('', '[')rootfs /]# ls /dev
block ptyp5 tty16 tty54
bus ptyp6 tty17 tty55
char ptyp7 tty18 tty56
console ptyp8 tty19 tty57
core ptyp9 tty2 tty58
cpu_dma_latency ptypa tty20 tty59
disk ptypb tty21 tty6
fd ptypc tty22 tty60
full ptypd tty23 tty61
input ptype tty24 tty62
kmsg ptypf tty25 tty63
loop-control ram0 tty26 tty7
loop0 ram1 tty27 tty8
loop1 ram10 tty28 tty9
loop2 ram11 tty29 ttyS0
loop3 ram12 tty3 ttyS1
loop4 ram13 tty30 ttyp0
loop5 ram14 tty31 ttyp1
loop6 ram15 tty32 ttyp2
loop7 ram2 tty33 ttyp3
mem ram3 tty34 ttyp4
mmcblk0 ram4 tty35 ttyp5
mmcblk0p1 ram5 tty36 ttyp6
mmcblk0p2 ram6 tty37 ttyp7
mmcblk0p3 ram7 tty38 ttyp8
mtd0 ram8 tty39 ttyp9
mtd0ro ram9 tty4 ttypa
mtd1 random tty40 ttypb
mtd1ro rtc tty41 ttypc
mtd2 rtc0 tty42 ttypd
mtd2ro stderr tty43 ttype
network_latency stdin tty44 ttypf
network_throughput stdout tty45 ubi_ctrl
null tty tty46 urandom
port tty0 tty47 vcs
psaux tty1 tty48 vcs1
ptmx tty10 tty49 vcsa
ptyp0 tty11 tty5 vcsa1
ptyp1 tty12 tty50 vga_arbiter
ptyp2 tty13 tty51 watchdog
ptyp3 tty14 tty52 watchdog0
ptyp4 tty15 tty53 zero