public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] u-boot boot process is broken, how do i recover?
@ 2013-04-03  8:13 JPT
  2013-04-03  9:00 ` Albert ARIBAUD
  2013-04-04  8:18 ` Thomas Petazzoni
  0 siblings, 2 replies; 11+ messages in thread
From: JPT @ 2013-04-03  8:13 UTC (permalink / raw)
  To: u-boot

Hi,

I've got a readynas and successfully installed a recent kernel into ROM 
and Debian onto hard-drive.
But when I tried to modify the uboot-env from uboot-console I had 
trouble with the ; in the vars. And did not know how to escape.
So I tried to access uboot-env from linux.

I applied something like this (well, not that straight forward)

/etc/fw_env.config
# device    offset   size      Flash sector size   Number of sectors
/dev/mtd1   0x0      0x20000   0x20000             1

Maybe there is something wrong in my config?

apt-get install uboot-envtools
fw_printenv bootcmd
fw_setenv bootcmd.bak 'nand read.e 0x1200000 0x200000 0x600000;nand 
read.e 0x2000000 0x800000 0x1000000;bootm 0x1200000 0x2000000'

fw_setenv bootcmd 'nand read.e 0x1200000 0x200000 0x600000;bootm 0x1200000'

fw_printenv bootcmd.bak bootcmd
fw_printenv bootargs
fw_setenv bootargs.bak 'console=ttyS0,115200 reason=normal 
mtdparts=nand_mtd:0x180000 at 0(u-boot),0x20000 at 0x180000(u-boot-env),0x600000 at 0x200000(uImage),0x1000000 at 0x800000(minirootfs),0x6800000 at 0x1800000(jffs2)'

fw_setenv bootargs 'console=ttyS0,115200 root=/dev/sda3 
mtdparts=nand_mtd:0x180000 at 0(u-boot),0x20000 at 0x180000(u-boot-env),0x600000 at 0x200000(uImage),0x1000000 at 0x800000(minirootfs),0x6800000 at 0x1800000(jffs2)'

fw_printenv bootargs.bak bootargs


btw, kernel said:
Creating 5 MTD partitions on "nand_mtd":
0x000000000000-0x000000180000 : "u-boot"
0x000000180000-0x0000001a0000 : "u-boot-env"
0x000000200000-0x000000800000 : "uImage"
0x000000800000-0x000001800000 : "minirootfs"
0x000001800000-0x000008000000 : "jffs2"

Now the boot process is broken. I don't understand why.
It stops right after the network (see below). Usually the boot countdown 
should appear afterwards.
Is there anything I can do except unsoldering the ROM?

If I have to remove the chip and burn it using an external writer...
Is there any way to buy similar chip which can be mounted on a socket?

It's a H27U1G8F2BTR-BC (newer version of HY27UF081G2B-TCB)
which is NAND flash, 2,7-3,6V, 1Gbitx8 (128 MiB), SLC Single Die + Large 
Block, TSOP 48 pin. There is also a FBGA 63 PIN available. are there any 
sockets for FBGA I can solder to TSOP?
Or do other manufacturers offer compatible chips which can be applied to 
a socket?

thanks for any help!

Jan

          __  __                      _ _
         |  \/  | __ _ _ ____   _____| | |
         | |\/| |/ _` | '__\ \ / / _ \ | |
         | |  | | (_| | |   \ V /  __/ | |
         |_|  |_|\__,_|_|    \_/ \___|_|_|
  _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
  \___/    |____/ \___/ \___/ \__|
  ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Feb  6 2012 - 14:40:46) Marvell version: 3.4.27
Netgear version: Uboot-1_1_4-NetgearDUOV3-V1008

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

Soc: MV88F1155 Rev 1 (DDR3)
CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz

DRAM unknown CAL  tRP = 8 tRAS = 20 tRCD=8
DRAM CS[0] base 0x00000000   size 256MB
DRAM Total size 256MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB
Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Switch On !

Net:   egiga0 [PRIME]

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [U-Boot] u-boot boot process is broken, how do i recover?
@ 2013-10-18 16:12 Philippe Noisette
  0 siblings, 0 replies; 11+ messages in thread
From: Philippe Noisette @ 2013-10-18 16:12 UTC (permalink / raw)
  To: u-boot

Hi Jan,

I am stack as you:  u-boot broken with my IP Cam :-(((

Have you managed to reload your U-boot? Did you have to remove the chip 
for external reprogramming? Where did you get the HEXA file? ...

ALL YOUR ADVISE WOULD BE MOST WELCOME.

Thanks in adavance.

Best regards from Geneva.

Philippe

http://lists.denx.de/pipermail/u-boot/2013-April/150793.html

http://www.openipcam.com/forum/index.php/topic,654.0.html




Philippe Noisette
Senior R&D Projects Manager
ABB S?cheron S.A.
R&D
rue des Sabli?res 4-6
1217, Gen?ve, Gen?ve, SWITZERLAND
Phone: +41 58 586 26 18
Telefax: +41 58 586 26 82
Mobile: +41 79 822 09 13
email: philippe.noisette at ch.abb.com
Web: www.abb.com/railway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 441 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131018/eaf796e3/attachment.gif>

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

end of thread, other threads:[~2013-10-18 16:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-03  8:13 [U-Boot] u-boot boot process is broken, how do i recover? JPT
2013-04-03  9:00 ` Albert ARIBAUD
2013-04-03 11:30   ` JPT
2013-04-03 11:55     ` Albert ARIBAUD
2013-04-04  8:18 ` Thomas Petazzoni
2013-04-04  9:17   ` Albert ARIBAUD
2013-04-04 10:21     ` JPT
2013-04-04 12:47       ` Albert ARIBAUD
2013-04-07  8:08         ` Thomas Petazzoni
2013-04-07 17:40           ` Albert ARIBAUD
  -- strict thread matches above, loose matches on Subject: below --
2013-10-18 16:12 Philippe Noisette

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