Home Forum Developers IP0x Boot error on IP04 (Resolved)

JRPassphrase Registration Control

In order to register on this site, you must first submit the passphrase below.

TODO list for each hardware target can be found as sticky topic in the corresponding forum


spiga
useravatar
User Info

Boot error on IP04 (Resolved)

Hi all,

This is the error
--------------------------------
U-Boot 2010.06 (ADI-2010R1-pre) (Jan 08 2011 - 14:09:20)

CPU:   ADSP bf532-0.5 (Detected Rev: 0.6) (spi flash boot)
Board: IPPBX IP0x
Clock: VCO: 400 MHz, Core: 400 MHz, System: 133.333 MHz
RAM:   64 MiB
NAND:  256 MiB
SF: Detected W25X40 with page size 256, total 512 KiB
In:    serial
Out:   serial
Err:   serial
Net:   dm9000
starting from spi flash
Hit any key to stop autoboot:  0

NAND read: mtdparts variable not set, see 'help mtdparts'
incorrect device type in kernel
'kernel' is not a number
Wrong Image Format for bootm command
ERROR: can't get kernel image!

------------------------------------
This is print log

ip0x> print
bootcmd=run nandboot
bootdelay=3
baudrate=115200
loads_echo=1
autoload=no
preboot=echo starting from spi flash
rootpath=/romfs
netmask=255.255.255.0
hostname=IP0x
nandboot=run setbootargs; nand read.e 0x2000000 kernel; bootm 0x2000000
ethaddr=aa:80:8f:c1:c1:d9
ethact=dm9000
mtdids=nand0=ip0x-nand
ipaddr=192.168.0.101
serverip=192.168.0.23
gatewayip=192.168.0.1
setbootargs=setenv bootargs eth0addr=00:09:45:5b:a2:b7 eth1addr=00:09:45:5b:a2:09 console=ttyBF0,115200
flashboot=nand read 0x2000000 0x0 0x700000
loadaddr=0x2000000
autostart=yes
stdin=serial
stdout=serial
stderr=serial
bootargs=eth0addr=00:09:45:5b:a2:b7 eth1addr=00:09:45:5b:a2:09 console=ttyBF0,115200

Environment size: 669/65532 bytes
ip0x>
------------------------------

Any idea about this?

Thanks



Edited By:  spiga
Aug-14-13 12:11:33

Administrator has disabled public posting
spiga
useravatar
User Info

Re: Boot error on IP04 (Resolved)

Resolved

add root=/dev/mtdblock0 rw in bootargs
and
set nandboot 'nboot 0x2000000 0x0'

New correct log
ip0x> print
bootcmd=run nandboot
bootdelay=3
baudrate=115200
loads_echo=1
autoload=no
preboot=echo starting from spi flash
rootpath=/romfs
netmask=255.255.255.0
hostname=IP0x
ethaddr=aa:80:8f:c1:c1:d9
ethact=dm9000
mtdids=nand0=ip0x-nand
ipaddr=192.168.0.101
serverip=192.168.0.23
gatewayip=192.168.0.1
flashboot=nand read 0x2000000 0x0 0x700000
loadaddr=0x2000000
autostart=yes
setbootargs=setenv bootargs eth0addr=00:09:45:5b:a2:b7 eth1addr=00:09:45:5b:a2:09 console=ttyBF0,115200 root=/dev/mtdblock0 rw
bootargs=eth0addr=00:09:45:5b:a2:b7 eth1addr=00:09:45:5b:a2:09 console=ttyBF0,115200 root=/dev/mtdblock0 rw
nandboot=nboot 0x2000000 0x0
stdin=serial
stdout=serial
stderr=serial

Environment size: 672/65532 bytes


Administrator has disabled public posting

Board Info

Board Stats:   Total Users: 2585  Total Topics: 299  Total Polls: 1  Total Posts: 1727  Dormant
User Info:   Newest User :  dursber   Members Online: 0   Guests Online: 123
Online  There are no members online
Topic
New
Locked
Topic
New
Locked
Sticky
Active
New/Active
Sticky
Active
New/Active
New/Closed
New Sticky
Closed/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky Active Locked
Active/Sticky
Sticky/Locked
Sticky/Active/Locked