From 9e7b1667046201b2d52108d6c8769bebd4f6736c Mon Sep 17 00:00:00 2001 From: Yangbo Lu Date: Mon, 23 Oct 2017 19:03:00 +0800 Subject: [PATCH] layerscape: enlarge ext4 rootfs size to 30MB This patch is to enlarge ext4 rootfs size to 30MB. Signed-off-by: Yangbo Lu --- package/boot/uboot-layerscape-armv8_32b/Makefile | 4 ++-- ...mv8-ls1046ardb-add-LEDE-boot-support-in-environmen.patch | 2 +- ...mv8-ls1012ardb-add-LEDE-boot-support-in-environmen.patch | 2 +- ...mv8-ls1088ardb-add-LEDE-boot-support-in-environmen.patch | 2 +- target/linux/layerscape/image/Makefile | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package/boot/uboot-layerscape-armv8_32b/Makefile b/package/boot/uboot-layerscape-armv8_32b/Makefile index 3b532b3ba4..1e0eb34171 100644 --- a/package/boot/uboot-layerscape-armv8_32b/Makefile +++ b/package/boot/uboot-layerscape-armv8_32b/Makefile @@ -17,8 +17,8 @@ PKG_RELEASE:=1 # uboot-layerscape's source code. PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/yangbolu1991/u-boot-lede.git -PKG_SOURCE_VERSION:=b973f9b8754440d8db4ead6cd59a6ad2f7378806 -PKG_MIRROR_HASH:=4297f79e502f869a042271877a0e5ac3b78f914c5797c53a48da0d7769e08fc7 +PKG_SOURCE_VERSION:=050c7f11e2ad1a005baa8816699a5c4543dab70c +PKG_MIRROR_HASH:=ebd63c29417616240090930d50bbce46956de8ddc3f2aa1b238da286ff66794a PKG_MAINTAINER:=Yangbo Lu diff --git a/package/boot/uboot-layerscape/patches/0002-armv8-ls1046ardb-add-LEDE-boot-support-in-environmen.patch b/package/boot/uboot-layerscape/patches/0002-armv8-ls1046ardb-add-LEDE-boot-support-in-environmen.patch index 715d7869a1..418f6287fb 100644 --- a/package/boot/uboot-layerscape/patches/0002-armv8-ls1046ardb-add-LEDE-boot-support-in-environmen.patch +++ b/package/boot/uboot-layerscape/patches/0002-armv8-ls1046ardb-add-LEDE-boot-support-in-environmen.patch @@ -26,7 +26,7 @@ index 4fc2f94..53bd41b 100644 + "earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 " \ + "mtdparts=1550000.quadspi:1M(rcw),2M(u-boot),1M(u-boot-env)," \ + "5M(reserved-1),256k(fman),5888k(reserved-2),1M(dtb)," \ -+ "16M(kernel),22M(ext4rfs),10M(user)\0" \ ++ "16M(kernel),30M(ext4rfs),2M(user)\0" \ + "lede_run=sf probe 0:0 && " \ + "sf read $fdtaddr f00000 100000 && " \ + "sf read $loadaddr 1000000 1000000 && " \ diff --git a/package/boot/uboot-layerscape/patches/0003-armv8-ls1012ardb-add-LEDE-boot-support-in-environmen.patch b/package/boot/uboot-layerscape/patches/0003-armv8-ls1012ardb-add-LEDE-boot-support-in-environmen.patch index 197735afaf..e8bbe7faa3 100644 --- a/package/boot/uboot-layerscape/patches/0003-armv8-ls1012ardb-add-LEDE-boot-support-in-environmen.patch +++ b/package/boot/uboot-layerscape/patches/0003-armv8-ls1012ardb-add-LEDE-boot-support-in-environmen.patch @@ -25,7 +25,7 @@ index 5fe3218..242cdf0 100644 + "earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 " \ + "mtdparts=1550000.quadspi:1M(rcw),2M(u-boot),1M(u-boot-env)," \ + "5M(reserved-1),256k(fman),5888k(reserved-2),1M(dtb)," \ -+ "16M(kernel),23M(ext4rfs),9M(user)\0" \ ++ "16M(kernel),30M(ext4rfs),2M(user)\0" \ + "lede_run=pfe stop && sf probe 0:0 && " \ + "sf read $fdtaddr f00000 100000 && " \ + "sf read $loadaddr 1000000 1000000 && " \ diff --git a/package/boot/uboot-layerscape/patches/0004-armv8-ls1088ardb-add-LEDE-boot-support-in-environmen.patch b/package/boot/uboot-layerscape/patches/0004-armv8-ls1088ardb-add-LEDE-boot-support-in-environmen.patch index 72c43ebcd0..eaf0da2833 100644 --- a/package/boot/uboot-layerscape/patches/0004-armv8-ls1088ardb-add-LEDE-boot-support-in-environmen.patch +++ b/package/boot/uboot-layerscape/patches/0004-armv8-ls1088ardb-add-LEDE-boot-support-in-environmen.patch @@ -25,7 +25,7 @@ index 7bd152d..4cefa40 100644 + "earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 " \ + "mtdparts=20c0000.quadspi:1M(rcw),2M(u-boot),1M(u-boot-env)," \ + "6M(reserved-1),3M(mc),1M(dpl),1M(dpc),1M(dtb)," \ -+ "16M(kernel),17M(ext4rfs),15M(user)\0" \ ++ "16M(kernel),30M(ext4rfs),2M(user)\0" \ + "lede_run=sf probe 0:0 && " \ + "sf read $fdtaddr f00000 100000 && " \ + "sf read $loadaddr 1000000 1000000 && " \ diff --git a/target/linux/layerscape/image/Makefile b/target/linux/layerscape/image/Makefile index d1449aa105..26c57678f1 100644 --- a/target/linux/layerscape/image/Makefile +++ b/target/linux/layerscape/image/Makefile @@ -95,7 +95,7 @@ define Device/ls1046ardb append-ls-fman $(1) | pad-to 15M | \ append-ls-dtb $$(DEVICE_DTS) | pad-to 16M | \ append-kernel | pad-to 32M | \ - append-ls-rootfs-ext4 $(1) 22M | check-size 67108865 + append-ls-rootfs-ext4 $(1) 30M | check-size 67108865 endef TARGET_DEVICES += ls1046ardb @@ -110,7 +110,7 @@ define Device/ls1012ardb append-ls-ppfe | pad-to 15M | \ append-ls-dtb $$(DEVICE_DTS) | pad-to 16M | \ append-kernel | pad-to 32M | \ - append-ls-rootfs-ext4 $(1) 23M | check-size 67108865 + append-ls-rootfs-ext4 $(1) 30M | check-size 67108865 endef TARGET_DEVICES += ls1012ardb @@ -129,7 +129,7 @@ define Device/ls1088ardb append-ls-dpc $(1) | pad-to 15M | \ append-ls-dtb $$(DEVICE_DTS) | pad-to 16M | \ append-kernel | pad-to 32M | \ - append-ls-rootfs-ext4 $(1) 17M | check-size 67108865 + append-ls-rootfs-ext4 $(1) 30M | check-size 67108865 endef TARGET_DEVICES += ls1088ardb -- 2.30.2