Skip to contentSkip to conversation

porting linux 2.6 to ml410, no output after "Now booting the kernel", and some other questions

DISCUSSION diak sim 1 participant 1 message Jan 5, 2008

lore
Share & tools
lore

diak sim

author
#0 lore raw

my kernel is linux-2.6-vertex 2.6.23-rc2.
i make sure that the kernel is running, but nothing output to the serial terminal after "Now booting the kernel". before load_kernel() return, i can use puts() to do some display.

i've selected 16550 serial port and add console=ttyS0 to the cmdline.
another question,
after load_kernel() function, where is the next step? is it head.S?
if i am in main.c using start_kernel() function, how can i output something to the serial? referencing many info, so mass, i don't know how to debug this. the XMD provide a gdbserver to connect, but when i use gdb to "target remote" it, it says packet too long.....
thanks.

      ___________________________________________________________ 

雅虎邮箱传递新年祝福,个性贺卡送亲朋!
http://cn.mail.yahoo.com/gc/index.html?entry=5&souce=mail_mailletter_tagline