LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 05-08-2023, 07:11 PM   #16
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,312

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368

I like the case but you think you'll get away with passive cooling?

nvme mounts to the case? I don't see any screw mounting holes on the rock5.
 
Old 05-09-2023, 02:59 AM   #17
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,478
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Quote:
Originally Posted by glorsplitz View Post
I like the case but you think you'll get away with passive cooling?

nvme mounts to the case? I don't see any screw mounting holes on the rock5.
The PCIe slot on the underside is an 2280 only thus one screw there, and the top one is 2230 with only one option as well.
Each has differen key slot.
The 2.5 SSD is envisioned to be on a internal SATA expansion card.
The top and bottom case halves are to receive aluminum inserts for heat radiation, i hope they will be heatpipe connected to the mcu and the m.2 will most likely be connected via thermal pads.
Yes i plan to lean hard on thermal throttling
 
Old 05-10-2023, 08:15 AM   #18
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,478
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Those are some more of the due pix...
Next I'll try build a kernel...
Attached Thumbnails
Click image for larger version

Name:	IMG_COM_20230510_1512_24_8194.jpg
Views:	23
Size:	250.4 KB
ID:	41018   Click image for larger version

Name:	IMG_COM_20230510_1512_24_8182.jpg
Views:	15
Size:	252.9 KB
ID:	41019   Click image for larger version

Name:	IMG_COM_20230510_1512_24_8193.jpg
Views:	16
Size:	253.1 KB
ID:	41020   Click image for larger version

Name:	IMG_COM_20230510_1512_24_8171.jpg
Views:	10
Size:	253.1 KB
ID:	41021   Click image for larger version

Name:	IMG_COM_20230510_1512_24_8195.jpg
Views:	16
Size:	253.1 KB
ID:	41022  

 
1 members found this post helpful.
Old 05-10-2023, 08:35 AM   #19
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Original Poster
Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by SCerovec View Post
Those are some more of the due pix...
Next I'll try build a kernel...
This is a proper hacker's work bench.
 
3 members found this post helpful.
Old 05-10-2023, 03:37 PM   #20
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,478
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Talking

Quote:
Originally Posted by drmozes View Post
This is a proper hacker's work bench.
Misspelled slacker's there didn't You?

But indeed I need to organize it and it's getting about high time!

BTW, how does one make a kernel - I "practice" in /usr/local/src until i have a .config that finishes building successfully then only I implement it into the ./arm/build tree somewhere, right?

I speak of the 6.3.x whichever comes out by the time i can run a compile on the rock5 (case build nearly done)
 
Old 05-10-2023, 03:52 PM   #21
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Original Poster
Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by SCerovec View Post
BTW, how does one make a kernel - I "practice" in /usr/local/src until i have a .config that finishes building successfully then only I implement it into the ./arm/build tree somewhere, right?
Just put the config into the 'configs' directory, overwriting the config-armv8, and run ./arm/build. The command line options as laid out in the custom Kernel document save time deleting and unpacking the Kernel source and overwriting your config file.

I just assume my Kernel config will work and set it all building. It if fails, the build terminates and I edit the config and try again. Failures usually only occur because I added some module which hasn't been build tested upstream.
 
1 members found this post helpful.
Old 05-15-2023, 01:13 PM   #22
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,478
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Lightbulb

Quote:
Originally Posted by drmozes View Post
Just put the config into the 'configs' directory, overwriting the config-armv8, and run ./arm/build. The command line options as laid out in the custom Kernel document save time deleting and unpacking the Kernel source and overwriting your config file.

I just assume my Kernel config will work and set it all building. It if fails, the build terminates and I edit the config and try again. Failures usually only occur because I added some module which hasn't been build tested upstream.
Thanks, following this (Your?) guide i finally managed to get the kernel packages.

Will report later as i see if any boots etc...
 
Old 05-17-2023, 11:06 AM   #23
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,478
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Arrow

Newsflash!

I had a boot with 6.3.1

Had to make a uInitrd as the supplied initrd didn't load right with u-boot i have...

My MMC didn't register in /dev/ (why?).

No other storage device did register for that matter.

Marching on...
 
