mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 01:59:02 +00:00
102009f3ea
with 6.1, the kernel no longer fitted into the 16 MiB and kicking down the can and increasing KERNEL_SIZE to 20 MiB didn't help as the device failed to boot. Using 'kernel-bin | gzip | uimage gzip' didn't work since the uboot does not have enough heap to decompress these big kernels. And finally playing around with uboot was more a hassle than converting this device to take the simpleImage-boot-route in the future. Note: The device now takes even longer on the first boot-up after the flash due to JFFS2 initializing all the remaining flash. Be prepared to wait up to 10 minutes before the green status LED stops blinking and will shine a solid green! (On the plus site: the device now has ~10 MiB of additional space for rootfs+rootfs_data). Note2: This patch includes a kernel patch refresh. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
59 lines
2.2 KiB
Diff
59 lines
2.2 KiB
Diff
--- a/arch/powerpc/platforms/85xx/Kconfig
|
|
+++ b/arch/powerpc/platforms/85xx/Kconfig
|
|
@@ -49,6 +49,17 @@ config BSC9132_QDS
|
|
and dual StarCore SC3850 DSP cores.
|
|
Manufacturer : Freescale Semiconductor, Inc
|
|
|
|
+config HIVEAP_330
|
|
+ bool "Aerohive HiveAP-330"
|
|
+ select DEFAULT_UIMAGE
|
|
+ select ARCH_REQUIRE_GPIOLIB
|
|
+ select GPIO_MPC8XXX
|
|
+ help
|
|
+ This option enables support for the Aerohive HiveAP-330 board.
|
|
+
|
|
+ This board is a Concurrent Dual-Band wireless access point with a
|
|
+ Freescale P1020 SoC.
|
|
+
|
|
config MPC8540_ADS
|
|
bool "Freescale MPC8540 ADS"
|
|
select DEFAULT_UIMAGE
|
|
--- a/arch/powerpc/platforms/85xx/Makefile
|
|
+++ b/arch/powerpc/platforms/85xx/Makefile
|
|
@@ -12,6 +12,7 @@ obj-y += common.o
|
|
obj-$(CONFIG_BSC9131_RDB) += bsc913x_rdb.o
|
|
obj-$(CONFIG_BSC9132_QDS) += bsc913x_qds.o
|
|
obj-$(CONFIG_C293_PCIE) += c293pcie.o
|
|
+obj-$(CONFIG_HIVEAP_330) += hiveap-330.o
|
|
obj-$(CONFIG_MPC8540_ADS) += mpc85xx_ads.o
|
|
obj-$(CONFIG_MPC8560_ADS) += mpc85xx_ads.o
|
|
obj-$(CONFIG_MPC85xx_CDS) += mpc85xx_cds.o
|
|
--- a/arch/powerpc/boot/Makefile
|
|
+++ b/arch/powerpc/boot/Makefile
|
|
@@ -163,6 +163,7 @@ src-plat-$(CONFIG_PPC_PSERIES) += pserie
|
|
src-plat-$(CONFIG_PPC_POWERNV) += pseries-head.S
|
|
src-plat-$(CONFIG_PPC_IBM_CELL_BLADE) += pseries-head.S
|
|
src-plat-$(CONFIG_MVME7100) += motload-head.S mvme7100.c
|
|
+src-plat-$(CONFIG_HIVEAP_330) += simpleboot.c fixed-head.S
|
|
src-plat-$(CONFIG_TL_WDR4900_V1) += simpleboot.c fixed-head.S
|
|
|
|
src-plat-$(CONFIG_PPC_MICROWATT) += fixed-head.S microwatt.c
|
|
@@ -344,6 +345,7 @@ image-$(CONFIG_TQM8548) += cuImage.tqm
|
|
image-$(CONFIG_TQM8555) += cuImage.tqm8555
|
|
image-$(CONFIG_TQM8560) += cuImage.tqm8560
|
|
image-$(CONFIG_KSI8560) += cuImage.ksi8560
|
|
+image-$(CONFIG_HIVEAP_330) += simpleImage.hiveap-330
|
|
image-$(CONFIG_TL_WDR4900_V1) += simpleImage.tl-wdr4900-v1
|
|
# Board ports in arch/powerpc/platform/86xx/Kconfig
|
|
image-$(CONFIG_MVME7100) += dtbImage.mvme7100
|
|
--- a/arch/powerpc/boot/wrapper
|
|
+++ b/arch/powerpc/boot/wrapper
|
|
@@ -339,6 +339,7 @@ adder875-redboot)
|
|
platformo="$object/fixed-head.o $object/redboot-8xx.o"
|
|
binary=y
|
|
;;
|
|
+simpleboot-hiveap-330|\
|
|
simpleboot-tl-wdr4900-v1)
|
|
platformo="$object/fixed-head.o $object/simpleboot.o"
|
|
link_address='0x1500000'
|