Skip to content

Instantly share code, notes, and snippets.

@damex
Created October 8, 2020 10:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save damex/65d90e7b546f09112457a947f10b5c2c to your computer and use it in GitHub Desktop.
Save damex/65d90e7b546f09112457a947f10b5c2c to your computer and use it in GitHub Desktop.
Octeon ubnt_e300(ram)# usb start
(Re)start USB...
USB0: Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... cannot reset port 1!?
2 USB Device(s) found
USB1: Starting the controller
USB XHCI 1.00
scanning bus 1 for devices... 1 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Octeon ubnt_e300(ram)# fatload usb 0:1 0x20000000 openwrt-octeon-ubnt_edgerouter4-initramfs-kernel.bin
reading openwrt-octeon-ubnt_edgerouter4-initramfs-kernel.bin
18567608 bytes read in 358 ms (49.5 MiB/s)
Octeon ubnt_e300(ram)# bootoctlinux 0 numcores=4 endbootargs mem=0
Allocating memory for ELF segment: addr: 0xffffffff81100000 (adjusted to: 0x1100000), size 0x2309660
## Loading big-endian Linux kernel with entry point: 0xffffffff816ee340 ...
L2C_TAD0_INT.bigrd is set.
This inidicates that a read reference past L2C_BIG_CTL.maxdram
has occurred. This can happen during normal operation and may be beneign.
bigrd: 1
bigwr: 0
holerd: 0
holewr: 0
XMC command: 0x0
source: 0x8
node: 0
address: 0x696e31f8
Bootloader: Done loading app on coremask:
0xf
Starting cores:
0xf
[ 0.000000] Linux version 5.4.69 (vagrant@builder) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14641-582ba9ddc7)) #0 SMP Wed Oct 7 19:23:27 2020
[ 0.000000] Skipping L2 locking due to reduced L2 cache size
[ 0.000000] CVMSEG size: 2 cache lines (256 bytes)
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 000d9602 (Cavium Octeon III)
[ 0.000000] Checking for the multiply/shift bug... no.
[ 0.000000] Checking for the daddiu bug... no.
[ 0.000000] Kernel sections are not in the memory maps
[ 0.000000] Wasting 278528 bytes for tracking 4352 unused pages
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Using passed Device Tree.
[ 0.000000] software IO TLB: mapped [mem 0x0350c000-0x0354c000] (0MB)
[ 0.000000] Primary instruction cache 78kB, virtually tagged, 39 way, 16 sets, linesize 128 bytes.
[ 0.000000] Primary data cache 32kB, 32-way, 8 sets, linesize 128 bytes.
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000001100000-0x00000000efffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000001100000-0x0000000003409fff]
[ 0.000000] node 0: [mem 0x0000000003500000-0x000000000fcfffff]
[ 0.000000] node 0: [mem 0x0000000020000000-0x000000004ebfffff]
[ 0.000000] Zeroed struct page in unavailable ranges: 10486 pages
[ 0.000000] Initmem setup node 0 [mem 0x0000000001100000-0x000000004ebfffff]
[ 0.000000] percpu: Embedded 18 pages/cpu s35872 r8192 d29664 u73728
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 247725
[ 0.000000] Kernel command line: mtdparts=phys_mapped_flash:2048k(boot0)ro,2048k(boot1)ro,64k(eeprom)ro root=/dev/mmcblk0p2 rootfstype=squashfs,ext4 rootwait console=ttyS0,
115200
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 952216K/1006632K available (6100K kernel code, 344K rwdata, 1444K rodata, 11300K init, 16677K bss, 54416K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: CONFIG_RCU_FANOUT set to non-default value of 32.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 127
[ 0.000000] CIB interrupt controller probed: 800107000000e000 23
[ 0.000000] CIB interrupt controller probed: 800107000000e200 12
[ 0.000000] CIB interrupt controller probed: 800107000000e400 6
[ 0.000000] CIB interrupt controller probed: 800107000000ec00 15
[ 0.000000] CIB interrupt controller probed: 800107000000e600 4
[ 0.000000] CIB interrupt controller probed: 800107000000e800 11
[ 0.000000] CIB interrupt controller probed: 800107000000e900 11
[ 0.000000] random: get_random_bytes called from start_kernel+0x320/0x578 with crng_init=0
[ 1.366353] clocksource: OCTEON_CVMCOUNT: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 1.385499] Calibrating delay loop (skipped) preset value.. 2000.00 BogoMIPS (lpj=4000000)
[ 1.393731] pid_max: default: 32768 minimum: 301
[ 1.398424] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 1.405696] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 1.414103] Checking for the daddi bug... no.
[ 1.418866] rcu: Hierarchical SRCU implementation.
[ 1.423760] smp: Bringing up secondary CPUs ...
[ 1.428412] SMP: Booting CPU01 (CoreId 1)...
[ 1.432693] CPU1 revision is: 000d9602 (Cavium Octeon III)
[ 1.433060] SMP: Booting CPU02 (CoreId 2)...
[ 1.442773] CPU2 revision is: 000d9602 (Cavium Octeon III)
[ 1.443122] SMP: Booting CPU03 (CoreId 3)...
[ 1.452833] CPU3 revision is: 000d9602 (Cavium Octeon III)
[ 1.452934] smp: Brought up 1 node, 4 CPUs
[ 1.464860] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 1.474468] futex hash table entries: 1024 (order: 5, 131072 bytes, linear)
[ 1.481893] NET: Registered protocol family 16
[ 1.491934] PCIe: Initializing port 0
[ 1.498773] PCIe: BIST2 FAILED for port 0 (0x0000000000000003)
[ 1.678929] random: fast init done
[ 3.504465] PCIe: Link timeout on port 0, probably the slot is empty
[ 3.510811] PCIe: Initializing port 1
[ 3.517781] PCIe: BIST FAILED for port 1 (0xffffffffffffffff)
[ 5.530729] PCIe: Link timeout on port 1, probably the slot is empty
[ 5.542925] SCSI subsystem initialized
[ 5.546729] usbcore: registered new interface driver usbfs
[ 5.552104] usbcore: registered new interface driver hub
[ 5.557396] usbcore: registered new device driver usb
[ 5.562563] PCI host bridge to bus 0000:00
[ 5.566509] pci_bus 0000:00: root bus resource [mem 0x1000000000000]
[ 5.572829] pci_bus 0000:00: root bus resource [io 0x0000]
[ 5.578383] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 5.585158] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 5.593651] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 5.600153] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 5.610463] clocksource: Switched to clocksource OCTEON_CVMCOUNT
[ 5.616963] NET: Registered protocol family 2
[ 5.621580] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 5.629801] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 5.637571] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 5.644811] TCP: Hash tables configured (established 8192 bind 8192)
[ 5.651119] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 5.657665] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 5.664839] NET: Registered protocol family 1
[ 5.669057] PCI: CLS 0 bytes, default 128
[ 5.725163] platform 1180068000000.uctl: clocks initialized.
[ 5.730751] platform 1180069000000.uctl: clocks initialized.
[ 5.737185] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 5.749085] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 5.754893] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 5.766538] octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO driver probed.
[ 5.774044] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 5.780678] printk: console [ttyS0] disabled
[ 5.784831] 1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 46, base_baud = 25000000) is a OCTEON
[ 5.794620] printk: console [ttyS0] enabled
[ 5.794620] printk: console [ttyS0] enabled
[ 5.802936] printk: bootconsole [early0] disabled
[ 5.802936] printk: bootconsole [early0] disabled
[ 5.812604] 1180000000c00.serial: ttyS1 at MMIO 0x1180000000c00 (irq = 47, base_baud = 25000000) is a OCTEON
[ 5.822710] octeon_rng octeon_rng: Octeon Random Number Generator
[ 5.832447] loop: module loaded
[ 5.836160] libphy: mdio_octeon: probed
[ 5.859229] mdio_octeon 1180000001800.mdio: Probed
[ 5.864170] libphy: mdio_octeon: probed
[ 5.868028] mdio_octeon 1180000001900.mdio: Probed
[ 5.873020] libphy: Fixed MDIO Bus: probed
[ 5.877880] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.884426] ehci-pci: EHCI PCI platform driver
[ 5.888917] ehci-platform: EHCI generic platform driver
[ 5.894249] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.900453] ohci-platform: OHCI generic platform driver
[ 5.905816] usbcore: registered new interface driver usb-storage
[ 5.911837] octeon_wdt: Initial granularity 5 Sec
[ 5.944080] Interface 0 has 4 ports (SGMII)
[ 5.948336] Interface 1 has 4 ports (SGMII)
[ 5.953362] Interface 3 has 4 ports (LOOP)
[ 5.964310] NET: Registered protocol family 10
[ 5.970604] Segment Routing with IPv6
[ 5.974335] NET: Registered protocol family 17
[ 5.978842] 8021q: 802.1Q VLAN Support v1.8
[ 5.983558] OF: fdt: not creating '/sys/firmware/fdt': CRC check failed
[ 5.995317] Freeing unused kernel memory: 11300K
[ 5.999953] This architecture does not have kernel memory protection.
[ 6.006397] Run /init as init process
[ 6.015696] init: Console is alive
[ 6.019255] init: - watchdog -
[ 6.027363] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.035305] dwc3 1680000000000.xhci: Configuration mismatch. dr_mode forced to host
[ 6.043299] dwc3 1690000000000.xhci: Configuration mismatch. dr_mode forced to host
[ 6.054656] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 6.060237] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 6.068005] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f06d hci version 0x100 quirks 0x0000000002010010
[ 6.077439] xhci-hcd xhci-hcd.0.auto: irq 44, io mem 0x1680000000000
[ 6.084370] hub 1-0:1.0: USB hub found
[ 6.088190] hub 1-0:1.0: 1 port detected
[ 6.092383] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 6.097904] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 6.105576] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 6.112209] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 6.120697] hub 2-0:1.0: USB hub found
[ 6.124525] hub 2-0:1.0: 1 port detected
[ 6.128769] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 6.134298] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 6.142056] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f06d hci version 0x100 quirks 0x0000000002010010
[ 6.151493] xhci-hcd xhci-hcd.1.auto: irq 45, io mem 0x1690000000000
[ 6.158435] hub 3-0:1.0: USB hub found
[ 6.162247] hub 3-0:1.0: 1 port detected
[ 6.166405] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 6.171929] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 6.179599] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 6.186200] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 6.194740] hub 4-0:1.0: USB hub found
[ 6.198546] hub 4-0:1.0: 1 port detected
[ 6.202922] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.214263] init: - preinit -
[ 6.318223] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.342143] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.362053] random: jshn: uninitialized urandom read (4 bytes read)
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
[ 7.186528] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[ 7.212410] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 7.218776] scsi host0: usb-storage 2-1:1.0
[ 8.243140] scsi 0:0:0:0: Direct-Access SanDisk Ultra Fit 1.00 PQ: 0 ANSI: 6
[ 8.252189] sd 0:0:0:0: [sda] 60063744 512-byte logical blocks: (30.8 GB/28.6 GiB)
[ 8.260200] sd 0:0:0:0: [sda] Write Protect is off
[ 8.265423] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 8.277976] sda: sda1
[ 8.282010] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 10.454864] procd: - early -
[ 10.457799] procd: - watchdog -
[ 10.976581] procd: - watchdog -
[ 10.979912] procd: - ubus -
[ 10.985908] urandom_read: 1 callbacks suppressed
[ 10.985914] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.032512] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.039058] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.045840] procd: - init -
Please press Enter to activate this console.
[ 11.179971] kmodloader: loading kernel modules from /etc/modules.d/*
[ 11.189076] urngd: v1.0.2 started.
[ 11.197785] xt_time: kernel timezone is -0000
[ 11.209189] PPP generic driver version 2.4.2
[ 11.214088] NET: Registered protocol family 24
[ 11.222825] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 11.233706] random: crng init done
[ 11.237133] random: 3 urandom warning(s) missed due to ratelimiting
[ 15.382065] mmc0: new DDR MMC card at address 0001
[ 15.387347] mmcblk0: mmc0:0001 SEM04G 3.69 GiB
[ 15.392068] mmcblk0boot0: mmc0:0001 SEM04G partition 1 2.00 MiB
[ 15.398147] mmcblk0boot1: mmc0:0001 SEM04G partition 2 2.00 MiB
[ 15.404189] mmcblk0rpmb: mmc0:0001 SEM04G partition 3 2.00 MiB, chardev (252:0)
[ 15.412540] mmcblk0: p1 p2
[ 21.998653] br-lan: port 1(eth0) entered blocking state
[ 22.003921] br-lan: port 1(eth0) entered disabled state
[ 22.009439] device eth0 entered promiscuous mode
BusyBox v1.31.1 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r14645-4797a936ee
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment