• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: after new kernel system hungs after "done, booting the kernel."  (Read 7454 times)
jakblak
Newbie
*

Karma: 0
Posts: 16


View Profile
« on: September 02, 2009, 10:20:16 AM »

Hi, I created a new kernel and uploaded with bubt uImage, bootm. now the sheeva wont boot and hungs after
Code:
Marvell>> bootm
## Booting image at 02000000 ...
   Image Name:   Linux-2.6.30.5
   Created:      2009-09-02  17:21:10 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2120208 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................
............................................................................. do
ne, booting the kernel.

here is my printenv. what did I wrong and how to boot without recovering with sheeva installer?
Code:

Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x1
00000(root)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/m
tdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x20
00000;
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
mtdpartitions=mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(
rootfs)
ethaddr=00:62:81:a0:00:00
real_bootcmd=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_roo
t); nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000
bootargs_console=console=ttyS0,115200
recover1=setenv mainlineLinux yes; setenv arcNumber 2097; setenv bootcmd run rec
over2; saveenv; reset
recover2=run recover3; setenv bootcmd $(real_bootcmd); saveenv; setenv bootargs
$(bootargs_console) $(mtdpartitions); bootm 0x00800000 0x01100000
recover3=run recover4; nand erase clean 0x00100000 0x00400000; nand write.e 0x00
800000 0x00100000 0x00400000
recover4=usb start; fatload usb 0 0x00800000 uImage; fatload usb 0 0x01100000 in
itrd
arcNumber=2097
filesize=1CAE6D
bootcmd=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); n
and read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000
bootargs_root=console=ttyS0,115200 root=/dev/mmcblk0p1 rw,noatime ip=10.4.50.4:1
0.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
bootargs_root_old=ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs
stdin=serial
stdout=serial
stderr=serial
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

Environment size: 2113/131068 bytes
Marvell>>


after that I tried to do all the stuff with flash_erase and nandwrite, but same result.

and one question more, how can I, after uploading the uImage, write uImage into nand as I do it over nandwrite in the system?
« Last Edit: September 02, 2009, 10:24:45 AM by jakblak » Logged

jakblak
Newbie
*

Karma: 0
Posts: 16


View Profile
« Reply #1 on: September 02, 2009, 11:28:58 AM »

it seems so, that there is something wrong with my bootargs.

because:
I recovered the device. flashed the working kernel rebooted and put my bootargs_root inside and it boots fine. then I loaded the working kernel via bubt uImage (over tftp) and then bootm, it still hungs after "done,.... " anyone have any idea how to fix that? sorry, I have no clue what I am doing (wrong) Smiley
Logged

jakblak
Newbie
*

Karma: 0
Posts: 16


View Profile
« Reply #2 on: September 02, 2009, 11:49:41 AM »

I got one step forward:
I've put
Code:
set bootargs console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) root=/dev/mmcblk0p1 rw,noatime ip=192.168.0.77:192.168.0.11:192.168.0.11:255.255.255.0:DB88FXX81:eth0:none

and saved it, now it boots the kernel, but hungs now here:
Code:
Root-NFS: Server returned error -13 while mounting /tftpboot/DB88FXX81
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "mmcblk0p1" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00            4096 mtdblock0 (driver?)
1f01          519168 mtdblock1 (driver?)

I guess I do not have any mmc driver or so?

mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
Registered led device: plug:green:health
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mmc0: error -110 whilst initialising SD card
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
Logged

birdman
Sr. Member
****

Karma: 4
Posts: 440


View Profile WWW
« Reply #3 on: September 02, 2009, 04:49:19 PM »

Code:
Root-NFS: Server returned error -13 while mounting /tftpboot/DB88FXX81
Are you expecting to use tftp+NFS?

Quote
I guess I do not have any mmc driver or so?
There should be an mmcinit in your bootargs (directly on indirectly) for that.
Logged

nephilim1973
Newbie
*

Karma: 0
Posts: 17


View Profile
« Reply #4 on: September 21, 2009, 05:14:09 PM »

Hy folks...

This is still my problem with new compiled kernel 2.6.31
Code:

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: SHEEVA PLUG LE

U-Boot 1.1.4 (Jul 19 2009 - 16:03:28) Marvell version: 3.4.19

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CFB00

Soc: 88F6281 A0 (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], egiga1
Hit any key to stop autoboot:  0
SDHC found. Card desciption is:
Manufacturer:       0x02, OEM "TM"
Product name:       "SD04G", revision 3.8
Serial number:      3056159759
Manufacturing date: 12/2008
CRC:                0x00, b0 = 0

3488752 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.31-rc9
   Created:      2009-09-21  23:54:27 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3488688 Bytes =  3.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Any ideas Huh

My "printenv":
Code:
Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
console=a0000
e=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
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
bootargs_root=root=/dev/mmcblk0p2 rootdelay=10
ethaddr=00:50:43:01:d6:e6
real_bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); mmcinit; ext2load mmc 0:1 0x800000 /uImage; bootm 0x00800000
bootargs_console=console=ttyS0,115200
recover1=setenv mainlineLinux yes; setenv arcNumber 2097; setenv bootcmd run recover2; saveenv; reset
recover2=run recover3; setenv bootcmd $(real_bootcmd); saveenv; setenv bootargs $(bootargs_console) root=/dev/ram0 rw ramdisk=0x01100000,8M install_type=mmc; bootm 0x00800000 0x01100000
recover3=usb start; fatload usb 0 0x00800000 uImage; fatload usb 0 0x01100000 initrd
arcNumber=2097
filesize=32D62A
bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); mmcinit; ext2load mmc 0:1 0x800000 /uImage; bootm 0x00800000
stdin=serial
stdout=serial
stderr=serial
nandEnvBase=a0000
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: 1800/131068 bytes

Best regards

Nephilim
« Last Edit: September 21, 2009, 05:22:33 PM by nephilim1973 » Logged

DamonHD
Full Member
***

Karma: 4
Posts: 169


View Profile WWW
« Reply #5 on: September 21, 2009, 11:27:05 PM »

Hi

I had something similar: http://www.earth.org.uk/note-on-SheevaPlug-setup.html#stuck

In my case I'd made a type in my bootargs (I had an extra "bootargs=") embedded in it due to cut-n-paste operator failure.

Rgds

Damon
Logged

Pages: [1]
Print
Jump to: