On Thursday 21 June 2012 17:11:04 Kelvin Cheung wrote: > 2012/6/21 Florian Fainelli <florian@xxxxxxxxxxx> > > > On Thursday 21 June 2012 15:34:54 Kelvin Cheung wrote: > > > 2012/6/21 Ralf Baechle <ralf@xxxxxxxxxxxxxx> > > [snip] > > > > > > > > And the final plug - take a look at FDT for a future revision of this > > > > code :) > > > > > > > > > > > Yes, I am aware that the FDT is the final target. > > > But PMON which is the bootloader of Loongson CPU does not support FDT at > > > present. > > > I will remember this. > > > > Your bootloader does not need to support FDT, as long as you can provide a > > FDT > > by other means, such as appending a FDT at the end of your kernel. > > > > But how can I verify these code without support of bootloader? Since you will be appending a DTB at the end of your kernel, you can start adding some properties to your DTS file and let the kernel parse them and make sure everything is correctly represented using device tree, then start removing your platform devices etc ... -- Florian