Old 05-18-2023, 02:34 PM   #24
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,478
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Code:
[    0.000000] On node 0, zone Normal: 1280 pages in unavailable ranges
[    0.000000] On node 0, zone Normal: 256 pages in unavailable ranges
[    0.000000] cma: Reserved 32 MiB at 0x00000000ee000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 20 pages/cpu s44712 r8192 d29016 u81920
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: Virtualization Host Extensions
[    0.000000] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 4062220
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: root=LABEL=linuxroot ro rootwait rootfstype=ext4 init=/sbin/init earlycon  consoleblank=0 loglevel=7 usb-storage.quirks=
[    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 8.
[    0.000000] software IO TLB: mapped [mem 0x00000000ea000000-0x00000000ee000000] (64MB)
[    0.000000] Memory: 15762820K/16506880K available (10112K kernel code, 2986K rwdata, 7540K rodata, 6336K init, 590K bss, 711292K reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=8.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 480 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: MBI range [424:479]
[    0.000000] GICv3: Using MBI frame 0x00000000fe610000
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fe680000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@100[1] /cpus/cpu@200[2] /cpus/cpu@300[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@400[4] /cpus/cpu@500[5] /cpus/cpu@600[6] /cpus/cpu@700[7] }
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002250] Console: colour dummy device 80x25
[    0.002671] printk: console [tty0] enabled
[    0.003060] printk: bootconsole [uart0] disabled
[    0.003577] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[    0.003603] pid_max: default: 32768 minimum: 301
[    0.003676] LSM: initializing lsm=capability,integrity
[    0.003800] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.003848] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.005858] rcu: Hierarchical SRCU implementation.
[    0.005873] rcu:     Max phase no-delay instances is 1000.
[    0.008339] EFI services will not be available.
[    0.008759] smp: Bringing up secondary CPUs ...
[    0.009304] Detected VIPT I-cache on CPU1
[    0.009365] GICv3: CPU1: found redistributor 100 region 0:0x00000000fe6a0000
[    0.009393] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[    0.009980] Detected VIPT I-cache on CPU2
[    0.010036] GICv3: CPU2: found redistributor 200 region 0:0x00000000fe6c0000
[    0.010063] CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
[    0.010611] Detected VIPT I-cache on CPU3
[    0.010663] GICv3: CPU3: found redistributor 300 region 0:0x00000000fe6e0000
[    0.010687] CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
[    0.011221] CPU features: detected: Spectre-v4
[    0.011226] CPU features: detected: Spectre-BHB
[    0.011230] Detected PIPT I-cache on CPU4
[    0.011261] GICv3: CPU4: found redistributor 400 region 0:0x00000000fe700000
[    0.011275] CPU4: Booted secondary processor 0x0000000400 [0x414fd0b0]
[    0.011811] Detected PIPT I-cache on CPU5
[    0.011846] GICv3: CPU5: found redistributor 500 region 0:0x00000000fe720000
[    0.011861] CPU5: Booted secondary processor 0x0000000500 [0x414fd0b0]
[    0.012391] Detected PIPT I-cache on CPU6
[    0.012426] GICv3: CPU6: found redistributor 600 region 0:0x00000000fe740000
[    0.012441] CPU6: Booted secondary processor 0x0000000600 [0x414fd0b0]
[    0.012935] Detected PIPT I-cache on CPU7
[    0.012971] GICv3: CPU7: found redistributor 700 region 0:0x00000000fe760000
[    0.012985] CPU7: Booted secondary processor 0x0000000700 [0x414fd0b0]
[    0.013039] smp: Brought up 1 node, 8 CPUs
[    0.013261] SMP: Total of 8 processors activated.
[    0.013275] CPU features: detected: 32-bit EL0 Support
[    0.013288] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.013306] CPU features: detected: Common not Private translations
[    0.013321] CPU features: detected: CRC32 instructions
[    0.013334] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.013348] CPU features: detected: LSE atomic instructions
[    0.013362] CPU features: detected: Privileged Access Never
[    0.013374] CPU features: detected: RAS Extension Support
[    0.013389] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.013469] CPU: All CPU(s) started at EL2
[    0.013483] alternatives: applying system-wide alternatives
[    0.018631] devtmpfs: initialized
[    0.022015] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.022031] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.022369] pinctrl core: initialized pinctrl subsystem
[    0.023199] DMI not present or invalid.
[    0.023514] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.024069] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.024304] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.024429] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.024455] audit: initializing netlink subsys (disabled)
[    0.024547] audit: type=2000 audit(0.023:1): state=initialized audit_enabled=0 res=1
[    0.025173] thermal_sys: Registered thermal governor 'step_wise'
[    0.025177] thermal_sys: Registered thermal governor 'power_allocator'
[    0.025209] cpuidle: using governor menu
[    0.025310] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.025413] ASID allocator initialised with 65536 entries
[    0.026135] Serial: AMBA PL011 UART driver
[    0.036284] KASLR disabled due to lack of seed
[    0.036664] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.036672] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.036679] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.036685] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.036691] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.036697] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.036703] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.036709] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.037210] cryptd: max_cpu_qlen set to 1000
[    0.037700] ACPI: Interpreter disabled.
[    0.038714] iommu: Default domain type: Translated
[    0.038721] iommu: DMA domain TLB invalidation policy: strict mode
[    0.038852] SCSI subsystem initialized
[    0.038986] pps_core: LinuxPPS API ver. 1 registered
[    0.038992] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.039004] PTP clock support registered
[    0.039583] FPGA manager framework
[    0.040075] vgaarb: loaded
[    0.040240] clocksource: Switched to clocksource arch_sys_counter
[    0.040325] VFS: Disk quotas dquot_6.6.0
[    0.040343] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.040417] pnp: PnP ACPI: disabled
[    0.044587] NET: Registered PF_INET protocol family
[    0.044773] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.051271] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.051382] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.051397] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.052020] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    0.053228] TCP: Hash tables configured (established 131072 bind 65536)
[    0.053340] MPTCP token hash table entries: 16384 (order: 6, 393216 bytes, linear)
[    0.053445] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.053685] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.053976] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.053997] PCI: CLS 0 bytes, default 64
[    0.054150] Trying to unpack rootfs image as initramfs...
[    0.060844] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 counters available
[    0.061056] hw perfevents: enabled with armv8_cortex_a76 PMU driver, 7 counters available
[    0.061273] kvm [1]: IPA Size Limit: 40 bits
[    0.061289] kvm [1]: GICv3: no GICV resource entry
[    0.061295] kvm [1]: disabling GICv2 emulation
[    0.061309] kvm [1]: GIC system register CPU interface enabled
[    0.061323] kvm [1]: vgic interrupt IRQ18
[    0.061343] kvm [1]: VHE mode initialized successfully
[    0.062042] Initialise system trusted keyrings
[    0.062167] workingset: timestamp_bits=42 max_order=22 bucket_order=0
[    0.062330] 9p: Installing v9fs 9p2000 file system support
[    0.080819] Key type asymmetric registered
[    0.080826] Asymmetric key parser 'x509' registered
[    0.080862] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.080872] io scheduler mq-deadline registered
[    0.080877] io scheduler kyber registered
[    0.085351] EINJ: ACPI disabled.
[    0.090712] dma-pl330 fea10000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.090725] dma-pl330 fea10000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    0.091400] dma-pl330 fea30000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.091410] dma-pl330 fea30000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    0.092070] dma-pl330 fed10000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.092079] dma-pl330 fed10000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    0.097813] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.098840] feb50000.serial: ttyS2 at MMIO 0xfeb50000 (irq = 33, base_baud = 1500000) is a 16550A
[    0.098973] printk: console [ttyS2] enabled
[    0.200823] SuperH (H)SCI(F) driver initialized
[    0.201511] msm_serial: driver initialized
[    0.206416] loop: module loaded
[    0.209056] thunder_xcv, ver 1.0
[    0.209356] thunder_bgx, ver 1.0
[    0.209874] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    0.210515] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.210998] hclge is initializing
[    0.211444] sky2: driver version 1.30
[    0.212398] VFIO - User Level meta-driver version: 0.3
[    0.213190] i2c_dev: i2c /dev entries driver
[    0.215808] sdhci: Secure Digital Host Controller Interface driver
[    0.216352] sdhci: Copyright(c) Pierre Ossman
[    0.216772] Synopsys Designware Multimedia Card Interface Driver
[    0.217649] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.219013] ledtrig-cpu: registered to indicate activity on CPUs
[    0.219931] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.222084] optee: probing for conduit method.
[    0.222480] optee: api uid mismatch
[    0.222787] optee: probe of firmware:optee failed with error -22
[    0.223635] NET: Registered PF_PACKET protocol family
[    0.224290] 9pnet: Installing 9P2000 support
[    0.224693] Key type dns_resolver registered
[    0.227846] registered taskstats version 1
[    0.228212] Loading compiled-in X.509 certificates
[    0.231106] Key type .fscrypt registered
[    0.231453] Key type fscrypt-provisioning registered
[    0.250231] mmc0: SDHCI controller on fe2e0000.mmc [fe2e0000.mmc] using ADMA
[    0.394309] Freeing initrd memory: 301308K
[    0.394840] dw-apb-uart feb50000.serial: forbid DMA for kernel console
[    0.397192] Freeing unused kernel memory: 6336K
[    0.397654] Run /init as init process
[    8.666916] random: crng init done
[    8.679934] udevd[111]: starting eudev-3.2.11
/boot/initrd-armv8.gz:  Loading kernel modules from initrd image:
WARNING: Unsupported aarch64 Hardware Model (Radxa ROCK 5 Model B)
         This may cause your system to not boot or cause instability.

         If you are a developer and would like to help enable Slackware
         on this device, please visit:
          https://arm.slackware.com/slackwarearm-devel/
