Fabio,
I did build kernel 3.7.8 and use u-Boot 2013.01 to load this via TFTP. The u-boot part seems to be OK, but the booting of the kernel fails (stops after "Uncompressing Linux... done, booting the kernel."). I enabled Kernel low-level debugging and the Early printk and this is what I get:
Uncompressing Linux... done, booting the kernel.
Error: unrecognized/unsupported machine ID (r1 = 0x000009e3).
Available machine support:
ID (hex) NAME
ffffffff Freescale i.MX28 (Device Tree)
ffffffff Freescale i.MX23 (Device Tree)
Please check your kernel config and/or bootloader.
It seems to me that the u-Boot sets the machine ID correctly (0x9e3 = 2531 = MACH_TYPE_MX28EVK), but for some reason the available ID's in the kernel image are set to ffffffff. I did try a "make imx28-evk.dtb", but this reports the dtb being up-to-date. For both the u-Boot and the kernel I used the gcc-4.4.4 from the ltib toolchain to build. I earlier tried to build the kernel from the Buildroot environment (using CodeSourcery toolchain), but this gave me the same result.
Would you (or anyone else) have an idea what goes wrong here?
Thanks,
Ruud
====================================================================================
Update: just found out that the u-Boot should load the "imx28-evk.dtb". The boot_fdt was set to "try" and for a netboot it skips this step (with the default config). I just set it to "yes", copied the dtb to my tftpboot and now it boots... :smileyblush:
Until this week I was not aware of this "FDT" feature. I will try and find out if this is something we should use for our custom board in the future. Any advice is welcome...
Message was edited by: Ruud Commandeur