On Tue, 09 Sep 2008 16:25:39 +0200 Oliver Rutsch <[EMAIL PROTECTED]> wrote:
> U-Boot (1.3.4): > Appended the file include/configs/TQM834x.h to support fdt: > > #define CONFIG_OF_LIBFDT 1 > #define CONFIG_OF_BOARD_SETUP 1 > #define CONFIG_OF_STDOUT_VIA_ALIAS 1 > > Appended the file board/tqc/tqm834x/tqm834x.c: > #if defined(CONFIG_OF_BOARD_SETUP) > void ft_board_setup(void *blob, bd_t *bd) > { > ft_cpu_setup(blob, bd); > #ifdef CONFIG_PCI > ft_pci_setup(blob, bd); > #endif > } > > U-Boot compiled fine and it looks good after flashing. In U-Boot > everything seems to work. > > Kernel (Linux-2.6.27-rc5): > I took arch/powerpc/boot/dts/mpc8349emitx.dts as a template > for a tqm8349.dts and stripped the IDE interface from it. > So for me the dts does not look board specific anymore and > the network/console should work. u-boot assigns the IMMR to 0xff400000 in TQM834x.h, whereas the device tree you picked has it at 0xe0000000 (it's defined in the soc node). Don't forget to match up the PCI addresses too. patches welcome, of course (we don't have tqm boards). Kim _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev