From: Paul M. <le...@li...> - 2007-08-07 03:22:39
|
On Mon, Aug 06, 2007 at 10:50:53PM +0200, Markus Brunner wrote: > [ ? ?0.000000] Linux version 2.6.23-rc1 (markus@linux-markus) (gcc version 3.4.6) #8 Mon Aug 6 13:17:37 CEST 2007 > [ ? ?0.000000] console [sercon0] enabled > [ ? ?0.000000] Booting machvec: ./ > > Boot seemed to be quite normal, but LEDs and ethernet obviously didn't work. > > When I added sh_mv=generic to the command line, the only noticeable difference was the line > [ ? ?0.000000] Booting machvec: generic > > When I tried to specify any other string (including the correct mv_name) to sh_mv= booting stopped after > [ ? ?0.000000] console [sercon0] enabled > > I added some debug outputs to get_mv_byname in machvec.c to see what > strings get compared, but only > [ ? ?0.000000] ./ > [ ? ?0.000000] <NULL> > Seem to be there > That's a bit unusual. Can you print out what the size of the machvec section is (ie, &__machvec_end - &__machvec_start)? Also, if you give it a sh_mv=foo, do you get the proper list? Beyond that, what boot loader are you using? Have you tried this with sh-bios support enabled and disabled in the kernel? Are the results the same for both? You might also try bumping the load address up higher in case the boot loader happens to be stepping on something. If that doesn't reveal any clues, can you build with debugging symbols and post your kernel image somewhere so I can disassemble it? |