SOPHOS RED 15w Rev.1
Hardware:
CPU: p1010nse5dfb
NAND: S34ML01G200TFI00
RAM: k4b1g1646ibcma
Installation based upon https://patchwork.ozlabs.org/project/openwrt/patch/20190108002056.6688-1-mail@david-bauer.net/
Use the failsafe when you see this: Press the [f] key and hit [enter] to enter failsafe mode
Set default u-boot bootdelay to permit u-boot manipulation:
fw_setenv bootdelay=3
Use fw_printenv to show variable
Reboot
use printenv command in u-boot, the output should be like that:
baudrate=115200 bdev=sda1 boot_bank0=i2c dev 0; i2c mw 18 1 fe; i2c mw 18 3 0;i2c mw 19 1 2; i2c mw 19 3 e1; reset boot_bank1=i2c dev 0; i2c mw 18 1 fe; i2c mw 18 3 0;i2c mw 19 1 12; i2c mw 19 3 e1; reset boot_nand=i2c dev 0; i2c mw 18 1 fc; i2c mw 18 3 0;i2c mw 19 1 8; i2c mw 19 3 f7; reset boot_sd=i2c dev 0; i2c mw 18 1 f8; i2c mw 18 3 0;i2c mw 19 1 4; i2c mw 19 3 f3; reset boot_spi=i2c dev 0; i2c mw 18 1 fa; i2c mw 18 3 0;i2c mw 19 1 0; i2c mw 19 3 f7; reset bootargs=console=ttyS1,115200 rootfstype=squashfs,jffs2 root=/dev/mtdblock5 bootcmd=setenv bootargs "root=/dev/mtdblock5 console=ttyS0,115200 "; nand read 0xc00000 0x300000 0x100000; nand read 0x1000000 0x400000 0x800000; bootm 0x1000000 - 0xc00000 bootfile=uImage consoledev=ttyS0 eth1addr=<HW MAC> ethact=eTSEC1 ethaddr=HW MAC> ethprime=eTSEC1 fdtaddr=c00000 fdtfile=p1010rdb.dtb fileaddr=1000000 filesize=30bc hwconfig=usb1:dr_mode=host,phy_type=utmi ipaddr=192.168.0. loadaddr=1000000 nandboot=setenv bootargs console=ttyS0,115200 rootfstype=squashfs,jffs2 root=/dev/mtdblock7; nand read 0xc00000 0x3500000 0x20000; nand read 0x1000000 0x3600000 0x500000; bootm 1000000 - c00000 netdev=eth0 othbootargs=ramdisk_size=600000 ramboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs; tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr ramdiskaddr=2000000 ramdiskfile=rootfs.ext2.gz.uboot rootpath=/opt/nfsroot serverip=192.168.1.1 uboot=u-boot.bin usbext2boot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs; usb start;ext2load usb 0:4 $loadaddr $bootfile;ext2load usb 0:4 $fdtaddr $fdtfile;ext2load usb 0:4 $ramdiskaddr $ramdiskfile;bootm $loadaddr $ramdiskaddr $fdtaddr usbfatboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs; usb start;fatload usb 0:2 $loadaddr $bootfile;fatload usb 0:2 $fdtaddr $fdtfile;fatload usb 0:2 $ramdiskaddr $ramdiskfile;bootm $loadaddr $ramdiskaddr $fdtaddr Environment size: 2097/16380 bytes
Edit u-boot environment:
setenv bootargs_owrt "setenv bootargs console=ttyS0,115200" setenv bootcmd "run bootargs_owrt; nand read 0x1000000 0x300000 0x800000; bootm 0x1000000;" saveenv
Then run:
run bootargs_owrt; tftpboot 0x1000000 <tftp server>:kernel.bin; bootm 0x1000000;
Oem Firmware Bootlog
NAND boot... Second program loader running in sram... ************ Tertiary program loader running in sram... U-Boot 1.0.10-QorIQ-SDK-V1.6+gfe1d4f5 (Apr 22 2015 - 15:58:08) CPU: P1010E, Version: 2.0, (0x80f90020) Core: e500, Version: 5.2, (0x80212152) Clock Configuration: CPU0:533.333 MHz, CCB:266.667 MHz, DDR:333.333 MHz (666.667 MT/s data rate) (Asynchronous), IFC:66.667 MHz L1: D-cache 32 KiB enabled I-cache 32 KiB enabled Board: P1010RDB-PB, CPLD: v1.2, PCB: v1.0, Boot from: unknown I2C: ready SPI: ready DRAM: Detected UDIMM Fixed DDR on board 128 MiB (DDR3, 16-bit, CL=5, ECC off) Now running in RAM - U-Boot at: 07ef0000 Flash: None L2: 256 KiB already enabled NAND: 128 MiB MMC: FSL_SDHC: 0 PCIe1: Root Complex of mini PCIe Slot� NAND boot... Second program loader running in sram... ************ Tertiary program loader running in sram... U-Boot 1.0.10-QorIQ-SDK-V1.6+gfe1d4f5 (Apr 22 2015 - 15:58:08) CPU: P1010E, Version: 2.0, (0x80f90020) Core: e500, Version: 5.2, (0x80212152) Clock Configuration: CPU0:533.333 MHz, CCB:266.667 MHz, DDR:333.333 MHz (666.667 MT/s data rate) (Asynchronous), IFC:66.667 MHz L1: D-cache 32 KiB enabled I-cache 32 KiB enabled Board: P1010RDB-PB, CPLD: v1.2, PCB: v1.0, Boot from: unknown I2C: ready SPI: ready DRAM: Detected UDIMM Fixed DDR on board 128 MiB (DDR3, 16-bit, CL=5, ECC off) Now running in RAM - U-Boot at: 07ef0000 Flash: None L2: 256 KiB already enabled NAND: 128 MiB MMC: FSL_SDHC: 0 PCIe1: Root Complex of mini PCIe Slot, x1 gen1, regs @ 0xffe0a000 01:00.0 - 168c:0030 - Network controller PCIe1: Bus 00 - 01 In: serial Out: serial Err: serial Net: eTSEC1 [PRIME], eTSEC2 Hit any key to stop autoboot: 0 NAND read: device 0 offset 0x300000, size 0x100000 1048576 bytes read: OK NAND read: device 0 offset 0x400000, size 0x800000 8388608 bytes read: OK ## Booting kernel from Legacy Image at 01000000 ... Image Name: Linux-3.10.49 Created: 2019-09-03 14:59:27 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1735181 Bytes = 1.7 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 00c00000 Booting using the fdt blob at 0xc00000 Uncompressing Kernel Image ... OK Loading Device Tree to 03ff9000, end 03fff06d ... OK ---------- Booting using OF flat tree... [ 0.000000] Using P1010 RDB machine description [ 0.000000] Memory CAM mapping: 64/64 Mb, residual: 0Mb [ 0.000000] Linux version 3.10.49 (jenkins@kar-nsgci) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #1 Tue Sep 3 16:59:16 CEST 2019 [ 0.000000] bootconsole [udbg0] enabled setup_arch: bootmem p1010_rdb_setup_arch() [ 0.000000] P1010 RDB board from Freescale Semiconductor arch: exit [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x00000000-0x07ffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x07ffffff] [ 0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: root=/dev/mtdblock5 console=ttyS0,115200 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Sorting __ex_table... [ 0.000000] Cannot allocate SWIOTLB buffer [ 0.000000] Memory: 126040k/131072k available (3292k kernel code, 5032k reserved, 172k data, 315k bss, 136k init) [ 0.000000] Kernel virtual memory layout: [ 0.000000] * 0xfffdf000..0xfffff000 : fixmap [ 0.000000] * 0xfdffe000..0xfe000000 : early ioremap [ 0.000000] * 0xc9000000..0xfdffe000 : vmalloc & ioremap [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:512 nr_irqs:512 16 [ 0.000000] mpic: Setting up MPIC " OpenPIC " version 1.2 at ffe40000, max 1 CPUs [ 0.000000] mpic: ISU size: 256, shift: 8, mask: ff [ 0.000000] mpic: Initializing for 256 sources [ 0.000000] clocksource: timebase mult[1e000005] shift[24] registered [ 0.006414] pid_max: default: 32768 minimum: 301 [ 0.011146] Mount-cache hash table entries: 512 [ 0.020471] NET: Registered protocol family 16 [ 0.042351] Found FSL PCI host bridge at 0x00000000ffe0a000. Firmware bus number: 0->255 [ 0.050404] PCI host bridge /pcie@ff70a000 (primary) ranges: [ 0.056040] MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000 [ 0.063258] IO 0x00000000ffc00000..0x00000000ffc0ffff -> 0x0000000000000000 [ 0.070407] /pcie@ff70a000: PCICSRBAR @ 0xfff00000 [ 0.078202] PCI: Probing PCI hardware [ 0.082130] fsl-pci ffe0a000.pcie: PCI host bridge to bus 0000:00 [ 0.088188] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] [ 0.094342] pci_bus 0000:00: root bus resource [mem 0x80000000-0x9fffffff] [ 0.101217] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.106767] pci 0000:00:00.0: ignoring class 0x0b2000 (doesn't match header type 01) [ 0.122510] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 0.127898] pci 0000:00:00.0: BAR 9: can't assign mem pref (size 0x100000) [ 0.134737] pci 0000:01:00.0: BAR 6: assigned [mem 0x80020000-0x8002ffff pref] [ 0.141933] pci 0000:00:00.0: PCI bridge to [bus 01] [ 0.146890] pci 0000:00:00.0: bridge window [io 0x0000-0xffff] [ 0.152979] pci 0000:00:00.0: bridge window [mem 0x80000000-0x9fffffff] [ 0.159759] Some PCI device resources are unassigned, try booting with pci=realloc [ 0.174755] bio: create slab <bio-0> at 0 [ 0.181266] Switching to clocksource timebase [ 0.188794] NET: Registered protocol family 2 [ 0.193553] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.200514] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.206819] TCP: Hash tables configured (established 1024 bind 1024) [ 0.213220] TCP: reno registered [ 0.216405] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.222226] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.228710] NET: Registered protocol family 1 [ 0.234206] fsl-ifc ffe1e000.ifc: Freescale Integrated Flash Controller [ 0.258093] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.263892] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.274813] msgmni has been set to 246 [ 0.279123] io scheduler noop registered [ 0.283015] io scheduler deadline registered (default) [ 0.413912] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled [ 0.421577] serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42) is a 16550A [ 0.428354] console [ttyS0] enabled, bootconsole disabled [ 0.428354] console [ttyS0] enabled, bootconsole disabled [ 0.440420] ffe04500.serial: ttyS0 at MMIO 0xffe04500 (irq = 42) is a 16550 [ 0.449814] ONFI param page 0 valid [ 0.453316] ONFI flash detected [ 0.456489] NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD/Spansion S34ML01G2), 128MiB, page size: 2048, OOB size: 64 [ 0.468306] Bad block table found at page 65472, version 0x01 [ 0.474880] Bad block table found at page 65408, version 0x01 [ 0.481567] 10 ofpart partitions found on MTD device ff800000.flash [ 0.487889] Creating 10 MTD partitions on "ff800000.flash": [ 0.493487] 0x000000000000-0x000000100000 : "NAND U-Boot Image" [ 0.500814] 0x000000100000-0x000000200000 : "NAND U-Boot Environment" [ 0.508615] 0x000000200000-0x000000300000 : "Provisioning" [ 0.515430] 0x000000300000-0x000000400000 : "fdt1" [ 0.521550] 0x000000400000-0x000000c00000 : "uimage1" [ 0.527952] 0x000000c00000-0x000001c00000 : "rootfs1" [ 0.534425] 0x000001c00000-0x000001d00000 : "fdt2" [ 0.540594] 0x000001d00000-0x000002500000 : "uimage2" [ 0.547003] 0x000002500000-0x000003500000 : "rootfs2" [ 0.553470] 0x000003500000-0x000008000000 : "data" [ 0.559685] fsl,ifc-nand ff800000.nand: IFC NAND device at 0xff800000, bank 0 [ 0.567945] fsl_espi ffe07000.spi: master is unqueued, this is deprecated [ 0.575382] m25p80 spi32766.0: found mr25h256, expected s25sl12801 [ 0.581630] m25p80 spi32766.0: mr25h256 (32 Kbytes) [ 0.586789] 5 ofpart partitions found on MTD device spi32766.0 [ 0.592671] Creating 5 MTD partitions on "spi32766.0": [ 0.597837] 0x000000000000-0x000000100000 : "SPI Flash U-Boot Image" [ 0.604215] mtd: partition "SPI Flash U-Boot Image" extends beyond the end of device "spi32766.0" -- size truncated to 0x8000 [ 0.616858] 0x000000100000-0x000000180000 : "SPI Flash DTB Image" [ 0.623006] mtd: partition "SPI Flash DTB Image" is out of reach -- disabled [ 0.631360] 0x000000180000-0x000000580000 : "SPI Flash Linux Kernel Image" [ 0.638291] mtd: partition "SPI Flash Linux Kernel Image" is out of reach -- disabled [ 0.647439] 0x000000580000-0x000000980000 : "SPI Flash Compressed RFSImage" [ 0.654457] mtd: partition "SPI Flash Compressed RFSImage" is out of reach -- disabled [ 0.663720] 0x000000980000-0x000001000000 : "SPI Flash JFFS2 RFS" [ 0.669869] mtd: partition "SPI Flash JFFS2 RFS" is out of reach -- disabled [ 0.678547] fsl_espi ffe07000.spi: chipselect 0 already in use [ 0.684440] spi_master spi32766: spi_device register error /soc@ffe00000/spi@7000/slic@0 [ 0.692570] fsl_espi ffe07000.spi: at 0xc901e000 (irq = 59) [ 0.700969] libphy: Fixed MDIO Bus: probed [ 0.705832] libphy: Freescale PowerQUICC MII Bus: probed [ 0.711469] mdio_bus mdio@ffe24000: cannot get PHY at address 29 [ 0.718639] libphy: Freescale PowerQUICC MII Bus: probed [ 0.725423] fsl-gianfar ethernet.1: enabled errata workarounds, flags: 0x4 [ 0.743135] fsl-gianfar ethernet.1 eth0: mac: <HW MAC> [ 0.749115] fsl-gianfar ethernet.1 eth0: Running with NAPI enabled [ 0.755324] fsl-gianfar ethernet.1 eth0: RX BD ring size for Q[0]: 256 [ 0.761879] fsl-gianfar ethernet.1 eth0: TX BD ring size for Q[0]: 256 [ 0.768641] fsl-gianfar ethernet.2: enabled errata workarounds, flags: 0x4 [ 0.786396] fsl-gianfar ethernet.2 eth1: mac: <HW MAC> [ 0.792377] fsl-gianfar ethernet.2 eth1: Running with NAPI enabled [ 0.798586] fsl-gianfar ethernet.2 eth1: RX BD ring size for Q[0]: 256 [ 0.805141] fsl-gianfar ethernet.2 eth1: TX BD ring size for Q[0]: 256 [ 0.812036] ucc_geth_driver: QE UCC Gigabit Ethernet Controller [ 0.822807] caam ffe30000.crypto: device ID = 0x0a14010000000000 (Era 3) [ 0.829572] caam ffe30000.crypto: job rings = 4, qi = 0 [ 0.837545] caam ffe30000.crypto: fsl,sec-v4.4 algorithms registered in /proc/crypto [ 0.849623] platform ffe31000.jr: registering rng-caam [ 0.855347] TCP: cubic registered [ 0.858717] NET: Registered protocol family 17 [ 0.863283] Bridge firewalling registered [ 0.867348] 8021q: 802.1Q VLAN Support v1.8 [ 0.871560] REDv2: Loading module [ 0.880821] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 0.888326] Freeing unused kernel memory: 136K (c0315000 - c0337000) procd: Console is alive [ 2.590876] usbcore: registered new interface driver usbfs [ 2.596665] usbcore: registered new interface driver hub [ 2.602328] usbcore: registered new device driver usb [ 2.619305] SCSI subsystem initialized [ 2.629003] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.635701] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller [ 2.642386] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1 [ 2.659633] fsl-ehci fsl-ehci.0: irq 28, io mem 0xffe22000 [ 2.673609] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00 [ 2.680009] hub 1-0:1.0: USB hub found [ 2.683838] hub 1-0:1.0: 1 port detected [ 2.688998] ehci-platform: EHCI generic platform driver [ 2.696634] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.705882] uhci_hcd: USB Universal Host Controller Interface driver [ 2.716691] usbcore: registered new interface driver usb-storage procd: - preinit - Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 5.001619] libphy: fixed-0:00 - Link is Up - 1000/Full searching for config partition "data" mounting ramdisk searching for romconfig partition "Provisioning" trying to mount romconfig OK checking if config partition is valid trying to mount config [ 5.959542] jffs2: notice: (987) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. OK merging partitions overlay of "astaro/cfg" overlay of "astaro/wifi" overlay of "astaro/overlay" procd: - early - procd: - ubus - procd: - init - Please press Enter to activate this console. [ 10.772414] Loading modules backported from Linux version master-2015-06-03-0-g4318dca [ 10.780392] Backport generated by backports.git backports-20150525-0-g49969bd [ 10.807718] lib80211: common routines for IEEE802.11 drivers [ 10.835502] nf_conntrack version 0.5.0 (1971 buckets, 7884 max) [ 10.924496] Netfilter messages via NETLINK v0.30. [ 10.949765] usbcore: registered new interface driver ums-alauda [ 10.962157] usbcore: registered new interface driver ums-cypress [ 10.978175] usbcore: registered new interface driver ums-datafab [ 10.992724] usbcore: registered new interface driver ums-freecom [ 11.007369] usbcore: registered new interface driver ums-isd200 [ 11.021081] usbcore: registered new interface driver ums-jumpshot [ 11.036603] usbcore: registered new interface driver ums-karma [ 11.053767] usbcore: registered new interface driver ums-sddr09 [ 11.066162] usbcore: registered new interface driver ums-sddr55 [ 11.082189] usbcore: registered new interface driver ums-usbat [ 11.105769] usbcore: registered new interface driver usbserial [ 11.112047] usbcore: registered new interface driver usbserial_generic [ 11.129652] usbserial: USB Serial support registered for generic [ 11.251121] xt_time: kernel timezone is -0000 [ 11.301781] Ebtables v2.0 registered [ 11.329820] ip_tables: (C) 2000-2006 Netfilter Core Team [ 11.358164] usbcore: registered new interface driver keyspan [ 11.368380] usbserial: USB Serial support registered for Keyspan - (without firmware) [ 11.384468] usbserial: USB Serial support registered for Keyspan 1 port adapter [ 11.401652] usbserial: USB Serial support registered for Keyspan 2 port adapter [ 11.413768] usbserial: USB Serial support registered for Keyspan 4 port adapter [ 11.442540] ctnetlink v0.93: registering with nfnetlink. [ 11.476246] usbcore: registered new interface driver pl2303 [ 11.483833] usbserial: USB Serial support registered for pl2303 [ 11.501792] PPP generic driver version 2.4.2 [ 11.515127] NET: Registered protocol family 24 [ 11.545767] usbcore: registered new interface driver option [ 11.557770] usbserial: USB Serial support registered for GSM modem (1-port) [ 18.273835] cfg80211: Calling CRDA to update world regulatory domain [ 18.333640] cfg80211: World regulatory domain updated: [ 18.338832] cfg80211: DFS Master region: unset [ 18.343203] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 18.352984] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 18.361018] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 18.369057] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 18.377090] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 18.385128] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 18.394642] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 18.402763] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 18.410795] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 19.054999] cfg80211: Calling CRDA for country: AW [ 19.069922] cfg80211: Regulatory domain changed to country: AW [ 19.075823] cfg80211: DFS Master region: ETSI [ 19.080108] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 19.089889] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 19.097925] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A) [ 19.107441] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 19.116956] cfg80211: (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s) [ 19.129796] ieee80211 phy0: Atheros AR9300 Rev:3 mem=0xc9980000, irq=17 procd: - init complete - [ 24.094144] libphy: fixed-0:00 - Link is Up - 1000/Full [ 24.110311] libphy: mdio@ffe24000:03 - Link is Down [ 30.136129] device eth0 entered promiscuous mode [ 30.150521] br-lan: port 1(eth0) entered forwarding state [ 30.156016] br-lan: port 1(eth0) entered forwarding state [ 30.181919] device redc0 entered promiscuous mode [ 30.186834] br-lan: port 2(redc0) entered forwarding state [ 30.192389] br-lan: port 2(redc0) entered forwarding state [ 30.197935] no peer [ 32.133634] libphy: fixed-0:00 - Link is Up - 1000/Full [ 32.157634] br-lan: port 1(eth0) entered forwarding state [ 32.193629] br-lan: port 2(redc0) entered forwarding state [ 32.218314] libphy: mdio@ffe24000:03 - Link is Down
Oem Firmware OpenWRT version
cat /etc/openwrt_release
DISTRIB_ID="OpenWrt" DISTRIB_RELEASE="Barrier Breaker" DISTRIB_REVISION="unknown" DISTRIB_CODENAME="barrier_breaker" DISTRIB_TARGET="mpc85xx/generic" DISTRIB_DESCRIPTION="OpenWrt Barrier Breaker 14.07" DISTRIB_TAINTS="no-all no-ipv6 busybox"
OpenWRT Initramfs Firmware Bootlog
Filename 'kernel.bin'. Load address: 0x1000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ### 3.5 MiB/s done Bytes transferred = 7669800 (750828 hex) ## Loading kernel from FIT Image at 01000000 ... Using 'config-1' configuration Trying 'kernel-1' kernel subimage Description: POWERPC OpenWrt Linux-5.10.146 Created: 2022-10-14 22:44:41 UTC Type: Kernel Image Compression: gzip compressed Data Start: 0x010000ec Data Size: 7656800 Bytes = 7.3 MiB Architecture: PowerPC OS: Linux Load Address: 0x00000000 Entry Point: 0x00000000 Hash algo: crc32 Hash value: b31b86ee Hash algo: sha1 Hash value: 3f1a2fb15d23816a4b9a78ae47b25bb0dc197d7f Verifying Hash Integrity ... crc32+ sha1+ OK ## Loading fdt from FIT Image at 01000000 ... Using 'config-1' configuration Trying 'fdt-1' fdt subimage Description: POWERPC OpenWrt sophos_red-15w-rev1 device tree blob Created: 2022-10-14 22:44:41 UTC Type: Flat Device Tree Compression: uncompressed Data Start: 0x0174d794 Data Size: 11084 Bytes = 10.8 KiB Architecture: PowerPC Hash algo: crc32 Hash value: 4fae21c2 Hash algo: sha1 Hash value: ff6b95bd207f0ec59d7ff8f5310b04d3bf448985 Verifying Hash Integrity ... crc32+ sha1+ OK Booting using the fdt blob at 0x174d794 Uncompressing Kernel Image ... OK Loading Device Tree to 03ffa000, end 03fffb4b ... OK ---------- Booting using OF flat tree... [ 0.000000] Memory CAM mapping: 64/64 Mb, residual: 0Mb [ 0.000000] Linux version 5.10.146 (builder@buildhost) (powerpc-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r19803-9a599fee93) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Fri Oct 14 22:44:41 2022 [ 0.000000] Using P1010 RDB machine description [ 0.000000] ioremap() called early from 0xc0730134. Use early_ioremap() instead [ 0.000000] printk: bootconsole [udbg0] enabled [ 0.000000] ----------------------------------------------------- [ 0.000000] phys_mem_size = 0x8000000 [ 0.000000] dcache_bsize = 0x20 [ 0.000000] icache_bsize = 0x20 [ 0.000000] cpu_features = 0x0000000010010128 [ 0.000000] possible = 0x0000000010010128 [ 0.000000] always = 0x0000000010010128 [ 0.000000] cpu_user_features = 0x84e08000 0x08000000 [ 0.000000] mmu_features = 0x00020010 [ 0.000000] ----------------------------------------------------- red_15w_rev1_setup_arch() [ 0.000000] RED 15w Rev.1 from Sophos [ 0.000000] barrier-nospec: using isync; sync as speculation barrier [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480 [ 0.000000] Kernel command line: console=ttyS0,115200 [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: Cannot allocate buffer [ 0.000000] Memory: 117548K/131072K available (6540K kernel code, 652K rwdata, 800K rodata, 3940K init, 225K bss, 13524K reserved, 0K cma-reserved) [ 0.000000] Kernel virtual memory layout: [ 0.000000] * 0xffbdf000..0xfffff000 : fixmap [ 0.000000] * 0xffbdd000..0xffbdf000 : early ioremap [ 0.000000] * 0xc9000000..0xffbdd000 : vmalloc & ioremap [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16 [ 0.000000] mpic: Setting up MPIC " OpenPIC " version 1.2 at ffe40000, max 1 CPUs [ 0.000000] mpic: ISU size: 256, shift: 8, mask: ff [ 0.000000] mpic: Initializing for 256 sources [ 0.000016] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x7b00c4bad, max_idle_ns: 440795202744 ns [ 0.010210] clocksource: timebase mult[1e000005] shift[24] registered [ 0.016769] pid_max: default: 32768 minimum: 301 [ 0.021510] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.028777] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.038634] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build [ 0.049218] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.059030] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.067995] NET: Registered protocol family 16 [ 0.073353] thermal_sys: Registered thermal governor 'step_wise' [ 0.088424] Found FSL PCI host bridge at 0x00000000ffe0a000. Firmware bus number: 0->255 [ 0.102468] PCI host bridge /pcie@ffe0a000 (primary) ranges: [ 0.108140] MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000 [ 0.115334] IO 0x00000000ffc00000..0x00000000ffc0ffff -> 0x0000000000000000 [ 0.122532] /pcie@ffe0a000: PCICSRBAR @ 0xfff00000 [ 0.127249] setup_pci_atmu: end of DRAM 8000000 [ 0.133453] PCI: Probing PCI hardware [ 0.137201] fsl-pci ffe0a000.pcie: PCI host bridge to bus a000:00 [ 0.143270] pci_bus a000:00: root bus resource [io 0x0000-0xffff] [ 0.149407] pci_bus a000:00: root bus resource [mem 0x80000000-0x9fffffff] [ 0.156294] pci_bus a000:00: root bus resource [bus 00-ff] [ 0.161763] pci_bus a000:00: busn_res: [bus 00-ff] end is updated to ff [ 0.168436] pci a000:00:00.0: [1957:0128] type 01 class 0x060400 [ 0.174390] pci a000:00:00.0: reg 0x10: [mem 0xfff00000-0xffffffff] [ 0.180739] pci a000:00:00.0: supports D1 D2 [ 0.184937] pci a000:00:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.193294] pci a000:01:00.0: [168c:0030] type 00 class 0x028000 [ 0.199264] pci a000:01:00.0: reg 0x10: [mem 0x80000000-0x8001ffff 64bit] [ 0.206098] pci a000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 0.212842] pci a000:01:00.0: supports D1 [ 0.216796] pci a000:01:00.0: PME# supported from D0 D1 D3hot [ 0.248267] pci a000:00:00.0: PCI bridge to [bus 01-ff] [ 0.253438] pci a000:00:00.0: bridge window [mem 0x80000000-0x800fffff] [ 0.260262] pci_bus a000:01: busn_res: [bus 01-ff] end is updated to 01 [ 0.266833] pci_bus a000:00: busn_res: [bus 00-ff] end is updated to 01 [ 0.273623] PCI: Cannot allocate resource region 0 of device a000:00:00.0, will remap [ 0.281445] pci a000:00:00.0: BAR 0: no space for [mem size 0x00100000] [ 0.288032] pci a000:00:00.0: BAR 0: failed to assign [mem size 0x00100000] [ 0.294975] pci a000:01:00.0: BAR 6: assigned [mem 0x80020000-0x8002ffff pref] [ 0.302201] pci a000:00:00.0: PCI bridge to [bus 01] [ 0.307147] pci a000:00:00.0: bridge window [io 0x0000-0xffff] [ 0.313247] pci a000:00:00.0: bridge window [mem 0x80000000-0x9fffffff] [ 0.320021] pci_bus a000:00: Some PCI device resources are unassigned, try booting with pci=realloc [ 0.329080] pci_bus a000:00: resource 4 [io 0x0000-0xffff] [ 0.334636] pci_bus a000:00: resource 5 [mem 0x80000000-0x9fffffff] [ 0.340907] pci_bus a000:01: resource 0 [io 0x0000-0xffff] [ 0.346467] pci_bus a000:01: resource 1 [mem 0x80000000-0x9fffffff] [ 0.383986] EDAC MC: Ver: 3.0.0 [ 0.390717] fsl-ifc ffe1e000.ifc: Freescale Integrated Flash Controller [ 0.397366] fsl-ifc ffe1e000.ifc: IFC version 1.0, 4 banks [ 0.406627] clocksource: Switched to clocksource timebase [ 0.412976] NET: Registered protocol family 2 [ 0.417541] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.425447] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.433867] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.441504] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.448527] TCP: Hash tables configured (established 1024 bind 1024) [ 0.454990] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.461519] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.468709] NET: Registered protocol family 1 [ 0.473068] PCI: CLS 32 bytes, default 32 [ 8.119427] workingset: timestamp_bits=14 max_order=15 bucket_order=1 [ 8.130685] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 8.136456] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 8.147864] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 8.181972] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled j+dHH��.194780] serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42, base_baud = 16666666) is a 16550A [ 8.203485] printk: console [ttyS0] enabled [ 8.203485] printk: console [ttyS0] enabled [ 8.211793] printk: bootconsole [udbg0] disabled [ 8.211793] printk: bootconsole [udbg0] disabled [ 8.221962] printk: console [ttyS0] disabled [ 8.226398] printk: console [ttyS0] enabled [ 8.404233] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1 [ 8.410648] nand: AMD/Spansion S34ML01G2 [ 8.414580] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 8.422761] Bad block table found at page 65472, version 0x01 [ 8.429369] Bad block table found at page 65408, version 0x01 [ 8.471924] 8 fixed-partitions partitions found on MTD device ff800000.flash [ 8.479045] Creating 8 MTD partitions on "ff800000.flash": [ 8.484549] 0x000000000000-0x000000100000 : "u-boot" [ 8.490526] 0x000000100000-0x000000200000 : "u-boot-env" [ 8.498290] 0x000000200000-0x000000300000 : "provisioning" [ 8.504773] 0x000000300000-0x000000b00000 : "kernel" [ 8.512208] 0x000000b00000-0x000008000000 : "ubi" [ 8.518595] 0x000000300000-0x000001c00000 : "sophos-os1" [ 8.526432] 0x000001c00000-0x000003500000 : "sophos-os2" [ 8.532911] 0x000003500000-0x000008000000 : "sophos-data" [ 8.544239] fsl,ifc-nand ff800000.nand: IFC NAND device at 0xff800000, bank 0 [ 8.558649] fsl_espi ffe07000.spi: irq = 59 [ 8.629648] fsl-gianfar soc@ffe00000:ethernet@b0000: enabled errata workarounds, flags: 0x4 [ 8.648762] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: mac: <HW MAC> [ 8.656191] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: Running with NAPI enabled [ 8.663911] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: RX BD ring size for Q[0]: 256 [ 8.671962] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: TX BD ring size for Q[0]: 256 [ 8.680478] fsl-gianfar soc@ffe00000:ethernet@b1000: enabled errata workarounds, flags: 0x4 [ 8.699454] fsl-gianfar soc@ffe00000:ethernet@b1000 eth1: mac: <HW MAC> [ 8.706929] fsl-gianfar soc@ffe00000:ethernet@b1000 eth1: Running with NAPI enabled [ 8.714605] fsl-gianfar soc@ffe00000:ethernet@b1000 eth1: RX BD ring size for Q[0]: 256 [ 8.722642] fsl-gianfar soc@ffe00000:ethernet@b1000 eth1: TX BD ring size for Q[0]: 256 [ 8.730877] ucc_geth_driver: QE UCC G2] mpc-i2c ffe03000.i2c: timeout 1000000 us [ 8.742865] mpc-i2c ffe03100.i2c: timeout 1000000 us [ 8.748486] booke_wdt: powerpc book-e watchdog driver loaded [ 8.754336] Freescale(R) MPC85xx EDAC driver, (C) 2006 Montavista Software [ 8.762568] EDAC PCI0: Giving out device to module MPC85xx_edac controller mpc85xx_pci_err: DEV mpc85xx-pci-edac.0.auto (INTERRUPT) [ 8.774519] MPC85xx_edac acquired irq 16 for PCI Err [ 8.779532] MPC85xx_edac PCI err registered [ 8.784582] NET: Registered protocol family 10 [ 8.799250] Segment Routing with IPv6 [ 8.803021] NET: Registered protocol family 17 [ 8.807610] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 8.820632] 8021q: 802.1Q VLAN Support v1.8 [ 8.824882] drmem: No dynamic reconfiguration memory found [ 8.834074] UBI error: no valid UBI magic found inside mtd4 [ 8.851634] Freeing unused kernel memory: 3940K [ 8.856234] Run /init as init process [ 9.619241] init: Console is alive [ 9.623071] init: - watchdog - [ 9.644807] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 9.667820] usbcore: registered new interface driver usbfs [ 9.673435] usbcore: registered new interface driver hub [ 9.678923] usbcore: registered new device driver usb [ 9.690012] Button Hotplug driver version 0.4.1 [ 9.697745] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 9.705701] ehci-fsl: Freescale EHCI Host controller driver [ 9.713380] ehci-platform: EHCI generic platform driver [ 9.720381] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller [ 9.727125] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1 [ 9.744405] fsl-ehci fsl-ehci.0: irq 28, io mem 0xffe22000 [ 9.776669] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00 [ 9.783292] hub 1-0:1.0: USB hub found [ 9.787832] hub 1-0:1.0: 1 port detected [ 9.801335] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 9.819129] init: - preinit - [ 9.993769] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: Link is Up - 1Gbps/Full - flow control off [ 10.003496] random: procd: uninitialized urandom read (4 bytes read) [ 10.025466] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 10.076828] usb 1-1: new high-speed USB device number 2 using fsl-ehci [ 14.170206] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: Link is Down [ 14.185481] procd: - early - [ 14.189443] procd: - watchdog - [ 15.517491] procd: - watchdog - [ 15.521163] procd: - ubus - [ 15.531625] random: ubusd: uninitialized urandom read (4 bytes read) [ 15.574859] random: ubusd: uninitialized urandom read (4 bytes read) [ 15.581886] random: ubusd: uninitialized urandom read (4 bytes read) [ 15.593350] procd: - init - Please press Enter to activate this console. [ 16.182263] kmodloader: loading kernel modules from /etc/modules.d/* [ 16.697309] urngd: v1.0.2 started. [ 16.806389] Loading modules backported from Linux version v5.15.58-0-g7d8048d4e064 [ 16.814030] Backport generated by backports.git v5.15.58-1-0-g42a95ce7 [ 16.996258] random: crng init done [ 16.999744] random: 23 urandom warning(s) missed due to ratelimiting [ 17.059433] PPP generic driver version 2.4.2 [ 17.067698] NET: Registered protocol family 24 [ 17.130331] ieee80211 phy0: Atheros AR9300 Rev:3 mem=0xc9420000, irq=17 [ 17.157095] kmodloader: done loading kernel modules from /etc/modules.d/* [ 34.324578] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: Link is Up - 1Gbps/Full - flow control off [ 34.347112] br-lan: port 1(eth0) entered blocking state [ 34.352365] br-lan: port 1(eth0) entered disabled state [ 34.357980] device eth0 entered promiscuous mode [ 34.413262] br-lan: port 1(eth0) entered blocking state [ 34.418558] br-lan: port 1(eth0) entered forwarding state [ 35.376839] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 37.697529] fsl-gianfar soc@ffe00000:ethernet@b1000 eth1: Link is Up - 1Gbps/Full - flow control off [ 37.706751] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready