diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2015-12-19 13:51:02 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2015-12-19 13:51:02 +0200 |
commit | 65e28cfa076479fce7d89867e9f3a01576a25c0a (patch) | |
tree | e56acf07df04de04e80ad3ca6910287e9fe227be | |
parent | 5546bb70d289fa0e3576ab6212e8363583d3fd64 (diff) |
96boards-bubblegum: various fixes and workarounds
* blacklist pvrsrvlm module to get X working out of the box with ALIP
image and fbdev
* use partition label to mount /
* pass rw instead of ro to make systemd/machine_id happy
Change-Id: I4ae81f1a9f2742a1b1b5f09c26bb3ad27150af76
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
-rw-r--r-- | 96boards-bubblegum.yaml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/96boards-bubblegum.yaml b/96boards-bubblegum.yaml index b6a3e0e..556c61f 100644 --- a/96boards-bubblegum.yaml +++ b/96boards-bubblegum.yaml @@ -127,8 +127,12 @@ [ "${partition}" = "3" ] && sudo mount -o loop /dev/mapper/${device} rootfs done + cat << EOF | sudo tee rootfs/etc/modprobe.d/blacklist-pvrsrvkm.conf + blacklist pvrsrvkm + EOF + cat << EOF | sudo tee rootfs/etc/fstab - /dev/mmcblk0p3 / ext4 errors=remount-ro 0 1 + /dev/disk/by-partlabel/SYSTEM / ext4 errors=remount-ro 0 1 EOF sudo rm -rf rootfs/dev rootfs/boot rootfs/var/lib/apt/lists @@ -150,7 +154,7 @@ setenv fdt_high "0xffffffffffffffff" setenv bootpart "2" setenv bootcmd "fatload mmc 1:2 0x00080000 Image; fatload mmc 1:2 0x01ffffc0 uInitrd; fatload mmc 1:2 0x10000000 s900_96board.dtb; booti 0x00080000 0x01ffffc0 0x10000000" - setenv bootargs "console=tty0 console=ttyS5,115200n8 root=/dev/disk/by-partlabel/SYSTEM rootwait ro" + setenv bootargs "console=tty0 console=ttyS5,115200n8 root=/dev/disk/by-partlabel/SYSTEM rootwait rw" run bootcmd boot EOF |