LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > slarm64
User Name
Password
slarm64 This forum is for the discussion of slarm64.

Notices


Reply
  Search this Thread
Old 04-10-2023, 03:17 AM   #16
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,919

Rep: Reputation: Disabled

Quote:
Originally Posted by SCerovec View Post
i'be bitten the bullet and booted the orange pi 5 core image on my raxda rock 5:
Code:
[snip] 
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2017.09-rk3588s (Feb 25 2023 - 00:05:39 +0200)

Model: Orange Pi 5
PreSerial: 2, raw, 0xfeb50000
DRAM:  15.7 GiB
Sysmem: init
Relocation Offset: eda2e000
Relocation fdt: eb9f8ba8 - eb9fecb8
CR: M/C/I
Using default environment

no mmc device at slot 1
mmc@fe2c0000: 1 (SD), mmc@fe2e0000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 52Mhz
PartType: EFI
DM: v2
boot mode: None
Model: Orange Pi 5
CLK: (sync kernel. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
  b0pll 24000 KHz
  b1pll 24000 KHz
  lpll 24000 KHz
  v0pll 24000 KHz
  aupll 24000 KHz
  cpll 1500000 KHz
  gpll 1188000 KHz
  npll 24000 KHz
  ppll 1100000 KHz
  aclk_center_root 702000 KHz
  pclk_center_root 100000 KHz
  hclk_center_root 396000 KHz
  aclk_center_low_root 500000 KHz
  aclk_top_root 750000 KHz
  pclk_top_root 100000 KHz
  aclk_low_top_root 396000 KHz
Net:   No ethernet found.
Hit key to stop autoboot('CTRL+C'):  0 
switch to partitions #0, OK
mmc1 is current device
mmc@fe2c0000: 1 (SD)
mmc@fe2e0000: 0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
2602 bytes read in 6 ms (422.9 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 1
139 bytes read in 7 ms (18.6 KiB/s)
53837 bytes read in 37 ms (1.4 MiB/s)
31781376 bytes read in 9554 ms (3.2 MiB/s)
libfdt fdt_getprop(): FDT_ERR_NOTFOUND
** File not found /dtb/rockchip/overlay/rockchip-fixup.scr **
6476262 bytes read in 532 ms (11.6 MiB/s)
Fdt Ramdisk skip relocation
## Loading init Ramdisk from Legacy Image at 0a200000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    6476198 Bytes = 6.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 0x0a100000
   Booting using the fdt blob at 0x0a100000
   reserving fdt memory region: addr=a100000 size=73000
   Using Device Tree in place at 000000000a100000, end 000000000a175fff
can't found rockchip,drm-logo, use rockchip,fb-logo
WARNING: could not set reg FDT_ERR_BADOFFSET.
failed to reserve fb-loader-logo memory
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)
Adding bank: 0x100000000 - 0x3fc000000 (size: 0x2fc000000)
Adding bank: 0x3fc500000 - 0x3fff00000 (size: 0x03a00000)
Total: 10736.24 ms

Starting kernel ...

[    0.731143] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active.
[    0.935938] mmc2: tuning execution failed: -5
[    0.936326] mmc2: error -5 whilst initialising SD card
[    1.007979] mmc2: tuning execution failed: -5
[    1.060746] mmc2: error -84 whilst initialising SD card
[    1.136903] mmc2: tuning execution failed: -5
[    1.200726] mmc2: error -84 whilst initialising SD card
Got quite past where i was stuck:

Apparently the u-boot image is at fault?

What gives?
try changing dtb in /boot/uEnv.txt
rk3588s-orangepi-5.dtb to rk3588-rock-5b.dtb

also have you tried rock 5 images after erasing spi.

Last edited by sndwvs; 04-10-2023 at 03:18 AM.
 
1 members found this post helpful.
Old 04-10-2023, 03:27 AM   #17
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,479

Original Poster
Blog Entries: 2

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
Exclamation

I be damned!

i dd-ed the Rock5 image over the orange pi5's skipping the u-boot first 16MB and...

Code:
U-Boot 2017.09-rk3588s (Feb 25 2023 - 00:05:39 +0200)

Model: Orange Pi 5
PreSerial: 2, raw, 0xfeb50000
DRAM:  15.7 GiB
Sysmem: init
Relocation Offset: eda2e000
Relocation fdt: eb9f8ba8 - eb9fecb8
CR: M/C/I
Using default environment

no mmc device at slot 1
mmc@fe2c0000: 1 (SD), mmc@fe2e0000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 52Mhz
PartType: EFI
DM: v2
boot mode: None
Model: Orange Pi 5
CLK: (sync kernel. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
  b0pll 24000 KHz
  b1pll 24000 KHz
  lpll 24000 KHz
  v0pll 24000 KHz
  aupll 24000 KHz
  cpll 1500000 KHz
  gpll 1188000 KHz
  npll 24000 KHz
  ppll 1100000 KHz
  aclk_center_root 702000 KHz
  pclk_center_root 100000 KHz
  hclk_center_root 396000 KHz
  aclk_center_low_root 500000 KHz
  aclk_top_root 750000 KHz
  pclk_top_root 100000 KHz
  aclk_low_top_root 396000 KHz
Net:   No ethernet found.
Hit key to stop autoboot('CTRL+C'):  0 
switch to partitions #0, OK
mmc1 is current device
mmc@fe2c0000: 1 (SD)
mmc@fe2e0000: 0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
2604 bytes read in 6 ms (423.8 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 1
173 bytes read in 8 ms (20.5 KiB/s)
256360 bytes read in 89 ms (2.7 MiB/s)
30685696 bytes read in 2477 ms (11.8 MiB/s)
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
6397 bytes read in 44 ms (141.6 KiB/s)
Applying kernel provided DT overlay rockchip-rk3588-opp-oc-24ghz.dtbo
** File not found /dtb/rockchip/overlay/rockchip-fixup.scr **
22065321 bytes read in 1785 ms (11.8 MiB/s)
Fdt Ramdisk skip relocation
## Loading init Ramdisk from Legacy Image at 0a200000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    22065257 Bytes = 21 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 0x0a100000
   Booting using the fdt blob at 0x0a100000
   reserving fdt memory region: addr=a100000 size=a4000
  'reserved-memory' cma: addr=10000000 size=10000000
  'reserved-memory' ramoops@110000: addr=110000 size=f0000
   Using Device Tree in place at 000000000a100000, end 000000000a1a6fff
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)
Adding bank: 0x100000000 - 0x3fc000000 (size: 0x2fc000000)
Adding bank: 0x3fc500000 - 0x3fff00000 (size: 0x03a00000)
Total: 5152.273 ms

Starting kernel ...

[    7.125906] fiq_debugger fiq_debugger.0: IRQ fiq not found
[    7.125920] fiq_debugger fiq_debugger.0: IRQ wakeup not found
[    7.125927] fiq_debugger_probe: could not install nmi irq handler
[    8.149315] mpp-iep2 fdbb0000.iep: allocate roi buffer failed
[    8.150523] rk-pcie fe170000.pcie: IRQ msi not found
[    8.150558] rk-pcie fe170000.pcie: Missing *config* reg space
[    8.150688] rk-pcie fe170000.pcie: Missing *config* reg space
[    8.150728] rk-pcie fe170000.pcie: invalid resource
[    8.150783] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_a is not found!
[    8.150793] rkvdec2_init:1008: No niu aclk reset resource define
[    8.150800] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_h is not found!
[    8.150805] rkvdec2_init:1011: No niu hclk reset resource define
[    8.151443] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_a is not found!
[    8.151451] rkvdec2_init:1008: No niu aclk reset resource define
[    8.151458] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_h is not found!
[    8.151463] rkvdec2_init:1011: No niu hclk reset resource define
[    8.161447] rk-pcie fe150000.pcie: IRQ msi not found
[    8.161489] rk-pcie fe150000.pcie: Missing *config* reg space
[    8.161648] rk-pcie fe150000.pcie: Missing *config* reg space
[    8.161697] rk-pcie fe150000.pcie: invalid resource
[    8.217261] rk806 spi2.0: no sleep-setting state
[    8.217279] rk806 spi2.0: no reset-setting pinctrl state
[    8.217286] rk806 spi2.0: no dvs-setting pinctrl state
[    8.496199] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active.
[    8.506922] debugfs: File 'Capture' in directory 'dapm' already present!
[    8.532410] debugfs: Directory 'fb000000.gpu-mali' with parent 'vdd_gpu_s0' already present!
[    8.532852] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate
[    8.532864] rockchip-dmc dmc: failed to get vop pn to msch rl
[    8.532964] rockchip-dmc dmc: could not find power_model node
[    8.673999] debugfs: File 'Left Hp mixer' in directory 'dapm' already present!
[    8.674076] debugfs: File 'Right Hp mixer' in directory 'dapm' already present!
[    8.674125] debugfs: File 'HPCP L' in directory 'dapm' already present!
[    8.674150] debugfs: File 'HPCP R' in directory 'dapm' already present!
[    8.674189] debugfs: File 'HPVOL L' in directory 'dapm' already present!
[    8.674212] debugfs: File 'HPVOL R' in directory 'dapm' already present!
[    8.681713] rk-pcie fe190000.pcie: IRQ msi not found
[    8.681777] rk-pcie fe190000.pcie: Missing *config* reg space
[    8.681954] rk-pcie fe190000.pcie: Missing *config* reg space
[    8.682003] rk-pcie fe190000.pcie: invalid resource
[    8.685381] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdab0000-0xfdabffff]
[    8.685453] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdac0000-0xfdacffff]
[    8.685498] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdad0000-0xfdadffff]
[    8.690256] debugfs: Directory 'fdab0000.npu-rknpu' with parent 'vdd_npu_s0' already present!
[    8.713401] RKNPU fdab0000.npu: failed to find power_model node
[    8.713465] RKNPU fdab0000.npu: RKNPU: failed to initialize power model
[    8.713495] RKNPU fdab0000.npu: RKNPU: failed to get dynamic-coefficient
[   10.508337] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_cancel_cpu_limit_freq freq qos nod add
[   11.047175] rk-pcie fe170000.pcie: PCIe Link Fail
[   11.047248] rk-pcie fe170000.pcie: failed to initialize host
[   11.047326] rk-pcie fe150000.pcie: PCIe Link Fail
[   11.047344] rk-pcie fe150000.pcie: failed to initialize host
So, clearly the u-boot of the rock5 is failing to perform for one reason or the other?

