Welcome! Log In Create A New Profile

Advanced

Debian/U-boot? on the USI Topkick-1281p2 (Tonidoplug2)

Posted by sudos 
Re: Debian/U-boot? on the USI Topkick-1281p2 (Tonidoplug2)
June 29, 2022 03:56PM
daviddyer Wrote:
-------------------------------------------------------
> I guess I will give up the wireless part of
> Dreamplug. Thanks to Bodhi and LeggoMyEggo!

Didn't mean to be a downer, just my statement after wasting 20 or so hours over the course of several months trying to get it to work on DP and GP. Not a big deal as combo bt / 433Mbps 5ghz AC adapters are cheap and outperform the built in devices anyway. My favorite are based on the RTL8821cu chipset.
Re: Debian/U-boot? on the USI Topkick-1281p2 (Tonidoplug2)
June 29, 2022 05:11PM
LeggoMyEggo,


Quote

My favorite are based on the RTL8821cu chipset.

It's good to know that. I was thinking adding Wifi to my designated test box (Pogo V4).

BTW, you got PM.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian/U-boot? on the USI Topkick-1281p2 (Tonidoplug2)
June 30, 2022 10:16PM
I have both devices. A TonidoPlug 2 and one that came in a Marvell box with label UGNAS-P30855. The wikidevi entry for Topkick1281P2 was created for the device in the white Marvell box labeled UGNAS-P30855. The only apparent difference is the TonidoPlug 2 has a label identifying it as such. They both have 800 MHz Marvell 88F6283 which according to Marvell differs from the 88F6282 only as follows:
  • 88F6282 High-performance single-issue CPU operating at 1.6GHz, 1.8GHz and 2.0GHz.
  • 88F6283 Low-power single-issue CPU operating at 800MHz or 1GHz.
Re: Debian/U-boot? on the USI Topkick-1281p2 (Tonidoplug2)
July 01, 2022 12:49AM
Huh, was almost sure something somewhere said 2GHz.
Re: Debian/U-boot? on the USI Topkick-1281p2 (Tonidoplug2)
July 18, 2022 04:25PM
Got my Topkick, don't have much time to play with it but here is u-boot and uenv's:

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Jun 15 2011 - 17:25:59) Marvell version: 3.4.27
USISH-SMB Ver: topkick1281p2-001-008-20110110-512M

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006D0120

Soc: MV88F1155 Rev 1 (DDR2)
CPU running @ 800Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM unknown CAL  tRP = 8 tRAS = 20 tRCD=8
DRAM CS[0] base 0x00000000   size 512MB
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
Switch On !

Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Marvell>>
Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=192.168.58.21
serverip=192.168.58.135
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
run_diag=yes
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
CASset=min
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
initializeKernelRamdisk=nand erase clean 0x200000 0x600000; nand write.e 0x1200000 0x200000 0x300000; nand erase clean 0x800000 0x1000000; nand write.e 0x1800000 0x800000 0x800000
initializeUSB=usb start; fatload usb 0 0x1200000 uImage-topkick1281p2-001-003-20101103; fatload usb 0 0x1800000 cpio-initrd-topkick1281p2-v1.0.9.gz
filesize=73D096
ethaddr=xx:xx:xx:xx:xx:xx
power_off_flag=normal
bootcmd=usb start; ext2load usb 0:2 0x00800000 /boot/uImage; bootm 0x00800000
bootargs=console=ttyS0,115200 root=/dev/sda2 rw rootdelay=10
arcNumber=2097
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
install_mode=true

Environment size: 1618/131068 bytes
Marvell>>

Thinking of trying dreamplug.dtb embedded into uImage as a start.



Edited 1 time(s). Last edit at 07/18/2022 04:30PM by LeggoMyEggo.
Re: Debian/U-boot? on the USI Topkick-1281p2 (Tonidoplug2)
July 18, 2022 07:07PM
LeggoMyEggo,

> Thinking of trying dreamplug.dtb embedded into
> uImage as a start.

Use the Topkick DTB. Even the CPU speed is different, it should be more appropriate.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian/U-boot? on the USI Topkick-1281p2 (Tonidoplug2)
July 19, 2022 07:49AM
So for serial connection on this, slide rubber boot off and starting from ethernet side GRND (BLACK WIRE), RX (YELLOW WIRE) and TX (BLUE WIRE). Last one towards power plug side is not used. See attached picture.