[   13.379373] usbcore: registered new interface driver usbfs
[   13.379887] usbcore: registered new interface driver hub
[   13.380391] usbcore: registered new device driver usb
[   13.581293] hid: raw HID events driver (C) Jiri Kosina
[   13.623084] usbcore: registered new interface driver usbhid
[   13.623593] usbhid: USB HID core driver
[   13.881735] usbcore: registered new interface driver usb-storage
[   13.896460] usbcore: registered new interface driver ums-cypress
[   13.916346] usbcore: registered new interface driver ums-usbat
[   13.943940] usbcore: registered new interface driver ums-freecom
[   13.963299] usbcore: registered new interface driver ums-isd200
[   13.982758] usbcore: registered new interface driver ums-sddr09
[   14.001213] usbcore: registered new interface driver ums-sddr55
[   14.020422] usbcore: registered new interface driver ums-alauda
[   14.038443] usbcore: registered new interface driver ums-jumpshot
[   14.056431] usbcore: registered new interface driver ums-onetouch
[   14.171053] usbcore: registered new interface driver uas
[   14.752667] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[   15.646901] raid6: neonx8   gen()  6726 MB/s
[   15.703571] raid6: neonx4   gen()  6637 MB/s
[   15.760234] raid6: neonx2   gen()  5557 MB/s
[   15.816901] raid6: neonx1   gen()  4291 MB/s
[   15.873567] raid6: int64x8  gen()  1808 MB/s
[   15.930238] raid6: int64x4  gen()  2638 MB/s
[   15.986903] raid6: int64x2  gen()  2232 MB/s
[   16.043577] raid6: int64x1  gen()  1973 MB/s
[   16.043952] raid6: using algorithm neonx8 gen() 6726 MB/s
[   16.100235] raid6: .... xor() 5040 MB/s, rmw enabled
[   16.100671] raid6: using neon recovery algorithm
[   16.117939] xor: measuring software checksum speed
[   16.119814]    8regs           :  6813 MB/sec
[   16.121333]    32regs          :  8909 MB/sec
[   16.122630]    arm64_neon      : 10771 MB/sec
[   16.123013] xor: using function: arm64_neon (10771 MB/sec)
[   16.823189] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=yes
[   17.184401] JFS: nTxBlock = 8192, nTxLock = 65536
[   17.969880] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[   18.041757] FS-Cache: Loaded
[   18.672454] RPC: Registered named UNIX socket transport module.
[   18.672984] RPC: Registered udp transport module.
[   18.673398] RPC: Registered tcp transport module.
[   18.673824] RPC: Registered tcp NFSv4.1 backchannel transport module.
mdadm: No devices listed in /etc/mdadm.conf
mdadm: No devices listed in conf file were found.
mount: can't find /mnt in /etc/fstab
ERROR:  No /sbin/init found on rootdev (or not mounted).  Trouble ahead.
        You can try to fix it. Type 'exit' when things are done.

