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
  MIPI-CSI IMX214 on Linux NO SUCCESS zeus666 0 519 02-04-2022, 02:11 AM
Last Post: zeus666
  Linux 5.15 Kernel - openSuse mark1250 0 667 12-02-2021, 04:36 PM
Last Post: mark1250
  Security Patches for the Kernel kwinz 9 3,635 10-22-2021, 05:45 AM
Last Post: kwinz
  Alpine Linux isndw 12 12,951 08-12-2021, 05:41 PM
Last Post: pix
Lightbulb RK3399 Linux rtl8822cu module bluetooth not working shivarj89 0 795 07-29-2021, 07:19 AM
Last Post: shivarj89
Information Linux Mainline ayufan 63 68,926 05-14-2021, 10:41 AM
Last Post: Wizzard
  Linux Images (ROCK64) pineadmin 164 219,476 02-12-2021, 10:14 AM
Last Post: useful64
  Debian kernel stuck at 4.4.167 Enig123 5 3,530 12-29-2020, 12:57 PM
Last Post: kwinz
  Linux laptop does not detect the board when plugged in via USB soupy 0 2,606 10-07-2020, 02:51 PM
Last Post: soupy
  Arch Linux ARM on the Rock64 V3 justinweiss 2 3,493 08-24-2020, 05:16 PM
Last Post: justinweiss

Forum Jump:


Users browsing this thread: 1 Guest(s)