Skip to contentSkip to conversation

I can't boot linux with CONFIG_CMDLINE_TAG

U-Boot-Users Sangwoo Jin 3 participants 3 messages Sep 26, 2003

lore
Share & tools
lore
#0 lore raw

Hellow.

I used U-Boot 4.0 and Linux 2.4.18 on Samsung S32410(ARM920T).

First, i have boot linux successfully without CONFIG_CMDLINE_TAG. But. with CONFIG_CMDLINE_TAG i can't boot linux.

With CONFIG_CMDLINE_TAG, i can see the following log, and linux may hang

"Starting kernel ..."

Please let me know the solution of this problem.

Regards
Sangwoo Jin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20030926/777f01eb/attachment.htm

#1 lore raw
Quoted 6 lines · Sangwoo Jin

First, i have boot linux successfully without CONFIG_CMDLINE_TAG. But. with CONFIG_CMDLINE_TAG i can't boot linux.

With CONFIG_CMDLINE_TAG, i can see the following log, and linux may hang

"Starting kernel ..."

First thing I'd do would be to examine the log_buf array after resetting the board. This is where all the early kernel printk's go before the serial driver spits them out on the console. To do this, grep the (virtual) address of log_buf from your kernel's System.map and use uboot's "md" command to look into log_buf. Fortunately, on you platform this virtual address corresponds to the same physical address.

Regards,
Marius

--
Marius Groeger <[email protected]>
Software Engineering

SYSGO Real-Time Solutions AG | Embedded and Real-Time Software Am Pfaffenstein 14
55270 Klein-Winternheim, Germany

Voice: +49-6136-9948-0 | FAX: +49-6136-9948-10
www.sysgo.de | www.elinos.com | www.osek.de

#2 lore raw
In reply to Sangwoo Jin

"Sangwoo Jin" <[email protected]> schreibt:

Quoted 6 lines

First, i have boot linux succe ssfully without CONFIG_CMDLINE_TAG. But. with CONFIG_CMDLINE_TAG i can't boot linux.

With CONFIG_CMDLINE_TAG, i can see the following log, and linux may hang

"Starting kernel ..."

Did you include "console=<your-serial-device-here>" in CONFIG_BOOTARGS ? Otherwise Linux won't write anything to the serial console.

HTH
Cheers
Anders