Add some support for device tree kernels
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest posting 2/20 of 6 patches 0 repliesNew
- v4 posting 1/26 patches 0 repliesSuperseded
- v3 posting 3/30 of 6 patches 0 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 posting 2/3 | 0 of 6 patches | 0 replies | Superseded | |
| v3 posting 1/3 | 6 patches | 0 replies | Superseded | |
| v2 | 1 patch | 0 replies | Superseded | |
| v1 | 1 patch | 0 replies | Superseded |
Patches in v4 posting 2/2 No applies recorded yet
None of the 6 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [Buildroot] [PATCHv4 0/6] Add some support for device tree kernels
Hi Thomas,
Le 30/07/2012 21:16, Thomas Petazzoni a ?crit :
Quoted 38 lines
Le Mon, 30 Jul 2012 14:32:43 +0200,
Maxime Ripard <[email protected]> a ?crit :Quoted 2 lines
This is a refactoring of the previous basic device tree options available for microblaze.
I am fine with the general design, but it doesn't work: the
qemu_microblazeel_defconfigdoesn't build.I had to make some changes:
*) Change the defconfig to limit the number of modifications compared
to the previous versions (keep architecture, toolchain, etc.) properties.*) Create a special kconfig entry for the linux.bin image format
(Microblaze specific). This format requires mkimage to generate linux.bin, so we need to selectBR2_LINUX_KERNEL_UBOOT_IMAGE. It probably worked on your system because you have mkimage installed system-wide, but since it isn't part of our required dependencies, you shouldn't rely on it.However, even with those fixes, building the DTB doesn't work. Apparently, system.dts/system.dtb are kind of "reserved" names for Microblaze (from a quick reading of
arch/microblaze/boot/Makefile). I have the following build error:Kernel:
arch/microblaze/boot/linux.binis ready (#1)CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.shBuilding modules, stage 2.
MODPOST 0 modules
PATH="/home/test/outputs/t/host/bin:/home/test/outputs/t/host/usr/bin:/home/test/outputs/t/host/usr/sbin/:/usr/local/bin:/usr/bin:/bin:/usr/games" PERLLIB="/home/test/outputs/t/host/usr/lib/perl"/usr/bin/make-j2 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=microblaze INSTALL_MOD_PATH=/home/test/outputs/t/target CROSS_COMPILE="/home/test/outputs/t/host/usr/bin/microblazeel-unknown-linux-gnu-" DEPMOD=/home/test/outputs/t/host/usr/sbin/depmod -C/home/test/outputs/t/build/linux-3.3.7system.dtb make[2]: *** No rule to make target `system.dtb'. Stop.
make[1]: *** [/home/test/outputs/t/build/linux-3.3.7/.stamp_built] Error 2
make: *** [all] Error 2
Quoted 3 lines
It would be good if you could fix this problem and resubmit. Please base your new work using the following branch, which includes the two changes I've mentioned above:
It looks like in the previous patchset, the custom system.dts file was copied (and as such, overwriting the original system.dts file), and never built.
From a quick test here, adding a
select BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT
to the linux.bin image is putting back the same behaviour as before, and do not fail to build anymore.
Do you want me to send an updated version?
Maxime
Signature · 4 lines
Maxime Ripard, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com