/bin/sh: can't access tty; job control turned off
/ #
Still no storage in /dev, but i get something in /sys!

Code:
/ # ls /sys/class/mmc_host/mmc0/ -lah
total 0      
drwxr-xr-x    3 root     root           0 Jan  1 00:05 .
drwxr-xr-x    3 root     root           0 Jan  1 00:05 ..
lrwxrwxrwx    1 root     root           0 Jan  1 00:05 device -> ../../../fe2e0000.mmc
drwxr-xr-x    2 root     root           0 Jan  1 00:05 power
lrwxrwxrwx    1 root     root           0 Jan  1 00:05 subsystem -> ../../../../../class/mmc_host
-rw-r--r--    1 root     root        4.0K Jan  1 00:05 uevent
/ #
Am in missing udev rules?
Code:
/ # ls /dev/
autofs           ptypc            tty32            tty8
block            ptypd            tty33            tty9
btrfs-control    ptype            tty34            ttyS0
char             ptypf            tty35            ttyS1
console          random           tty36            ttyS2
cpu_dma_latency  snapshot         tty37            ttyS3
fd               stderr           tty38            ttyp0
full             stdin            tty39            ttyp1
kmsg             stdout           tty4             ttyp2
kvm              tty              tty40            ttyp3
loop-control     tty0             tty41            ttyp4
loop0            tty1             tty42            ttyp5
loop1            tty10            tty43            ttyp6
loop2            tty11            tty44            ttyp7
loop3            tty12            tty45            ttyp8
loop4            tty13            tty46            ttyp9
loop5            tty14            tty47            ttypa
loop6            tty15            tty48            ttypb
loop7            tty16            tty49            ttypc
mapper           tty17            tty5             ttypd
mem              tty18            tty50            ttype
null             tty19            tty51            ttypf
port             tty2             tty52            uinput
ptmx             tty20            tty53            urandom
ptyp0            tty21            tty54            vcs
ptyp1            tty22            tty55            vcs1
ptyp2            tty23            tty56            vcsa
ptyp3            tty24            tty57            vcsa1
ptyp4            tty25            tty58            vcsu
ptyp5            tty26            tty59            vcsu1
ptyp6            tty27            tty6             vfio
ptyp7            tty28            tty60            vga_arbiter
ptyp8            tty29            tty61            zero
ptyp9            tty3             tty62
ptypa            tty30            tty63
ptypb            tty31            tty7
Until next time...
 