Playing on...
 
Old 04-10-2023, 03:29 AM   #18
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,479

Original Poster
Blog Entries: 2

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
Quote:
Originally Posted by sndwvs View Post
try changing dtb in /boot/uEnv.txt
rk3588s-orangepi-5.dtb to rk3588-rock-5b.dtb
soon
Quote:
also have you tried rock 5 images after erasing spi.
yes, this works as intended - if the rock5 finds a u-boot elsewhere the SPI seems not to be triggered
 
Old 04-10-2023, 05:57 AM   #19
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,479

Original Poster
Blog Entries: 2

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
Quick update:
As i went and bought yet another SDcard and wrote the orange pi 5 5.10 kernel image to it - it passed boot and i am running it.

I replaced the dtb it loads via uEnv.txt with nano once i logged into it...

Why did the SD card fail?

Why no midnight commander in every install image?

Stay tuned...
 
Old 04-10-2023, 06:38 AM   #20
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,919

Rep: Reputation: Disabled
Quote:
Originally Posted by SCerovec View Post
Why no midnight commander in every install image?
midnight commander is available in all editions except core
server, desktop
 
Old 04-10-2023, 09:22 AM   #21
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,479

Original Poster
Blog Entries: 2

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
Lightbulb

Quote:
Originally Posted by sndwvs View Post
midnight commander is available in all editions except core
server, desktop
May i object that it has a rightfull place in both server and core editions?

