openwrt/target/linux/mpc85xx/patches-6.6/111-powerpc-85xx-hpe-msm-support.patch

32 lines
1.0 KiB
Diff
Raw Normal View History

mpc85xx: add support for Hewlett Packard MSM460 Hardware -------- CPU: Freescale P1020 2xe500 PPC RAM: 256M DDR3 (Micron MT41J64M16JT-15E:G "D9MNJ") NAND: 128M (Micron 2CA1) BTN: 1x Reset LED: Power - ETH - Radio1 - Radio2 UART: RJ-45 Cisco Pinout - 115200 8N1 Installation ------------ NOTE: You can find a repo with up-to-date instructions as well as the required files here: https://github.com/blocktrron/msm460-flashing Required files ============== You need a command-files as well as a U-Boot image. The command-file has the following content (padded to 131072 bytes). If you copy paste these, remove the newlines! ``` U-BOOT setenv ethaddr 02:03:04:05:06:07; setenv ipaddr 192.168.1.1; setenv serverip 192.168.1.66; tftpboot 0x3000000 msm460-uboot.bin; nand device; nand erase 0 0xC0000; nand write 0x3000000 0x0 0xC0000; reset ``` You can download the required U-Boot from this repository: https://github.com/blocktrron/u-boot-msm/releases Preparation =========== Prepare a TFTP server serving two files: - U-Boot NAND image as `msm460-uboot.bin`. - OpenWrt factory image as `msm460-factory.bin` - Command-file names `commands.tftp` You can start a TFTP server in the current directory using dnsmasq: ```bash sudo dnsmasq --no-daemon --listen-address=0.0.0.0 \ --port=0 --enable-tftp=enxd0 --tftp-root="$(pwd)" \ --user=root --group=root ``` Replace `enxd0` with the name of your network interface. Procedure ========= 1. Assign yourself the IP-Address 192.168.1.66/24. 3. Connect the Router to the PC while keeping the reset button pressed. 4. The LEDs will eventually begin to flash. They will start to flash faster after around 15 seconds. 5. Release the reset button. 6. Start a new shell 7. Make sure you are currently in the directory where the tftp server is located. 8. Run the following command: ```bash tftp 192.168.1.1 -m binary -c put commands.tftp nflashd.cccc9999 ``` You get the message "Transfer timed out." To find out if you have been successful, please check the blinking LED Pattern. Signed-off-by: David Bauer <mail@david-bauer.net>
2024-05-30 00:27:50 +00:00
--- a/arch/powerpc/platforms/85xx/Kconfig
+++ b/arch/powerpc/platforms/85xx/Kconfig
@@ -114,6 +114,18 @@ config FIREBOX_T10
mpc85xx: add support for Hewlett Packard MSM460 Hardware -------- CPU: Freescale P1020 2xe500 PPC RAM: 256M DDR3 (Micron MT41J64M16JT-15E:G "D9MNJ") NAND: 128M (Micron 2CA1) BTN: 1x Reset LED: Power - ETH - Radio1 - Radio2 UART: RJ-45 Cisco Pinout - 115200 8N1 Installation ------------ NOTE: You can find a repo with up-to-date instructions as well as the required files here: https://github.com/blocktrron/msm460-flashing Required files ============== You need a command-files as well as a U-Boot image. The command-file has the following content (padded to 131072 bytes). If you copy paste these, remove the newlines! ``` U-BOOT setenv ethaddr 02:03:04:05:06:07; setenv ipaddr 192.168.1.1; setenv serverip 192.168.1.66; tftpboot 0x3000000 msm460-uboot.bin; nand device; nand erase 0 0xC0000; nand write 0x3000000 0x0 0xC0000; reset ``` You can download the required U-Boot from this repository: https://github.com/blocktrron/u-boot-msm/releases Preparation =========== Prepare a TFTP server serving two files: - U-Boot NAND image as `msm460-uboot.bin`. - OpenWrt factory image as `msm460-factory.bin` - Command-file names `commands.tftp` You can start a TFTP server in the current directory using dnsmasq: ```bash sudo dnsmasq --no-daemon --listen-address=0.0.0.0 \ --port=0 --enable-tftp=enxd0 --tftp-root="$(pwd)" \ --user=root --group=root ``` Replace `enxd0` with the name of your network interface. Procedure ========= 1. Assign yourself the IP-Address 192.168.1.66/24. 3. Connect the Router to the PC while keeping the reset button pressed. 4. The LEDs will eventually begin to flash. They will start to flash faster after around 15 seconds. 5. Release the reset button. 6. Start a new shell 7. Make sure you are currently in the directory where the tftp server is located. 8. Run the following command: ```bash tftp 192.168.1.1 -m binary -c put commands.tftp nflashd.cccc9999 ``` You get the message "Transfer timed out." To find out if you have been successful, please check the blinking LED Pattern. Signed-off-by: David Bauer <mail@david-bauer.net>
2024-05-30 00:27:50 +00:00
This board is a VPN Gateway-Router with a
Freescale P1010 SoC.
+config MSM460
+ bool "HPE MSM460"
+ select DEFAULT_UIMAGE
+ select ARCH_REQUIRE_GPIOLIB
+ select GPIO_MPC8XXX
+ select PPC_ZIMAGE_LA3000000
mpc85xx: add support for Hewlett Packard MSM460 Hardware -------- CPU: Freescale P1020 2xe500 PPC RAM: 256M DDR3 (Micron MT41J64M16JT-15E:G "D9MNJ") NAND: 128M (Micron 2CA1) BTN: 1x Reset LED: Power - ETH - Radio1 - Radio2 UART: RJ-45 Cisco Pinout - 115200 8N1 Installation ------------ NOTE: You can find a repo with up-to-date instructions as well as the required files here: https://github.com/blocktrron/msm460-flashing Required files ============== You need a command-files as well as a U-Boot image. The command-file has the following content (padded to 131072 bytes). If you copy paste these, remove the newlines! ``` U-BOOT setenv ethaddr 02:03:04:05:06:07; setenv ipaddr 192.168.1.1; setenv serverip 192.168.1.66; tftpboot 0x3000000 msm460-uboot.bin; nand device; nand erase 0 0xC0000; nand write 0x3000000 0x0 0xC0000; reset ``` You can download the required U-Boot from this repository: https://github.com/blocktrron/u-boot-msm/releases Preparation =========== Prepare a TFTP server serving two files: - U-Boot NAND image as `msm460-uboot.bin`. - OpenWrt factory image as `msm460-factory.bin` - Command-file names `commands.tftp` You can start a TFTP server in the current directory using dnsmasq: ```bash sudo dnsmasq --no-daemon --listen-address=0.0.0.0 \ --port=0 --enable-tftp=enxd0 --tftp-root="$(pwd)" \ --user=root --group=root ``` Replace `enxd0` with the name of your network interface. Procedure ========= 1. Assign yourself the IP-Address 192.168.1.66/24. 3. Connect the Router to the PC while keeping the reset button pressed. 4. The LEDs will eventually begin to flash. They will start to flash faster after around 15 seconds. 5. Release the reset button. 6. Start a new shell 7. Make sure you are currently in the directory where the tftp server is located. 8. Run the following command: ```bash tftp 192.168.1.1 -m binary -c put commands.tftp nflashd.cccc9999 ``` You get the message "Transfer timed out." To find out if you have been successful, please check the blinking LED Pattern. Signed-off-by: David Bauer <mail@david-bauer.net>
2024-05-30 00:27:50 +00:00
+ help
+ This option enables support for the HPE MSM460 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
@@ -19,6 +19,7 @@ obj8259-$(CONFIG_PPC_I8259) += mpc85xx
obj-$(CONFIG_MPC85xx_DS) += mpc85xx_ds.o $(obj8259-y)
obj-$(CONFIG_MPC85xx_MDS) += mpc85xx_mds.o
obj-$(CONFIG_MPC85xx_RDB) += mpc85xx_rdb.o
+obj-$(CONFIG_MSM460) += msm460.o
obj-$(CONFIG_P1010_RDB) += p1010rdb.o
obj-$(CONFIG_P1022_DS) += p1022_ds.o
obj-$(CONFIG_P1022_RDK) += p1022_rdk.o