Old 05-19-2023, 03:22 AM   #25
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Original Poster
Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Code:
[    0.000000] On node 0, zone Normal: 1280 pages in unavailable ranges

/boot/initrd-armv8.gz:  Loading kernel modules from initrd image:
WARNING: Unsupported aarch64 Hardware Model (Radxa ROCK 5 Model B)
         This may cause your system to not boot or cause instability.

         If you are a developer and would like to help enable Slackware
         on this device, please visit:
          https://arm.slackware.com/slackwarearm-devel/

Most likely because you don't have any of the modules loaded for this Hardware Model.
You need to determine what modules are required for the storage and load them. The easiest way for you is to boot an OS that works and figure it out (I think I linked to some scripts that can help there), or load storage modules in /lib/modules and see what comes up, and capture them.
 
1 members found this post helpful.
Old 05-20-2023, 08:03 AM   #26
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Original Poster
Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
And you should add 'slkpbs' to your Kernel cmdline to use the pre-boot shell.
This way you can play around with loading the right modules before the OS InitRD exits.
You probably only want to use stage 3 (after the base set of modules is loaded), so quit the first two stages immediately.
 
1 members found this post helpful.
Old 05-20-2023, 03:46 PM   #27
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,478
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Quote:
Originally Posted by drmozes View Post
Code:
[    0.000000] On node 0, zone Normal: 1280 pages in unavailable ranges

