Hi guys
I'm running a Linux embeded system (sysmoBTS) and since two weeks, the device
cannot start up.
here the information about the Loader:
---
sysmobts_v2 Loader v1.1.0 (Aug 15 2012-21:21:49)
Board revision: C.3
Initializing NAND flash:
Bypassing ECC checks
ID:0xA1, 8-bit bus
Blocks: 0x00400, Pages/block: 0x040, Bytes per page: 0x0800
BootMode = NAND
I_ME
UART_TIMEOUT
Image infos: Magic = 0xA1ACED77, Entry = 0x8400, Pages = 0x00B9, Load =
0x8400
Starting app at: 0x8400
U-Boot 2011.12-g5ee9b97 (Aug 15 2012 - 21:35:37)
Cores: ARM 405 MHz, DSP 810 MHz
DDR: 189 MHz
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
nand_read_bbt: Bad block at 0x0088
*** Warning - bad CRC, using default environment
A look at the boot process shows that, this process breaks and the kernel is
event not loaded.
I flashed the device and included the log information. Then i realized the boot
process step by step to see where it exactly stops.
here i flashed the device and the following log shows the result.
-
sysmoBTSv2 > setenv autoload no; dhcp; set serverip 192.xxx.xxx.xx
BOOTP broadcast 1
DHCP client bound to address 192.xxx.xxx.xx
sysmoBTSv2 > setenv filesize 0; tftp 8500
sysmocom-nitb-image-sysmobts-v2.ubi
Using DaVinci-EMAC device
TFTP from server 192.xxx.xxx.xx; our IP address is 192.xxx.xxx.xx
Filename 'sysmocom-nitb-image-sysmobts-v2.ubi'.
Load address: 0x8500
Loading: #
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
done
Bytes transferred = 31064064 (1da hex)
sysmoBTSv2 > mtdpart default;nand erase.part RootFs
NAND erase.part: device 0 offset 0x10, size 0x7f0
Skipping bad block at 0x0088
Skipping bad block at 0x07f8
Skipping bad block at 0x07fa
Skipping bad block at 0x07fc
Skipping bad block at 0x07fe
OK
sysmoBTSv2 > nand write 8500 RootFs ${filesize}
NAND write: device 0 offset 0x10, size 0x1da
Skip bad block 0x0088
31064064 bytes written: OK
sysmoBTSv2 >
After a successful flash, i started the boot process by giving commands
separatelly.
---
sysmoBTSv2 > mtdpart default;
sysmoBTSv2 > setenv bootargs ${bootargs} ${mtdparts};
sysmoBTSv2 > ubi part RootFs;
Creating 1 MTD partitions on "nand0":
0x0010-0x0800 : "mtd=3"
UBI: attaching mt