Commit Graph

22 Commits (5a8e9846af689be7bc3b1fb4a356c3e3c711b94a)

Author SHA1 Message Date
Mathias Kresin 605ce5f6cd mpc85xx: use image metadata
Append and enforce image metadata. Remove the device specific image
checks, they are replaced by image metadata.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Chris Blake ec269290db mpc85xx: use new build code style
The following moves the mpc85xx target (generic & P1020) to the new
build code style.

Compile & Flash tested on an Aerohive HiveAP-330.

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Chris Blake f2b7d9dc1c mpc85xx: Add Aerohive HiveAP-330 Access Point
The following adds the Aerohive HiveAP-330 Access Point to LEDE under
the mpc85xx/p1020 subtarget.

Hardware:
- SoC: Freescale P1020NSE2DFB
- NAND: Intel JS28F512M29EWH 64MB
- Memory: 2x ProMOS V59C1G01168QBJ3 128MB (Total of 256MB)
- 2.4GHz WiFi: Atheros AR9390-AL1A
- 5.0GHz WiFi: Atheros AR9390-AL1A
- Eth1: Atheros AR8035-A PoE
- Eth2: Atheros AR8035-A
- TPM: Atmel AT97SC3204
- LED Driver: TI LP5521

Flashing:
1. Hook into UART (9600 baud) and enter U-Boot. You may need to enter a
password of administrator or AhNf?d@ta06 if prompted.
2. Once in U-Boot, tftp boot the initramfs image:
    dhcp;
    tftpboot 0x1000000 192.168.1.101:lede-
mpc85xx-p1020-hiveap-330-initramfs.zImage;
    tftpboot 0x6000000 192.168.1.101:lede-mpc85xx-p1020-hiveap-330.fdt;
    bootm 0x1000000 - 0x6000000;
3. Once booted, scp over the sysupgrade file and sysupgrade the device
to flash LEDE to the NAND.
    sysupgrade /tmp/lede-mpc85xx-p1020-hiveap-330-sysupgrade.img

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
7 years ago
John Crispin 74c6b21973 target/mpc85xx: check for 'generic' subtarget for initramfs image file
Copy 'cuImage.tl-wdr4900-v1-initramfs' only for the 'generic' subtarget.
This is a follow-up to:
 http://git.openwrt.org/?p=openwrt.git;a=commitdiff;h=b889fe55c1844aec2c03da28fecb03e958c21f18

We build our initramfs images more rarely, so it took a while
to catch this too.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

SVN-Revision: 48892
8 years ago
Felix Fietkau 93a2b8a6c4 mpc85xx: update to linux 4.4, remove unnecessary patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48297
8 years ago
Felix Fietkau 1558a6bcbf mpc85xx: fix another typo in the image makefile
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43625
10 years ago
Felix Fietkau 4db5bc59b1 mpc85xx: fix typo in image name
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43622
10 years ago
Felix Fietkau 2d9d3e7163 mpc85xx: fix initramfs images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43620
10 years ago
John Crispin b994aca1e4 mpc85xx: fix missing dts target for kernel 3.14
With kernel 3.14 dts target p1010rdb was renamed to p1010rdb-pa.
To maintain compatibility define p1010rdb-pa as new standard and
copy p1010rdb.dts to p1010rdb-pa.dts under 3.10.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43371
10 years ago
John Crispin 7d8f187201 target/linux/*/image/Makefile: use new dts path variable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41791
10 years ago
Gabor Juhos 53512a1961 mpc85xx: Fix building ramdisk images
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39368
11 years ago
Florian Fainelli 6a4f2922f6 targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37049
11 years ago
Gabor Juhos 40e15b1fbf mpc85xx: Generate fdt for P1020RDB
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36321
11 years ago
Gabor Juhos 1996cfe9dd mpc85xx: add profile and build image for the TL-WDR4900 v1 board
Now that the ethernet switch is working, create firmware
images to make impatient users happy.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36051
11 years ago
Gabor Juhos 33ba984628 mpc85xx: use a foreach loop to copy boot images
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35689
11 years ago
Gabor Juhos 69cc70a43c mpc85xx: enable squashfs feature
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35675
11 years ago
Gabor Juhos cf2faab4ae mpc85xx: switch to 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35444
11 years ago
Gabor Juhos 630fffbead mpc85xx: fix dts name for P1010RDB
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35442
11 years ago
Gabor Juhos 4cb7e749ab mpc85xx: build fdt file for the PB1010RDB board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35438
11 years ago
Gabor Juhos 21b15ddda5 mpc85xx: image: fix building of multiple dtb files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35436
11 years ago
Felix Fietkau 2b6a84a7a3 mpc85xx: copy the fdt for mpc8548cds to $(BIN_DIR)
SVN-Revision: 26191
13 years ago
Imre Kaloz 044ea01f9c preliminary support for Freescale MPC85xx based boards
SVN-Revision: 24259
14 years ago