/boot/initrd-armv8.gz:  Loading kernel modules from initrd image:
WARNING: Unsupported aarch64 Hardware Model (Radxa ROCK 5 Model B)
         This may cause your system to not boot or cause instability.

         If you are a developer and would like to help enable Slackware
         on this device, please visit:
          https://arm.slackware.com/slackwarearm-devel/

Most likely because you don't have any of the modules loaded for this Hardware Model.
You need to determine what modules are required for the storage and load them. The easiest way for you is to boot an OS that works and figure it out (I think I linked to some scripts that can help there), or load storage modules in /lib/modules and see what comes up, and capture them.
The thing is we only have an 5.10.x kernel but it seems it carries over patches from as long as 4.x series?

The storage modules are named with the hex address instead of chip or manufacturer.

The mainline kernel seems to name them entirely different and i am confused as it appears they seem to be even in the v4l () section or I am missing/confusing something

As we speak i am retrying to make the compile meet ends - i produce a so-so custom build (in /home/src) but the few nuisances of the out of tree kernel build confuse the heck out of me so i seem to omit/forget key ingredients like export kernel version or set -j8 or empty testpkgs directory or whatever - somehow i manage to end in trouble every time

Yet now or then i manage to get it to boot too - will check the missed kernel cmdline parameter

P.S. the kernel build seem to have worked, stay tuned!
 