It works well in tmux/screen, is an excellent file manager, client for most used transfer protocols and improves the overal quality of life on the commandline IMHO.

That's not all but its the key why I regard it high among my linux essentials.
 
Old 04-10-2023, 09:28 AM   #22
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,479

Original Poster
Blog Entries: 2

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
BTW, @sndwvs, thank You very much for porting Slackware to rk3xxx and the gang.


Hopefully I will be able to conribute some help to iron out this initial hump in the learning curve.

Can't wait to continue hacking the rock5 tomorrow and see this adventure thru.
 
Old 04-11-2023, 12:02 PM   #23
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,479

Original Poster
Blog Entries: 2

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
Arrow

So, i eventually got the rock rolling.
The base was the orange pi 5 core, and boy was it intense until i got the network and time sorted oud
Now that i have a full system running on the device i can delve into what failed with the u-boot...

Once more did i flash the rock5 image to a known good sd card and no dice - locks right before it should recognize the rock 5 as a rock 5
The working image says orange pi 5 in that place and carries on with the boot.

Last edited by SCerovec; 04-11-2023 at 12:03 PM.
 
Old 04-12-2023, 05:52 AM   #24
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,479

Original Poster
Blog Entries: 2

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
Arrow

Quick update (will post files next time):

Got the X11 to work, have login on XFCE deskotp.

