Re: STK5200 pci_enable_device problem
From: Wolfgang Denk <hidden>
Date: 2007-08-29 23:31:08
In message [off-list ref] you wrote:
quoted
Also, you need a recent version of U-Boot (for example 99c2fdab or later).I'm using U-Boot 1.2.0-gbc2b9c33-dirty (Feb 22 2007 - 09:53:14). Is that recent enough? (I don't know exactly what you mean with "99c2fdab", is this the second number after "1.2.0-"?)
No, that is *way* too old. The number after the "-g" is the (initial 8 digits of the) git commit ID. You can use this to identify a spoecific version in the git repository.
Maybe the problem is the missing tqm5200.dtb file. I have booted the kernel without it (just bootm 200000). Does the kernel need this file? I
Yes. An arch/powerpc kernel will not run without a proper device tree.
found a tqm5200.dts file the the kernel sources, but the device tree compiler (dtc) seems not to be in the 4.1 ELDK. Do I have to install this compiler and build the appropriate dtb file?
Yes, this is correct. dtc will be included with ELDK 4.2.
In older kernels it was O.K. just to uncheck the SM501 drivers in the kernel configuration. Has this changed?
As mentioned above, with arch/powerpc you always need a device tree blob. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de I express preference for a chronological sequence of events which precludes a violence. - Terry Pratchett, _The Dark Side of the Sun_