Le 13/12/2013 15:26, Guillaume Gardet a écrit : > Le 13/12/2013 15:10, Marcus Schäfer a écrit : >> Hi, >> >>> No, what I mean is if I resize manually the FAT partition with YaST >>> partitionner, then it does boot. So the partition table may be wrong or >>> there might be some overlap or something. >> I'm running out of ideas the damn thing does not boot :) I even >> dd'ed the first 512byte from the _working_ image from Bernhard >> onto the sd card, then I created the fat fs then I copied all >> files from Bernhards working image over to my fat filesystem >> and the thing still does not boot and does not give any error >> message... what the heck is going on there ? do we need an MLO >> for raspberry ? do we need to have special fat options for the >> filesystem ? Thanks for any hint > No need for MLO or SPL or such things for Raspberry Pi. Just a FAT32 > partition. > > Just take the OBS image and resize it from 200 MB to 190 MB using YaST > partitionner. It will boot. > Then if you want to size it up, you cannot reach 200 MB but only 196 MB. So, > the problem seems to be in the partition size. > Try it. > >>> One last thing. Now, DTB files should be located in /boot/dtb/ folder >>> whereas, previously, we used /boot/. So we should update kiwi accordingly, >>> otherwise DTB files are not in BOOT partition. Do you want I send you a >>> patch for that one or could you do it? >> Would be great if you can come up with a patch > Will prepare it.
It is in attachment. Please check if it is ok to get /boot/dtb/ in BOOT partition. Guillaume > > > Guillaume > >> Thanks much >> >> Regards, >> Marcus
>From 93a97a783ce5bb2ef087d42ee7a930f7e2737e86 Mon Sep 17 00:00:00 2001 From: Guillaume GARDET <guillaume.gar...@oliseo.fr> Date: Fri, 13 Dec 2013 15:33:22 +0100 Subject: [PATCH] Add support to /boot/dtb/ since DTB files are now in this folder --- modules/KIWIBoot.pm | 1 + modules/KIWIConfig.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/KIWIBoot.pm b/modules/KIWIBoot.pm index d79726b..2de7920 100644 --- a/modules/KIWIBoot.pm +++ b/modules/KIWIBoot.pm @@ -5362,6 +5362,7 @@ sub copyBootCode { KIWIQX::qxx ("mv $dest/boot/*.img $dest &>/dev/null"); KIWIQX::qxx ("mv $dest/boot/*.imx $dest &>/dev/null"); KIWIQX::qxx ("mv $dest/boot/*.dtb $dest &>/dev/null"); + KIWIQX::qxx ("mv $dest/boot/dtb/ $dest &>/dev/null"); KIWIQX::qxx ("mv $dest/boot/*.elf $dest &>/dev/null"); if (-f "$dest/boot/MLO") { $status = KIWIQX::qxx ("mv $dest/boot/MLO $dest"); diff --git a/modules/KIWIConfig.sh b/modules/KIWIConfig.sh index 15d7d63..c02c088 100644 --- a/modules/KIWIConfig.sh +++ b/modules/KIWIConfig.sh @@ -1271,6 +1271,7 @@ function suseGFXBoot { mv /boot/*.img /image/loader &>/dev/null mv /boot/*.imx /image/loader &>/dev/null mv /boot/*.dtb /image/loader &>/dev/null + mv /boot/dtb/ /image/loader &>/dev/null mv /boot/*.elf /image/loader &>/dev/null else # boot loader binaries -- 1.7.10.4