public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] ML403 Uboot Linux Boot Error
@ 2006-09-29 15:44 alayrac christophe
  0 siblings, 0 replies; 3+ messages in thread
From: alayrac christophe @ 2006-09-29 15:44 UTC (permalink / raw)
  To: u-boot

I've continued my investigations and found out that the bootm function
unzip properly the kernel image (CRC ok) and then get into the 
do_bootm_Linux function.

Debuging that function bring following results :
	initrd_high is detected NULL, 
	current stack ends at 0x03EA9550
	=> set upper limit to 0x00800000
	No initrd image detected
	Transfering control to Linux (at address 00000000) ...
	OF_FLAT_TREE is ndef

Thus it means that I reach the last command of the do_bootm_Linux
	(*kernel) (kbd, initrd_start, initrd_end, cmd_start, cmd_end);

but the Kernel dif not start...

If it could help my memory map is:
	UART16550	0x9000 0000	0x9000 01FF
	I2C		0xA800 0000	0xA800 01FF
	SysAce		0xCF00 0000	0xCF00 01FF
	intC		0xD100 0FC0	0xD100 0FDF
	SRAM (1M)	0x2000 0000	0x200F FFFF
	Flash(8M)	0x2800 0000	0x287F FFFF	Not used
	RAM DDR2 (256M)	0x0000 0000	0x0FFF FFFF
	RAM OCM (BRAM)	0xFFFF 0000	0xFFFF FFFF

a fatload of the kernel image at address 0x400000 (DDR2 RAM) or
0x20000000 (SRAM) bring same error.

Any help would be greatly appreciated.

Regards

Chrsi

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

* [U-Boot-Users] ML403 Uboot Linux Boot Error
  2006-10-06 15:49 alayrac christophe
@ 2006-10-06 15:10 ` Wolfgang Denk
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2006-10-06 15:10 UTC (permalink / raw)
  To: u-boot

In message <1160149785.7250.14.camel@localhost.localdomain> you wrote:
> 
> Is this U-boot behaviour normal?

This is not "U-Boot behaviour", it is a problem with your Linux
kernel.

> What is the starting point to have I2C EEPROM available on that ML403
> board under U-boot to save environnement and us autostart?

Enable I2C support in the board config file?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
To understand a program you must become  both  the  machine  and  the
program.

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

* [U-Boot-Users] ML403 Uboot Linux Boot Error
@ 2006-10-06 15:49 alayrac christophe
  2006-10-06 15:10 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: alayrac christophe @ 2006-10-06 15:49 UTC (permalink / raw)
  To: u-boot

I'm coming back to the comunitee with good news , especially for me !-)

I succeed to start linux (2-4.26) from u-boot 1.1.4 on ML403.

When U-boot start I press enter to stop autostart.

Then I type the following commands :

	=> setenv bootargs
	=> fatload ace 0 400000 linux/vmlinux.uboot
	=> bootm 400000

In fact the first command is the reason of hang up after 
	#Uncompressing Kernel Image .... Ok
My goal was to preserve command line set up in the Kernel configuration
(using NFS)

If I type only the last two commands, the Kernel start properly on the
root file system of the Compact Flash (due to u-boot default bootargs).

I did not succeed to run under emulator to try to figure out what's
going wrong.
I do not succeed to activate break points with the command (under gdb)
	monitor bps do_bootm hw

Is this U-boot behaviour normal?

A second question is :
What is the starting point to have I2C EEPROM available on that ML403
board under U-boot to save environnement and us autostart?

Kinds regards

Chris

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

end of thread, other threads:[~2006-10-06 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-29 15:44 [U-Boot-Users] ML403 Uboot Linux Boot Error alayrac christophe
  -- strict thread matches above, loose matches on Subject: below --
2006-10-06 15:49 alayrac christophe
2006-10-06 15:10 ` Wolfgang Denk

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