Arch Linux Arm --> Kernel 5.8 breaks installation
#11
https://archlinuxarm.org/platforms/armv8...hip/rock64
The board I tried this time is Ver2, and I am practicing the above faithfully.
Confirmation is for SD-CARD only, not confirmed for eMMC.

Below, I will write only the main points.

Code:
---
37171712 bytes read in 1798 ms (19.7 MiB/s) <= "Image"
50174 bytes read in 40 ms (1.2 MiB/s)       <= "rk3328-rock64.dtb"
8339435 bytes read in 419 ms (19 MiB/s)     <= "initramfs-linux.img"
...

printenv
kernel_addr_r=0x02000000
ramdisk_addr_r=0x04000000
scriptaddr=0x00500000
fdt_addr_r=0x01f00000

kernel_addr_r: 0x02000000 + 37171712 => 0x04373200
ramdisk_addr_r: 0x04000000

It overlaps with the kernel area, it is natural that it does not work.

I fixed it to ramdisk_addr_r = 0x06000000 as a trial.
As a result, it boot with only this fix.

---

Try adding the following one-line and rebuilding "boot.src" .

Code:
part uuid ${devtype} ${devnum}:${bootpart} uuid
setenv bootargs console=ttyS2,1500000 root=PARTUUID=${uuid} rw rootwait earlycon=uart8250,mmio32,0xff130000
setenv fdtfile rockchip/rk3328-rock64.dtb
setenv ramdisk_addr_r 0x06000000            <= Append

eMMMC has the same problem (at least it can't boot),
But I'm not sure if this is the only problem.
For eMMC, please check by yourself.


---
Thanks, m.bakhterev

I own four boards, but this is the only one that hasn't stabilized at 800MHz.
Under heavy load conditions such as Kernel-Build, and under heavy load fluctuations,
an error occurs with a high probability.

Well, this one is a disappointing board.
  Reply
#12
Thanks t4_4t for posting this fix. It worked on my v2.    Where did you get this fix (link pls) and is it to be kept perm or temp ?

I have latest arch rock u-boot and fully upgraded.  No other changes to stock install made here.

PS Arch arm post says a recompile of current u-boot works too
  Reply
#13
From the alarm device page:

Quote:wget http://os.archlinuxarm.org/os/rockchip/b...loader.img
wget http://os.archlinuxarm.org/os/rockchip/b...u-boot.itb
dd if=rksd_loader.img of=/dev/sdX seek=64 conv=notrunc
dd if=u-boot.itb of=/dev/sdX seek=16384 conv=notrunc


But just "re-flashing" these 2 files won't work from my experience, I had to setup my Rock64 from scratch again as I have not the knowledge on how to compile and install u-boot from source.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Arch Linux ARM on the Rock64 V3 justinweiss 2 518 08-24-2020, 05:16 PM
Last Post: justinweiss
  Arch Linux Arm - external RTC problem max 1 197 08-17-2020, 10:35 AM
Last Post: max
  Linux Images (ROCK64) pineadmin 162 97,322 07-25-2020, 01:57 PM
Last Post: vve1505
Sad Is there a none-headless Linux OS that really works now for Rock64? AkiraSensei 7 838 07-09-2020, 10:02 PM
Last Post: nethammer
  mainline kernel sound support Openwrt lucize 2 447 05-01-2020, 05:09 PM
Last Post: PakoSt
  5.3 kernel support? csrf 5 1,096 04-18-2020, 11:34 PM
Last Post: CameronNemo
  Help troubleshooting kernel panic gabrielfin 3 476 03-02-2020, 04:18 PM
Last Post: gabrielfin
  need a dts file to set some pins as pulldown interrupts in kernel using a DTO dkebler 0 232 02-05-2020, 10:58 PM
Last Post: dkebler
  Arch-Manjaro attempting gles2 setup tomarm 2 308 12-28-2019, 01:33 AM
Last Post: tomarm
  Headless installation of Real VNC server on Rock64 possible? hg6806 3 466 11-18-2019, 04:32 AM
Last Post: evilbunny

Forum Jump:


Users browsing this thread: 1 Guest(s)