Old 05-21-2023, 05:42 AM   #28
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,478
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Code:
[    0.863522] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.863540] ntfs: driver 2.1.32 [Flags: R/W].
[    0.863555] ntfs3: Max link count 4000
[    0.863561] ntfs3: Enabled Linux POSIX ACLs support
[    0.863566] ntfs3: Read-only LZX/Xpress compression included
[    0.863880] NET: Registered PF_ALG protocol family
[    0.863890] Key type asymmetric registered
[    0.863896] Asymmetric key parser 'x509' registered
[    0.863920] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.863928] io scheduler mq-deadline registered
[    0.863935] io scheduler kyber registered
[    0.866856] dma-pl330 fea10000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.866868] dma-pl330 fea10000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    0.867873] dma-pl330 fea30000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.867884] dma-pl330 fea30000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    0.868863] dma-pl330 fed10000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.868873] dma-pl330 fed10000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    0.869289] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.870750] feb50000.serial: ttyS2 at MMIO 0xfeb50000 (irq = 38, base_baud = 1500000) is a 16550A
[    0.870878] printk: console [ttyS2] enabled
[    0.987369] brd: module loaded
[    0.991150] loop: module loaded
[    0.991678] zram: Added device: zram0
[    0.992028] lkdtm: No crash points registered, enable through debugfs
[    0.994595] usbcore: registered new interface driver rndis_wlan
[    0.995129] usbcore: registered new interface driver asix
[    0.995614] usbcore: registered new interface driver cdc_ether
[    0.996136] usbcore: registered new interface driver rndis_host
[    0.996671] usbcore: registered new interface driver cdc_ncm
[    0.997755] usbcore: registered new interface driver cdc_acm
[    0.998253] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.999091] usbcore: registered new interface driver uas
[    0.999577] usbcore: registered new interface driver usb-storage
[    1.000324] usbcore: registered new interface driver usbtouchscreen
[    1.000977] i2c_dev: i2c /dev entries driver
[    1.001664] usbcore: registered new interface driver uvcvideo
[    1.003127] sdhci: Secure Digital Host Controller Interface driver
[    1.003683] sdhci: Copyright(c) Pierre Ossman
[    1.004067] Synopsys Designware Multimedia Card Interface Driver
[    1.004707] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.005637] sdhci-dwcmshc fe2e0000.mmc: Looking up vmmc-supply from device tree
[    1.005645] sdhci-dwcmshc fe2e0000.mmc: Looking up vmmc-supply property in node /mmc@fe2e0000 failed
[    1.005657] sdhci-dwcmshc fe2e0000.mmc: Looking up vqmmc-supply from device tree
[    1.005661] sdhci-dwcmshc fe2e0000.mmc: Looking up vqmmc-supply property in node /mmc@fe2e0000 failed
[    1.005744] ledtrig-cpu: registered to indicate activity on CPUs
[    1.006446] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16
[    1.007251] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
[    1.007850] arm-scmi firmware:scmi: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0
[    1.013725] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.014375] hid: raw HID events driver (C) Jiri Kosina
[    1.015046] usbcore: registered new interface driver usbhid
[    1.015540] usbhid: USB HID core driver
[    1.016112] optee: probing for conduit method.
[    1.016506] optee: api uid mismatch
[    1.016813] optee: probe of firmware:optee failed with error -22
[    1.017719] usbcore: registered new interface driver snd-usb-audio
[    1.019246] Initializing XFRM netlink socket
[    1.019637] NET: Registered PF_PACKET protocol family
[    1.020359] Key type dns_resolver registered
[    1.025534] registered taskstats version 1
[    1.025998] Loading compiled-in X.509 certificates
[    1.026571] zswap: loaded using pool lzo/zbud
[    1.037031] mmc0: SDHCI controller on fe2e0000.mmc [fe2e0000.mmc] using ADMA
[    1.053374] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.370493] Freeing initrd memory: 99444K
[    1.384964] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.386031] ALSA device list:
[    1.386297]   No soundcards found.
[    1.386686] dw-apb-uart feb50000.serial: forbid DMA for kernel console
[    1.390290] Freeing unused kernel memory: 6272K
[    1.390891] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.391649] cfg80211: failed to load regulatory.db
[    1.427101] Run /init as init process
[    1.427431]   with arguments:
[    1.427434]     /init
[    1.427436]     slkpbs
[    1.427439]   with environment:
[    1.427441]     HOME=/
[    1.427444]     TERM=linux
[    9.296975] random: crng init done
[    9.309244] udevd[119]: starting eudev-3.2.11
[   18.541445] usbcore: registered new interface driver ums-cypress
[   18.575859] usbcore: registered new interface driver ums-usbat
[   18.606007] usbcore: registered new interface driver ums-freecom
[   18.636135] usbcore: registered new interface driver ums-isd200
[   18.668154] usbcore: registered new interface driver ums-sddr09
[   18.698035] usbcore: registered new interface driver ums-sddr55
[   18.734487] usbcore: registered new interface driver ums-alauda
[   18.769385] usbcore: registered new interface driver ums-jumpshot
[   18.802123] usbcore: registered new interface driver ums-onetouch
[   19.123680] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[   19.578474] JFS: nTxBlock = 8192, nTxLock = 65536
[   20.477064] SGI XFS with ACLs, security attributes, realtime, verbose warnings, quota, no debug enabled
we seem to be getting there slowly?

Also the slkpbs seems to lean on /bin/ash instead of /bin/sh?
 
Old 05-21-2023, 06:23 AM   #29
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,478
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Forgot to post the used config on the 6.3.3 kernel...

 
Old 05-21-2023, 07:12 AM   #30
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,478
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
I next plan to see if making the device nodes would help:

Code:
# ls /dev/mmcblk1* -lahn
brw-rw---- 1 0 6 179, 0 Jan  1 12:00 /dev/mmcblk1
brw-rw---- 1 0 6 179, 1 Jan  1 12:00 /dev/mmcblk1p1
brw-rw---- 1 0 6 179, 2 Jan  1 12:00 /dev/mmcblk1p2
shows up on the 5.10.110 kernel...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
direct rendering: Yes :: (but applications say direct rendering is not possible?) AbsoluteMonkey Fedora 0 12-16-2008 09:44 PM
Radius server Integration rockage2001 Linux - Security 4 09-16-2003 11:16 AM
Sendmail to Openldap integration kaushik2510 Linux - Software 1 08-06-2003 09:16 AM
Best way to ALOT of files in a direct to other direct? packman Linux - General 2 10-21-2002 07:31 PM
Linux Squid and Windows NT domain integration deatho01 Linux - Networking 2 07-24-2002 12:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 09:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration