openwrt/target/linux
Martin Kennedy 341681030c mpc85xx: add support for Freescale (NXP) P2041RDB
Specifications:

  - SoC: Freescale P2041 QorIQ CPU (4x e500mc core @ 1.5GHz)
  - RAM: 4GiB DDR3-1333 SODIMM
  - SPI Flash: 16MiB (Spansion S25SL12801)
  - NOR Flash: 128MiB
  - NAND Flash: 512MiB
  - Ethernet: 3 x GbE port (VSC8221XHH PHY via SGMII)
  - Ethernet: 2 x GbE port (VSC8641XKO PHY via RGMII)
  - 2 x PCIe 2.0 8x slot (electrically 4x)
  - SDHC slot
  - 2 x SATA-II ports
  - 2 x RS232 ports
  - 2 x USB 2.0 ports
  - 1588 header
  - Optional: SFP+ via XAUI interface to riser card (NXP XAUI-RISER-B)

  See https://www.nxp.com/docs/en/fact-sheet/P2041RDBFS.pdf.

Installation:

  1. Requires TFTP server with initramfs & sysupgrade .bins on same
     LAN as connected to the middle-bottom most port ("SGMII3").
  2. Connect to "TOP UART0" with a USB to RS232 cable and turn on.
  3. Power on the machine; connect to U-boot over 115200-baud connection
  4. Interrupt U-boot process and boot Openwrt .,.,.
  5. Set up U-boot environment variables:

     setenv bootargs /dev/mtdblock3 rw console=ttyS0,115200 rootfstype=squashfs earlyprintk=serial,ttyS0,115200
     setenv bootcmd setenv bootargs \$bootargs \$othbootargs \; bootm \$fileaddr - \$fdtaddr
     setenv othbootargs usdpaa_mem=256M fsl_fm_max_frm=9600
     saveenv

     setenv bootfile openwrt-mpc85xx-p2041-freescale_p2041rdb-initramfs-kernel.bin
     setenv fdtfile openwrt-mpc85xx-p2041-freescale_p2041rdb-squashfs-fdt.bin
     setenv loadaddr 1000000
     setenv fdtaddr 2000000
     setenv ipaddr $pick_a_reachable_ip_address
     setenv serverip $your_tftp_server_ip
     tftpboot $fdtaddr $serverip:$fdtfile ; tftpboot $loadaddr $serverip:$bootfile ; bootm $loadaddr - $fdtaddr

  6. Copy sysupgrade image to /tmp on P2041-RDB
  7. sysupgrade /tmp/<filename-of-sysupgrade>.bin

Squashed:

  - Enable CONFIG_CORENET_DEFAULT for p2041-based boards

  - Disable a new kernel config so I may build uninterrupted

    This is, SGY_CTS1000.

  - Update default configs to include DPAA/QorIQ SoC stuff

  - Further update p2041 config-default

    As according to kernel documentation. See
    https://www.kernel.org/doc/html/v5.8/networking/device_drivers/freescale/dpaa.html#configuring-dpaa-ethernet-in-your-kernel

  - Add CONFIG_CLK_QORIQ

    This is actually required for initializing networking h/w. See
    https://community.nxp.com/t5/P-Series/p2041-kernel-upgrade-to-the-4-1-provided-by-2-0-SDK/td-p/650893

Signed-off-by: Martin Kennedy <hurricos@gmail.com>
2021-02-24 22:07:49 +00:00
..
apm821xx kernel: bump 5.4 to 5.4.97 2021-02-11 16:08:28 +01:00
arc770 target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
archs38 target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
armvirt target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
at91 at91: use SPDX license identifiers on DTS files 2021-02-10 15:47:23 +01:00
ath25 target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
ath79 ath79: create common DTSI for Senao qca955x APs 2021-02-24 14:08:30 +01:00
bcm27xx bcm27xx: remove urngd package 2021-02-20 19:55:14 +01:00
bcm47xx target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
bcm53xx kernel: bump 5.4 to 5.4.97 2021-02-11 16:08:28 +01:00
bcm63xx bcm63xx: pinctrl: fix BCM6348 groups 2021-02-23 11:01:20 +01:00
bcm4908 bcm4908: add bcm_sf2 fixes for the 5th GPHY 2021-02-16 07:10:33 +01:00
bmips bmips: fix SMP CPU mapping 2021-02-23 15:25:13 +01:00
gemini target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
generic kernel: add further missing symbols 2021-02-24 02:53:53 +01:00
imx6 kernel: add further missing symbols 2021-02-24 02:53:53 +01:00
ipq40xx treewide: remove redundant KERNEL_PREFIX definitions 2021-02-23 00:26:40 +01:00
ipq806x treewide: remove redundant KERNEL_PREFIX definitions 2021-02-23 00:26:40 +01:00
ipq807x config: limit CONFIG_PERF_EVENTS to top-level generic configs 2021-01-25 14:37:41 +01:00
kirkwood kirkwood: set testing kernel version to 5.10 2021-02-24 02:53:53 +01:00
lantiq lantiq: fritz7320: enable USB power supply 2021-02-18 08:43:08 +01:00
layerscape layerscape: add new devices in README and clean up 2021-02-19 15:30:10 +01:00
malta target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
mediatek mediatek: fix SPDX license identifier on local DTS files 2021-02-19 13:47:45 +01:00
mpc85xx mpc85xx: add support for Freescale (NXP) P2041RDB 2021-02-24 22:07:49 +00:00
mvebu kernel: add further missing symbols 2021-02-24 02:53:53 +01:00
mxs target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
octeon target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
octeontx target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
omap target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
oxnas target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
pistachio target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
ramips ramips: remove obsolete mx25l25635f compatible hack 2021-02-24 00:30:40 +01:00
realtek realtek: add support for Netgear GS108T v3 2021-02-12 08:52:41 +01:00
rockchip rockchip: add Kernel 5.10 support 2021-02-20 01:26:00 +01:00
sunxi target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
tegra target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
uml target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
x86 x86: add led driver for PC Engines APU1 2021-02-20 00:29:18 -10:00
zynq treewide: remove redundant KERNEL_PREFIX definitions 2021-02-23 00:26:40 +01:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00