public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] the boot process breaks.
@ 2013-01-14 14:39 Yann R. Moupinda
  0 siblings, 0 replies; 2+ messages in thread
From: Yann R. Moupinda @ 2013-01-14 14:39 UTC (permalink / raw)
  To: u-boot



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 = 0x84000000, Pages = 0x000000B9, Load = 0x84000000
Starting app at: 0x84000000


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 0x000000880000
*** 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 85000000 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: 0x85000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #####################################
done
Bytes transferred = 31064064 (1da0000 hex)
sysmoBTSv2 > mtdpart default;nand erase.part RootFs

NAND erase.part: device 0 offset 0x100000, size 0x7f00000
Skipping bad block at  0x00880000
Skipping bad block at  0x07f80000
Skipping bad block at  0x07fa0000
Skipping bad block at  0x07fc0000
Skipping bad block at  0x07fe0000

OK
sysmoBTSv2 > nand write 85000000 RootFs ${filesize}

NAND write: device 0 offset 0x100000, size 0x1da0000
Skip bad block 0x00880000
 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":
0x000000100000-0x000008000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: volume 0 ("sysmobts-v2-rootfs") re-sized from 235 to 997 LEBs
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            127 MiB
UBI: number of good PEBs:        1011
UBI: number of bad PEBs:         5
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 1011
UBI: number of PEBs reserved for bad PEB handling: 10
UBI: max/mean erase counter: 1/0
sysmoBTSv2 > ubifsmount sysmobts-v2-rootfs;
----------------------------------------------------------

the
 boot process stops after the "ubifsmount sysmobts-v2-rootfs" command.

Any idea why it stops at this place?

Yann
 		 	   		  

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] the boot process breaks.
@ 2017-10-09 11:19 nabil efrin
  0 siblings, 0 replies; 2+ messages in thread
From: nabil efrin @ 2017-10-09 11:19 UTC (permalink / raw)
  To: u-boot



Hello 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-09 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-09 11:19 [U-Boot] the boot process breaks nabil efrin
  -- strict thread matches above, loose matches on Subject: below --
2013-01-14 14:39 Yann R. Moupinda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox