mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
increase kernel partition size to fix boot issues
SVN-Revision: 36982
This commit is contained in:
parent
5108318edb
commit
c228ed04a1
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008-2010 OpenWrt.org
|
# Copyright (C) 2008-2013 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -37,11 +37,11 @@ endef
|
|||||||
|
|
||||||
define Image/Build/jffs2-64k
|
define Image/Build/jffs2-64k
|
||||||
( \
|
( \
|
||||||
dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.magicbox bs=1280k conv=sync; \
|
dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.magicbox bs=1408k conv=sync; \
|
||||||
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
|
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
|
||||||
) > $(BIN_DIR)/$(IMG_PREFIX)-magicbox-jffs2.img
|
) > $(BIN_DIR)/$(IMG_PREFIX)-magicbox-jffs2.img
|
||||||
( \
|
( \
|
||||||
dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.openrb bs=1280k conv=sync; \
|
dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.openrb bs=1408k conv=sync; \
|
||||||
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
|
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
|
||||||
) > $(BIN_DIR)/$(IMG_PREFIX)-openrb-jffs2.img
|
) > $(BIN_DIR)/$(IMG_PREFIX)-openrb-jffs2.img
|
||||||
endef
|
endef
|
||||||
@ -54,11 +54,11 @@ define Image/Build/squashfs
|
|||||||
dd if=$(KDIR)/root.$(1) bs=128k conv=sync; \
|
dd if=$(KDIR)/root.$(1) bs=128k conv=sync; \
|
||||||
) > $(BIN_DIR)/$(IMG_PREFIX)-kilauea-$(1).img
|
) > $(BIN_DIR)/$(IMG_PREFIX)-kilauea-$(1).img
|
||||||
( \
|
( \
|
||||||
dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.magicbox bs=1280k conv=sync; \
|
dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.magicbox bs=1408k conv=sync; \
|
||||||
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
|
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
|
||||||
) > $(BIN_DIR)/$(IMG_PREFIX)-magicbox-$(1).img
|
) > $(BIN_DIR)/$(IMG_PREFIX)-magicbox-$(1).img
|
||||||
( \
|
( \
|
||||||
dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.openrb bs=1280k conv=sync; \
|
dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.openrb bs=1408k conv=sync; \
|
||||||
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
|
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
|
||||||
) > $(BIN_DIR)/$(IMG_PREFIX)-openrb-$(1).img
|
) > $(BIN_DIR)/$(IMG_PREFIX)-openrb-$(1).img
|
||||||
endef
|
endef
|
||||||
|
@ -326,11 +326,11 @@
|
|||||||
+ #size-cells = <1>;
|
+ #size-cells = <1>;
|
||||||
+ partition0@0 {
|
+ partition0@0 {
|
||||||
+ label = "linux";
|
+ label = "linux";
|
||||||
+ reg = <0x0 0x140000>;
|
+ reg = <0x0 0x160000>;
|
||||||
+ };
|
+ };
|
||||||
+ partition1@120000 {
|
+ partition1@120000 {
|
||||||
+ label = "rootfs";
|
+ label = "rootfs";
|
||||||
+ reg = <0x140000 0x280000>;
|
+ reg = <0x160000 0x260000>;
|
||||||
+ };
|
+ };
|
||||||
+ partition2@3c0000 {
|
+ partition2@3c0000 {
|
||||||
+ label = "u-boot";
|
+ label = "u-boot";
|
||||||
|
@ -328,11 +328,11 @@
|
|||||||
+ #size-cells = <1>;
|
+ #size-cells = <1>;
|
||||||
+ partition0@0 {
|
+ partition0@0 {
|
||||||
+ label = "linux";
|
+ label = "linux";
|
||||||
+ reg = <0x0 0x140000>;
|
+ reg = <0x0 0x160000>;
|
||||||
+ };
|
+ };
|
||||||
+ partition1@120000 {
|
+ partition1@120000 {
|
||||||
+ label = "rootfs";
|
+ label = "rootfs";
|
||||||
+ reg = <0x140000 0x680000>;
|
+ reg = <0x160000 0x660000>;
|
||||||
+ };
|
+ };
|
||||||
+ partition2@7c0000 {
|
+ partition2@7c0000 {
|
||||||
+ label = "u-boot";
|
+ label = "u-boot";
|
||||||
|
Loading…
Reference in New Issue
Block a user