Edit: Got it to boot using USB of 5.5.1 kernel with the topkick dtb appended to uImage but no Ethernet.. Put firmware-libertas on the rootfs by mounting to another linux computer, dpkg-ed it and still no ethernet or wifi or bluetooth. Gonna try to get one of my external wifi adapters and try it with a USB hub as loading from IDE with this early u-boot version is not supported (I've tried).



Edited 2 time(s). Last edit at 07/19/2022 01:34PM by LeggoMyEggo.
Attachments:
open | download - 20220718_173501s.jpg (177.5 KB)
Re: Debian/U-boot? on the USI Topkick-1281p2 (Tonidoplug2)
July 19, 2022 03:53PM
> Edit: Got it to boot using USB of 5.5.1 kernel
> with the topkick dtb appended to uImage but no
> Ethernet.. Put firmware-libertas on the rootfs by
> mounting to another linux computer, dpkg-ed it and
> still no ethernet or wifi or bluetooth.

Could you post dmesg output.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian/U-boot? on the USI Topkick-1281p2 (Tonidoplug2)
July 26, 2022 11:23AM
bodhi Wrote:
-------------------------------------------------------
> > Edit: Got it to boot using USB of 5.5.1 kernel
> > with the topkick dtb appended to uImage but no
> > Ethernet.. Put firmware-libertas on the rootfs
> by
> > mounting to another linux computer, dpkg-ed it
> and
> > still no ethernet or wifi or bluetooth.
>
> Could you post dmesg output.

FIgured it out, had to do a "/sbin/udevadm trigger --type=devices --action=add" to get it to recognize the eth0 on this device. Now eth0 works, on to try to get some of the wireless working.

Recent dmesg:
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.5.1-kirkwood-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1.0 PREEMPT Sat Feb 1 22:28:36 PST 2020
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Universal Scientific Industrial Co. Topkick-1281P2
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 131072
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) earlyprintk=serial
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 493324K/524288K available (9216K kernel code, 926K rwdata, 3860K rodata, 1024K init, 296K bss, 30964K reserved, 0K cma-reserved)
[    0.000000] random: get_random_u32 called from ____cache_alloc+0x470/0x80c with crng_init=0
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000011] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008536] Switching to timer-based delay loop, resolution 5ns
[    0.016179] Console: colour dummy device 80x30
[    0.021401] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032630] pid_max: default: 32768 minimum: 301
[    0.038424] LSM: Security Framework initializing
[    0.043979] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.052022] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.060655] *** VALIDATE tmpfs ***
[    0.065854] *** VALIDATE proc ***
[    0.070214] *** VALIDATE cgroup1 ***
[    0.074486] *** VALIDATE cgroup2 ***
[    0.078904] CPU: Testing write buffer coherency: ok
[    0.086675] Setting up static identity map for 0x100000 - 0x100058
[    0.093991] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.100189] rcu: Hierarchical SRCU implementation.
[    0.109209] devtmpfs: initialized
[    0.122128] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.132727] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.140617] xor: measuring software checksum speed
[    0.238570]    arm4regs  :   722.000 MB/sec
[    0.338576]    8regs     :   433.600 MB/sec
[    0.438566]    32regs    :   630.000 MB/sec
[    0.443436] xor: using function: arm4regs (722.000 MB/sec)
[    0.449647] prandom: seed boundary self test passed
[    0.461522] prandom: 100 self tests passed
[    0.466297] pinctrl core: initialized pinctrl subsystem
[    0.473424] thermal_sys: Registered thermal governor 'step_wise'
[    0.474314] NET: Registered protocol family 16
[    0.487030] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.495925] audit: initializing netlink subsys (disabled)
[    0.503768] audit: type=2000 audit(0.490:1): state=initialized audit_enabled=0 res=1
[    0.512361] cpuidle: using governor ladder
[    0.517231] cpuidle: using governor menu
[    0.522625] Feroceon L2: Enabling L2
[    0.526920] Feroceon L2: Cache support initialised.
[    0.541796] No ATAGs?
[    2.568547] random: fast init done
[    8.069435] raid6: int32x8  gen()    71 MB/s
[    8.239115] raid6: int32x8  xor()    44 MB/s
[    8.409186] raid6: int32x4  gen()    73 MB/s
[    8.578821] raid6: int32x4  xor()    47 MB/s
[    8.748953] raid6: int32x2  gen()    92 MB/s
[    8.918732] raid6: int32x2  xor()    66 MB/s
[    9.089067] raid6: int32x1  gen()    75 MB/s
[    9.258636] raid6: int32x1  xor()    49 MB/s
[    9.263585] raid6: using algorithm int32x2 gen() 92 MB/s
[    9.269587] raid6: .... xor() 66 MB/s, rmw enabled
[    9.275050] raid6: using intx1 recovery algorithm
[    9.280780] vgaarb: loaded
[    9.284981] SCSI subsystem initialized
[    9.289757] libata version 3.00 loaded.
[    9.290114] usbcore: registered new interface driver usbfs
[    9.296345] usbcore: registered new interface driver hub
[    9.302510] usbcore: registered new device driver usb
[    9.308499] pps_core: LinuxPPS API ver. 1 registered
[    9.314170] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    9.324004] PTP clock support registered
[    9.330650] clocksource: Switched to clocksource orion_clocksource
[   11.339905] *** VALIDATE bpf ***
[   11.344443] VFS: Disk quotas dquot_6.6.0
[   11.349149] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   11.356941] *** VALIDATE ramfs ***
[   11.375318] NET: Registered protocol family 2
[   11.381618] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[   11.390772] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[   11.399253] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[   11.407183] TCP: Hash tables configured (established 4096 bind 4096)
[   11.414434] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[   11.421686] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[   11.429611] NET: Registered protocol family 1
[   11.435639] RPC: Registered named UNIX socket transport module.
[   11.442342] RPC: Registered udp transport module.
[   11.447724] RPC: Registered tcp transport module.
[   11.453132] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   11.460243] PCI: CLS 0 bytes, default 32
[   11.465281] Trying to unpack rootfs image as initramfs...
[   12.767142] Freeing initrd memory: 9772K
[   12.772115] NetWinder Floating Point Emulator V0.97 (double precision)
[   12.781164] Initialise system trusted keyrings
[   12.786347] Key type blacklist registered
[   12.791452] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[   12.798674] zbud: loaded
[   12.803667] NFS: Registering the id_resolver key type
[   12.809420] Key type id_resolver registered
[   12.814395] Key type id_legacy registered
[   12.819104] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[   12.826516] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   12.834126] jffs2: version 2.2. (NAND) (SUMMARY)  \xc2\xa9 2001-2006 Red Hat, Inc.
[   12.842455] *** VALIDATE jffs2 ***
[   12.846549] fuse: init (API version 7.31)
[   12.851291] *** VALIDATE fuse ***
[   12.855291] *** VALIDATE fuse ***
[   12.859768] orangefs_debugfs_init: called with debug mask: :none: :0:
[   12.867208] orangefs_init: module version upstream loaded
[   12.873317] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[   12.883418] *** VALIDATE xfs ***
[   12.962897] async_tx: api initialized (async)
[   12.967943] Key type asymmetric registered
[   12.972851] Asymmetric key parser 'x509' registered
[   12.978486] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[   12.988937] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[   12.999052] mvebu-gpio f1010140.gpio: IRQ index 3 not found
[   13.006373] mv_xor f1060800.xor: Marvell shared XOR driver
[   13.072148] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   13.083832] mv_xor f1060900.xor: Marvell shared XOR driver
[   13.152140] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   13.164162] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   13.173046] printk: console [ttyS0] disabled
[   13.178109] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[   13.187876] printk: console [ttyS0] enabled
[   13.197747] printk: bootconsole [earlycon0] disabled
[   13.220593] loop: module loaded
[   13.224969] sata_mv f1080000.sata: version 1.28
[   13.225217] sata_mv f1080000.sata: slots 32 ports 1
[   13.233626] scsi host0: sata_mv
[   13.237916] ata1: SATA max UDMA/133 irq 33
[   13.244385] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it
[   13.253862] ONFI parameter recovery failed, aborting
[   13.259567] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[   13.266682] nand: Hynix NAND 512MiB 3,3V 8-bit
[   13.271878] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   13.280229] Scanning device for bad blocks
[   13.447558] Bad eraseblock 2086 at 0x0000104c0000
[   13.453058] Bad eraseblock 2087 at 0x0000104e0000
[   13.458990] Bad eraseblock 2094 at 0x0000105c0000
[   13.464532] Bad eraseblock 2095 at 0x0000105e0000
[   13.470505] Bad eraseblock 2102 at 0x0000106c0000
[   13.476027] Bad eraseblock 2103 at 0x0000106e0000
[   13.520834] Bad eraseblock 2606 at 0x0000145c0000
[   13.526342] Bad eraseblock 2607 at 0x0000145e0000
[   13.572423] ata1: SATA link down (SStatus 0 SControl F300)
[   13.654358] 5 fixed-partitions partitions found on MTD device orion_nand
[   13.661822] Creating 5 MTD partitions on "orion_nand":
[   13.667693] 0x000000000000-0x000000180000 : "u-boot"
[   13.675459] 0x000000180000-0x0000001a0000 : "u-boot env"
[   13.683422] 0x000000200000-0x000000800000 : "uImage"
[   13.691127] 0x000000800000-0x000001800000 : "uInitrd"
[   13.698891] 0x000001800000-0x000010000000 : "rootfs"
[   13.709719] libphy: Fixed MDIO Bus: probed
[   13.715743] libphy: orion_mdio_bus: probed
[   13.740930] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   13.750755] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address xx:xx:xx;xx:xx:xx
[   13.760400] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   13.767843] ehci-pci: EHCI PCI platform driver
[   13.773177] ehci-orion: EHCI orion driver
[   13.778175] orion-ehci f1050000.ehci: EHCI Host Controller
[   13.784519] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   13.793276] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   13.820703] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   13.827858] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.05
[   13.836907] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   13.844904] usb usb1: Product: EHCI Host Controller
[   13.850512] usb usb1: Manufacturer: Linux 5.5.1-kirkwood-tld-1 ehci_hcd
[   13.857891] usb usb1: SerialNumber: f1050000.ehci
[   13.864256] hub 1-0:1.0: USB hub found
[   13.868800] hub 1-0:1.0: 1 port detected
[   13.874572] usbcore: registered new interface driver usb-storage
[   13.881930] mousedev: PS/2 mouse device common for all mice
[   13.889243] rtc-mv f1010300.rtc: registered as rtc0
[   13.895142] i2c /dev entries driver
[   13.901124] device-mapper: uevent: version 1.0.3
[   13.906854] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[   13.916676] device-mapper: multipath round-robin: version 1.2.0 loaded
[   13.924039] device-mapper: multipath queue-length: version 0.2.0 loaded
[   13.931449] device-mapper: multipath service-time: version 0.3.0 loaded
[   13.938876] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   13.945743] device-mapper: raid: Loading target version 1.15.0
[   13.954782] hid: raw HID events driver (C) Jiri Kosina
[   13.961138] exFAT: Version 1.3.0
[   13.965204] drop_monitor: Initializing network drop monitor service
[   13.972651] NET: Registered protocol family 17
[   13.978142] Key type dns_resolver registered
[   13.984014] registered taskstats version 1
[   13.988833] Loading compiled-in X.509 certificates
[   13.994523] zswap: loaded using pool lzo/zbud
[   13.999898] Key type ._fscrypt registered
[   14.004676] Key type .fscrypt registered
[   14.151523] Key type big_key registered
[   14.217528] Key type encrypted registered
[   14.225830] rtc-mv f1010300.rtc: setting system clock to 2022-07-26T17:34:26 UTC (1658856866)
[   14.239782] Freeing unused kernel memory: 1024K
[   14.245164] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   14.271741] Checked W+X mappings: passed, no W+X pages found
[   14.278137] Run /init as init process
[   14.312929] usb 1-1: New USB device found, idVendor=0781, idProduct=5583, bcdDevice= 1.00
[   14.328537] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   14.344130] usb 1-1: Product: Ultra Fit
[   14.348729] usb 1-1: Manufacturer: SanDisk
[   14.361216] usb 1-1: SerialNumber: 4C530001191228114142
[   14.374960] usb-storage 1-1:1.0: USB Mass Storage device detected
[   14.391103] scsi host1: usb-storage 1-1:1.0
[   15.452180] scsi 1:0:0:0: Direct-Access     SanDisk  Ultra Fit        1.00 PQ: 0 ANSI: 6
[   15.472500] sd 1:0:0:0: [sda] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB)
[   15.500299] sd 1:0:0:0: [sda] Write Protect is off
[   15.510526] sd 1:0:0:0: [sda] Mode Sense: 43 00 00 00
[   15.511365] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   15.537877]  sda: sda1
[   15.548728] sd 1:0:0:0: [sda] Attached SCSI removable disk
[   15.697463] usbcore: registered new interface driver uas
[   15.847431] mmc0: new high speed SDIO card at address 0001
[   20.400720] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   20.410218] ata1.00: ATA-8: 16GB SATA Flash Drive, SFDDA01C, max UDMA/133
[   20.417786] ata1.00: 31277232 sectors, multi 1: LBA48 NCQ (depth 31/32)
[   20.427756] ata1.00: configured for UDMA/133
[   20.433448] scsi 0:0:0:0: Direct-Access     ATA      16GB SATA Flash  A01C PQ: 0 ANSI: 5
[   20.451205] sd 0:0:0:0: [sdb] 31277232 512-byte logical blocks: (16.0 GB/14.9 GiB)
[   20.464591] sd 0:0:0:0: [sdb] Write Protect is off
[   20.470124] sd 0:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[   20.479576] sd 0:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   20.499446]  sdb: sdb1
[   20.510753] sd 0:0:0:0: [sdb] Attached SCSI disk
[   28.020971] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
[   28.056922] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[   28.694754] systemd[1]: Inserted module 'autofs4'
[   28.752792] NET: Registered protocol family 10
[   28.759628] Segment Routing with IPv6
[   28.800488] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[   28.836063] systemd[1]: Detected architecture arm.
[   28.881457] systemd[1]: Set hostname to <debian>.
[   30.374284] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[   30.392267] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[   30.823636] systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid \xe2\x86\x92 /run/samba/smbd.pid; please update the unit file accordingly.
[   30.861091] systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid \xe2\x86\x92 /run/samba/nmbd.pid; please update the unit file accordingly.
[   30.917764] systemd[1]: /lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var/run/, updating /var/run/rpc.statd.pid \xe2\x86\x92 /run/rpc.statd.pid; please update the unit file accordingly.
[   31.041805] random: systemd: uninitialized urandom read (16 bytes read)
[   31.067819] random: systemd: uninitialized urandom read (16 bytes read)
[   31.079859] systemd[1]: Created slice system-getty.slice.
[   31.120986] random: systemd: uninitialized urandom read (16 bytes read)
[   31.128456] systemd[1]: Reached target System Time Synchronized.
[   32.109897] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro
[   33.871609] systemd-journald[239]: Received request to flush runtime journal from PID 1
[   37.981751] Adding 1048572k swap on /swapfile.  Priority:-2 extents:17 across:1132476k SSFS
[   38.158421] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[   38.560794] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   38.700837] orion_wdt: Initial timeout 21 sec
[   38.937391] sd 1:0:0:0: Attached scsi generic sg0 type 0
[   39.039755] sd 0:0:0:0: Attached scsi generic sg1 type 0
[   39.977648] marvell-cesa f1030000.crypto: CESA device successfully registered
[   41.354359] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   43.852598] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   44.180928] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   44.190326] cfg80211: failed to load regulatory.db
[   44.325757] mwifiex_sdio mmc0:0001:1: Direct firmware load for mrvl/sd8786_uapsta.bin failed with error -2
[   44.357101] mwifiex_sdio mmc0:0001:1: Failed to get firmware mrvl/sd8786_uapsta.bin
[   44.420777] mwifiex_sdio mmc0:0001:1: info: _mwifiex_fw_dpc: unregister device
[   46.424058] random: crng init done
[   46.428197] random: 7 urandom warning(s) missed due to ratelimiting
[   50.203379] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   50.214106] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   61.600065] NFSD: Using UMH upcall client tracking operations.
[   61.611399] NFSD: starting 90-second grace period (net f000001c)



