From 584c1ccf1004afb4497407244f33a70996706633 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Wed, 20 Mar 2019 17:27:49 +0100 Subject: [PATCH] oc2g: Mount the factory partition in the correct place This is needed for osmo-bts to properly transmit on OC2g because it contains calibration values for the amplifier. Without the transmit power will be really low (probably just what leaks through the amp). --- recipes-bsp/base-files/base-files_sysmocom.inc | 2 ++ recipes-bsp/base-files/files/oc2g/fstab | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 recipes-bsp/base-files/files/oc2g/fstab diff --git a/recipes-bsp/base-files/base-files_sysmocom.inc b/recipes-bsp/base-files/base-files_sysmocom.inc index 6b6fef4..defb299 100644 --- a/recipes-bsp/base-files/base-files_sysmocom.inc +++ b/recipes-bsp/base-files/base-files_sysmocom.inc @@ -2,3 +2,5 @@ THISDIR := "${@os.path.dirname(d.getVar('FILE', True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:" PRINC="4" + +dirs755_append_oc2g = "/mnt/rom /mnt/rom/factory" diff --git a/recipes-bsp/base-files/files/oc2g/fstab b/recipes-bsp/base-files/files/oc2g/fstab new file mode 100644 index 0000000..e99281d --- /dev/null +++ b/recipes-bsp/base-files/files/oc2g/fstab @@ -0,0 +1,9 @@ +/dev/root / auto defaults 1 1 +proc /proc proc defaults 0 0 +devpts /dev/pts devpts mode=0620,gid=5 0 0 +tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0 +tmpfs /var/volatile tmpfs defaults 0 0 + +/dev/mtdblock8 /mnt/rom/factory jffs2 ro,sync,noatime,nofail 0 0 +#/dev/mmcblk0p4 /mnt/storage ext4 defaults,noatime,nofail 0 0 +