Can boot reliably and have that odd HDMI screen ...

Can't figure out the tty1 quirks and resolution (my HDMI is 16:9 and won't do 1024x600 no matter what (yet))

It's fast

Read you soon

P.S.
I'm almost certain it's the build options that mess up the u-boot&co. that prevent the rock5 image from booting.
Will post proof soon too (as time permits)
 
Old 04-13-2023, 08:04 AM   #25
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,479

Original Poster
Blog Entries: 2

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
Post

Sadly i have posted more info on the radxa discord, here I will only list the steps and outcomes:
1. Got the u-boot built per radxa guide and what do you know, it succeeds!
2. However the built image still does not boot the rock5. Consistency remains preserved.

Found a build for the Orange Pi 5 u-boot on github.
Will try hacking around it to see how that goes (initial build attempt results in a fail, as expected on Slackware )

Stay tuned as always.
 
Old 04-17-2023, 12:36 PM   #26
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,479

Original Poster
Blog Entries: 2

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
Cool

Are you still on?

Got few more CLI tools in my chest.

Most notably the lsPD.sh

It's a little helper for troubleshooting PD power source issues (many, many kudos to tkaiser and Armbian project).

the other two are bootedit and dtedit

either are wrappers for more elaborate CLI tools.

bootedit is to ease editing the boot.scr file (nowdays it is ill advised to do so, but once it was the only thing around) and

dtedit is a device tree compiler's wrapper - this is how you tweak things there - like IDK overclocking?

So far I've found the current state is bare display support and effectively zero multimedia so far.

