Skip to contentSkip to conversation

porting linux 2.6.27 to embedded powerpc board

DISCUSSION Laxmikant Rashinkar 1 participant 1 message Aug 21, 2008

lore
Share & tools
lore
#0 lore raw

Just wanted to thank all of you for the detailed feedback and suggestions. I am going to try them out now and keep my fingers crossed.

thanks again
LK

----- Original Message ----
From: Scott Wood <[email protected]>
To: David Jander <[email protected]>
Cc: [email protected]; Laxmikant Rashinkar <[email protected]>
Sent: Thursday, August 21, 2008 9:12:23 AM
Subject: Re: porting linux 2.6.27 to embedded powerpc board

Quoted 3 lines · David Jander

4. Be sure that the device(s) necessary to produce output on your console are correctly placed in the DT. Also make sure that u-boot knows about it (#define OF_STDOUT_PATH... in your u-boot board config file)

OF_STDOUT_PATH is deprecated; you should enable CONFIG_OF_SERIAL_VIA_ALIAS, and provide aliases in the device tree for serial0, serial1, etc.

Quoted 3 lines

6. Remember to always specify the "rootfstype=" option on the commandline if booting from anything other than NFS. This was not necessary back in the 2.6.15-times AFAICR.

It still should not be necessary.

Quoted 3 lines

7. Boot with a device-tree (in u-boot: "bootm $addrofkernel - $addrofdtb", don't forget the dash if you are not using an initrd). If you don't do this, u-boot can't fix your DT, and the kernel probably won't find it either.

s/probably/definitely/

Quoted 3 lines

8. Be sure to use the correct version of the DTC (DT compiler) for your kernel (the sources are included nowadays, somewhere in arch/powerpc/boot IIRC). The command used to compile, should probably be something like this:

Or just use the most recent DTC.

-Scott