ppc40x: increase kernel partition size on OpenRB/Magicbox

Cc: backfire@openwrt.org

SVN-Revision: 20820
This commit is contained in:
Gabor Juhos 2010-04-12 12:21:15 +00:00
parent bd0c2617f1
commit bc4cd8c850
3 changed files with 10 additions and 10 deletions

View file

@ -36,11 +36,11 @@ endef
define Image/Build/jffs2-64k define Image/Build/jffs2-64k
( \ ( \
dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.magicbox bs=1152k conv=sync; \ dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.magicbox bs=1280k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \ dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
) > $(BIN_DIR)/openwrt-$(BOARD)-magicbox-jffs2.img ) > $(BIN_DIR)/openwrt-$(BOARD)-magicbox-jffs2.img
( \ ( \
dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.openrb bs=1152k conv=sync; \ dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.openrb bs=1280k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \ dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
) > $(BIN_DIR)/openwrt-$(BOARD)-openrb-jffs2.img ) > $(BIN_DIR)/openwrt-$(BOARD)-openrb-jffs2.img
endef endef
@ -53,11 +53,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)/openwrt-$(BOARD)-kilauea-$(1).img ) > $(BIN_DIR)/openwrt-$(BOARD)-kilauea-$(1).img
( \ ( \
dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.magicbox bs=1152k conv=sync; \ dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.magicbox bs=1280k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \ dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
) > $(BIN_DIR)/openwrt-$(BOARD)-magicbox-$(1).img ) > $(BIN_DIR)/openwrt-$(BOARD)-magicbox-$(1).img
( \ ( \
dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.openrb bs=1152k conv=sync; \ dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.openrb bs=1280k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \ dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
) > $(BIN_DIR)/openwrt-$(BOARD)-openrb-$(1).img ) > $(BIN_DIR)/openwrt-$(BOARD)-openrb-$(1).img
endef endef

View file

@ -318,15 +318,15 @@
+ #size-cells = <1>; + #size-cells = <1>;
+ partition@0 { + partition@0 {
+ label = "linux"; + label = "linux";
+ reg = <0x0 0x120000>; + reg = <0x0 0x140000>;
+ }; + };
+ partition@120000 { + partition@120000 {
+ label = "rootfs"; + label = "rootfs";
+ reg = <0x120000 0x2a0000>; + reg = <0x140000 0x680000>;
+ }; + };
+ partition@3c0000 { + partition@7c0000 {
+ label = "u-boot"; + label = "u-boot";
+ reg = <0x3c0000 0x30000>; + reg = <0x7c0000 0x30000>;
+ read-only; + read-only;
+ }; + };
+ }; + };

View file

@ -294,11 +294,11 @@
+ #size-cells = <1>; + #size-cells = <1>;
+ partition@0 { + partition@0 {
+ label = "linux"; + label = "linux";
+ reg = <0x0 0x120000>; + reg = <0x0 0x140000>;
+ }; + };
+ partition@120000 { + partition@120000 {
+ label = "rootfs"; + label = "rootfs";
+ reg = <0x120000 0x6a0000>; + reg = <0x140000 0x680000>;
+ }; + };
+ partition@7c0000 { + partition@7c0000 {
+ label = "u-boot"; + label = "u-boot";