One of the next steps will be to pinpoint the failure point for the u-boot and make it boot with the native u-boot zero track (it's how any content before actual FS data was called when i was young...)
 
Old 04-18-2023, 10:46 AM   #27
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,919

Rep: Reputation: Disabled
Quote:
Originally Posted by SCerovec View Post
Are you still on?

Got few more CLI tools in my chest.

Most notably the lsPD.sh

It's a little helper for troubleshooting PD power source issues (many, many kudos to tkaiser and Armbian project).

the other two are bootedit and dtedit

either are wrappers for more elaborate CLI tools.

bootedit is to ease editing the boot.scr file (nowdays it is ill advised to do so, but once it was the only thing around) and

dtedit is a device tree compiler's wrapper - this is how you tweak things there - like IDK overclocking?

So far I've found the current state is bare display support and effectively zero multimedia so far.

One of the next steps will be to pinpoint the failure point for the u-boot and make it boot with the native u-boot zero track (it's how any content before actual FS data was called when i was young...)
this is a fix for the compiled dtb and boot.scr. it is desirable to add everything you need to the assembly, patches for the kernel / dtb and for boot.scr.
 
1 members found this post helpful.
Old 04-19-2023, 03:06 PM   #28
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,479

Original Poster
Blog Entries: 2

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
Quote:
Originally Posted by sndwvs View Post
this is a fix for the compiled dtb and boot.scr. it is desirable to add everything you need to the assembly, patches for the kernel / dtb and for boot.scr.
There is no fix yet in sight even - i have yet to uncover what is and how much patched from mainline and vanilla into "boots" and "works".

But i'm getting there (slowly)...
 
Old 04-20-2023, 02:41 PM   #29
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,479

Original Poster
Blog Entries: 2

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
Post

@sndwvs:
Maybe You would find this thread interesting?
 
Old 04-27-2023, 05:28 AM   #30
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,479

Original Poster
Blog Entries: 2

Rep: Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984Reputation: 984
Quote:
Originally Posted by SCerovec View Post
I be damned!

i dd-ed the Rock5 image over the orange pi5's skipping the u-boot first 16MB and...

Code:
U-Boot 2017.09-rk3588s (Feb 25 2023 - 00:05:39 +0200)

Model: Orange Pi 5
PreSerial: 2, raw, 0xfeb50000
DRAM:  15.7 GiB
Sysmem: init
Relocation Offset: eda2e000
Relocation fdt: eb9f8ba8 - eb9fecb8
CR: M/C/I
Using default environment

no mmc device at slot 1
mmc@fe2c0000: 1 (SD), mmc@fe2e0000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 52Mhz
PartType: EFI
DM: v2
boot mode: None
Model: Orange Pi 5
CLK: (sync kernel. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
  b0pll 24000 KHz
  b1pll 24000 KHz
  lpll 24000 KHz
  v0pll 24000 KHz
  aupll 24000 KHz
  cpll 1500000 KHz
  gpll 1188000 KHz
  npll 24000 KHz
  ppll 1100000 KHz
  aclk_center_root 702000 KHz
  pclk_center_root 100000 KHz
  hclk_center_root 396000 KHz
  aclk_center_low_root 500000 KHz
  aclk_top_root 750000 KHz
  pclk_top_root 100000 KHz
  aclk_low_top_root 396000 KHz
Net:   No ethernet found.
Hit key to stop autoboot('CTRL+C'):  0 
switch to partitions #0, OK
mmc1 is current device
mmc@fe2c0000: 1 (SD)
mmc@fe2e0000: 0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
2604 bytes read in 6 ms (423.8 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 1
173 bytes read in 8 ms (20.5 KiB/s)
256360 bytes read in 89 ms (2.7 MiB/s)
30685696 bytes read in 2477 ms (11.8 MiB/s)
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
6397 bytes read in 44 ms (141.6 KiB/s)
Applying kernel provided DT overlay rockchip-rk3588-opp-oc-24ghz.dtbo
** File not found /dtb/rockchip/overlay/rockchip-fixup.scr **
22065321 bytes read in 1785 ms (11.8 MiB/s)
Fdt Ramdisk skip relocation
## Loading init Ramdisk from Legacy Image at 0a200000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    22065257 Bytes = 21 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 0x0a100000
   Booting using the fdt blob at 0x0a100000
   reserving fdt memory region: addr=a100000 size=a4000
  'reserved-memory' cma: addr=10000000 size=10000000
  'reserved-memory' ramoops@110000: addr=110000 size=f0000
   Using Device Tree in place at 000000000a100000, end 000000000a1a6fff
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)
Adding bank: 0x100000000 - 0x3fc000000 (size: 0x2fc000000)
Adding bank: 0x3fc500000 - 0x3fff00000 (size: 0x03a00000)
Total: 5152.273 ms

Starting kernel ...

[    7.125906] fiq_debugger fiq_debugger.0: IRQ fiq not found
[    7.125920] fiq_debugger fiq_debugger.0: IRQ wakeup not found
[    7.125927] fiq_debugger_probe: could not install nmi irq handler
[    8.149315] mpp-iep2 fdbb0000.iep: allocate roi buffer failed
[    8.150523] rk-pcie fe170000.pcie: IRQ msi not found
[    8.150558] rk-pcie fe170000.pcie: Missing *config* reg space
[    8.150688] rk-pcie fe170000.pcie: Missing *config* reg space
[    8.150728] rk-pcie fe170000.pcie: invalid resource
[    8.150783] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_a is not found!
[    8.150793] rkvdec2_init:1008: No niu aclk reset resource define
[    8.150800] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_h is not found!
[    8.150805] rkvdec2_init:1011: No niu hclk reset resource define
[    8.151443] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_a is not found!
[    8.151451] rkvdec2_init:1008: No niu aclk reset resource define
[    8.151458] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_h is not found!
[    8.151463] rkvdec2_init:1011: No niu hclk reset resource define
[    8.161447] rk-pcie fe150000.pcie: IRQ msi not found
[    8.161489] rk-pcie fe150000.pcie: Missing *config* reg space
[    8.161648] rk-pcie fe150000.pcie: Missing *config* reg space
[    8.161697] rk-pcie fe150000.pcie: invalid resource
[    8.217261] rk806 spi2.0: no sleep-setting state
[    8.217279] rk806 spi2.0: no reset-setting pinctrl state
[    8.217286] rk806 spi2.0: no dvs-setting pinctrl state
[    8.496199] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active.
[    8.506922] debugfs: File 'Capture' in directory 'dapm' already present!
[    8.532410] debugfs: Directory 'fb000000.gpu-mali' with parent 'vdd_gpu_s0' already present!
[    8.532852] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate
[    8.532864] rockchip-dmc dmc: failed to get vop pn to msch rl
[    8.532964] rockchip-dmc dmc: could not find power_model node
[    8.673999] debugfs: File 'Left Hp mixer' in directory 'dapm' already present!
[    8.674076] debugfs: File 'Right Hp mixer' in directory 'dapm' already present!
[    8.674125] debugfs: File 'HPCP L' in directory 'dapm' already present!
[    8.674150] debugfs: File 'HPCP R' in directory 'dapm' already present!
[    8.674189] debugfs: File 'HPVOL L' in directory 'dapm' already present!
[    8.674212] debugfs: File 'HPVOL R' in directory 'dapm' already present!
[    8.681713] rk-pcie fe190000.pcie: IRQ msi not found
[    8.681777] rk-pcie fe190000.pcie: Missing *config* reg space
[    8.681954] rk-pcie fe190000.pcie: Missing *config* reg space
[    8.682003] rk-pcie fe190000.pcie: invalid resource
[    8.685381] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdab0000-0xfdabffff]
[    8.685453] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdac0000-0xfdacffff]
[    8.685498] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdad0000-0xfdadffff]
[    8.690256] debugfs: Directory 'fdab0000.npu-rknpu' with parent 'vdd_npu_s0' already present!
[    8.713401] RKNPU fdab0000.npu: failed to find power_model node
[    8.713465] RKNPU fdab0000.npu: RKNPU: failed to initialize power model
[    8.713495] RKNPU fdab0000.npu: RKNPU: failed to get dynamic-coefficient
[   10.508337] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_cancel_cpu_limit_freq freq qos nod add
[   11.047175] rk-pcie fe170000.pcie: PCIe Link Fail
[   11.047248] rk-pcie fe170000.pcie: failed to initialize host
[   11.047326] rk-pcie fe150000.pcie: PCIe Link Fail
[   11.047344] rk-pcie fe150000.pcie: failed to initialize host
So, clearly the u-boot of the rock5 is failing to perform for one reason or the other?

Playing on...
My sdcard is detected as /dev/sdb and i'm cd into the directory that holds the unpacked image files...

Code:
# dc3dd if=slarm64-current-aarch64-server-rock_5-5.10.110-build-20230204.img of=/dev/sdb ssz=1024
# dc3dd if=slarm64-current-aarch64-core-orange_pi_5-5.10.110-build-20230213.img of=/dev/sdb ssz=1024 iskip=32 oskip=32 cnt=16352
i prefer the dc3dd over dd for performance, but the dd command is easier to read in scripts and such...

Last edited by SCerovec; 04-27-2023 at 05:43 AM. Reason: errors!
 
  


Reply

Tags
slackware aarch64, slamd64



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Rock Pi 4C variant adds mini-DP while Rock Pi E offers dual LAN LXer Syndicated Linux News 0 10-03-2019 07:12 AM
ROCK-esque "distro", but not ROCK? piete Linux - Distributions 5 08-21-2006 04:41 PM
Rock Linux -- does it rock ?? rolando Linux - Distributions 2 10-10-2004 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > slarm64

All times are GMT -5. The time now is 07:23 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