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
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 7 1,225 11-19-2024, 02:54 PM
Last Post: mara
  How to boot an older, working kernel bits 0 159 11-01-2024, 04:43 PM
Last Post: bits
  Debian installation via sd card oaFJSADBKV 0 160 10-12-2024, 10:24 AM
Last Post: oaFJSADBKV
  arch rock64 does not boot nemnob 1 1,044 09-20-2024, 11:18 AM
Last Post: AwU2HBg
  MIPI-CSI IMX214 on Linux NO SUCCESS zeus666 2 2,387 06-02-2023, 07:52 AM
Last Post: diederik
  Linux 5.15 Kernel - openSuse mark1250 0 1,560 12-02-2021, 04:36 PM
Last Post: mark1250
  Security Patches for the Kernel kwinz 9 8,468 10-22-2021, 05:45 AM
Last Post: kwinz
  Alpine Linux isndw 12 20,317 08-12-2021, 05:41 PM
Last Post: pix
Lightbulb RK3399 Linux rtl8822cu module bluetooth not working shivarj89 0 1,624 07-29-2021, 07:19 AM
Last Post: shivarj89
Information Linux Mainline ayufan 63 106,613 05-14-2021, 10:41 AM
Last Post: Wizzard

Forum Jump:


Users browsing this thread: 2 Guest(s)