Home Forum Developers IP0x Can't boot....

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


sashglt
useravatar
User Info

Can't boot....

Dear Friends

Please help

Trying to figure this out for 2 days...so tired.

Compiled the firmware successfuly for ATCOM IP02, then ...
setenv autostart
setenv ipaddr 192.168.2.189
setenv netmask 255.255.255.0
setenv gatewayip 192.168.2.1
setenv serverip 192.168.2.101
setenv bootargs root=/dev/mtdblock0 rw
save
tftp 0x2000000 uImage

bla bla...file loaded successfully, (hex b60000)
then

nand erase clean
nand erase
nand write 0x2000000 0x0 0xb60000
(bla bla successfuly)
save
reset


Everything boots great, but after reboot, it reboots itself, download all the .gsm and .wav. files, and then it says:

vm-youhave.alaw
--2012-03-23 23:46:05--  http://downloads.digium.com/pub/telepho … ent.tar.gz
Resolving downloads.digium.com... 76.164.171.232
Connecting to downloads.digium.com|76.164.171.232|:80... connected.
HTTP request sent, awaiting response...

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: nand net part size: 0x00800000device 0 offset 0x0, size 0x800000
8388608 bytes read: OK
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux Kernel and ext2
   Image Type:   Blackfin Linux Kernel Image (gzip compressed)
   Data Size:    11862593 Bytes = 11.3 MiB
   Load Address: 00001000
   Entry Point:  00223df4
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!


If I issue the command - tftp 0x2000000 uImage, and then -
bootm 0x2000000 it boots normal, but after reboot -    Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!

So i have to manually boot it all the time. How to fix this issue?

Thank you very much for your help


Administrator has disabled public posting
Crazypaqer
useravatar
User Info

Re: Can't boot....

Your image is bigger then 0x800000 , what is default size for root partition in nand. So  your system boots , it only reads 0x800000 and crc fails. So you can eather build a smaller image < 0x800000 or repartition nand with bigger root partition and change u-boot variables accordingly.


Administrator has disabled public posting
sashglt
useravatar
User Info

Re: Can't boot....

Thank you very much, you were right, Compiled a smaller image (7.8 mb, now boots without any issues)

But I faced a new issue... Compiled Asterisk 1.6.2.20 with the latest switchfin GUI and after some modifications from GUI PBX restarts and clears some config files in /etc/asterisk

Do you know what could be the issue?

Thank you for your help


Administrator has disabled public posting

Board Info

Board Stats:   Total Users: 2587  Total Topics: 299  Total Polls: 1  Total Posts: 1727  Dormant
User Info:   Newest User :  user2553   Members Online: 0   Guests Online: 241
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