[ELDK] [PATCH 07/10] META-ELDK: Mount /boot on M53EVK

Marek Vasut marex at denx.de
Tue Apr 1 22:41:45 CEST 2014


Mount the /dev/mmcblk0p1 as /boot on M53EVK in the SD card images.

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Wolfgang Denk <wd at denx.de>
---
 meta-eldk/classes/image_types_m53evk.bbclass | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/meta-eldk/classes/image_types_m53evk.bbclass b/meta-eldk/classes/image_types_m53evk.bbclass
index ab9f3dc..6b13d74 100644
--- a/meta-eldk/classes/image_types_m53evk.bbclass
+++ b/meta-eldk/classes/image_types_m53evk.bbclass
@@ -181,4 +181,11 @@ EOF
 	echo "-13266 64 52995992 -24 -8129 32716840 65536" > ${IMAGE_ROOTFS}/etc/pointercal
 }
 
-ROOTFS_POSTPROCESS_COMMAND += "m53evk_add_ts_cal ; "
+# Add /boot mountpoint into fstab
+m53evk_mount_boot() {
+	cat << EOF >> ${IMAGE_ROOTFS}/etc/fstab
+/dev/mmcblk0p1       /boot                auto       defaults              0  0
+EOF
+}
+
+ROOTFS_POSTPROCESS_COMMAND += "m53evk_add_ts_cal ; m53evk_mount_boot ; "
-- 
1.9.0



More information about the eldk mailing list