Edited 2 time(s). Last edit at 07/26/2022 12:46PM by LeggoMyEggo.
Re: Debian/U-boot? on the USI Topkick-1281p2 (Tonidoplug2)
July 26, 2022 03:03PM
Cool! everything looks good except the mtdparts in the bootargs. This box has NAND flash (probably you had copy/paste error)

Quote

[ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) earlyprintk=serial

[   13.654358] 5 fixed-partitions partitions found on MTD device orion_nand
[   13.661822] Creating 5 MTD partitions on "orion_nand":
[   13.667693] 0x000000000000-0x000000180000 : "u-boot"
[   13.675459] 0x000000180000-0x0000001a0000 : "u-boot-env"
[   13.683422] 0x000000200000-0x000000800000 : "uImage"
[   13.691127] 0x000000800000-0x000001800000 : "uInitrd"
[   13.698891] 0x000001800000-0x000010000000 : "rootfs"

So if you want to change envs or flash anything in Debian, the mtdparts should be

Quote

mtdparts=orion_nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x1000000@0x800000(uInitrd),0xe800000@0x1800000(rootfs)


And this is just lack of FW bin file.

Quote

[ 44.325757] mwifiex_sdio mmc0:0001:1: Direct firmware load for mrvl/sd8786_uapsta.bin failed with error -2

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 07/26/2022 03:06PM by bodhi.
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: