LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   ROCKPro64 RK3399 (aarch64) (https://www.linuxquestions.org/questions/slackware-arm-108/rockpro64-rk3399-aarch64-4175640902/)

sndwvs 09-26-2020 04:38 AM

update:

sndwvs 10-15-2020 04:42 AM

update:slarm64-current-aarch64-base-rootfs-20201003-5.8.15-rockpro64-build-20201014.img.zst
slarm64-current-aarch64-base-rootfs-20201003-5.8.15-rockpro64-build-20201014.img.zst.md5
slarm64-current-aarch64-xfce-rootfs-20201003-5.8.15-rockpro64-build-20201014.img.zst
slarm64-current-aarch64-xfce-rootfs-20201003-5.8.15-rockpro64-build-20201014.img.zst.md5

sndwvs 10-23-2020 04:18 PM

update:slarm64-current-aarch64-base-rootfs-20201023-5.9.1-rockpro64-build-20201023.img.zst
slarm64-current-aarch64-base-rootfs-20201023-5.9.1-rockpro64-build-20201023.img.zst.md5
slarm64-current-aarch64-xfce-rootfs-20201023-5.9.1-rockpro64-build-20201023.img.zst
slarm64-current-aarch64-xfce-rootfs-20201023-5.9.1-rockpro64-build-20201023.img.zst.md5

sndwvs 01-08-2021 01:46 PM

update:slarm64-current-aarch64-base-rockpro64-4.4.249-build-20210107.img.zst
slarm64-current-aarch64-base-rockpro64-4.4.249-build-20210107.img.zst.sha256
slarm64-current-aarch64-xfce-rockpro64-4.4.249-build-20210107.img.zst
slarm64-current-aarch64-xfce-rockpro64-4.4.249-build-20210107.img.zst.sha256

0XBF 01-27-2021 06:43 PM

Hi sndwvs,

I just received my rockpro64 this week (my first arm board), and I'm trying out your slarm64 images on a micro sd to try to get slackware up and running on it. It seems that only the images with kernel 4.4.230 (2020-07-11) will run. I've tried the newer 4.4.249 and 5.9.16 images and they both hang at "Booting using the fdt blob at 0x1f00000". I'll link a picture of the boot screen at the end of this post, if it helps.

I'm new to running anything on an arm board so I'm not sure the cause but it seems to be a problem with uboot, and working with that is completely new to me. Perhaps you have an idea on what can be done to get a newer image to boot?

For now I can run with the 4.4.230 images. Both base and xfce work fine, I just need to figure out what I want to use.

That picture of the stuck boot: https://imgur.com/9S1l9BB

sndwvs 01-28-2021 01:36 AM

Hi 0XBF,

try rewriting the bootloader to the installed image on the card:
Code:

dd if=idbloader.img of=/dev/mmcblk0 seek=64 status=noxfer
dd if=u-boot.itb of=/dev/mmcblk0 seek=16384 status=noxfer

where /dev/mmcblk0 or /dev/sd? is your card with slarm64.

update:
this is a known (as it turns out the problem).
i will update the images.

sndwvs 01-28-2021 07:42 AM

update kernel 5.10.11

slarm64-current-aarch64-base-rockpro64-5.10.11-build-20210128.img.zst
slarm64-current-aarch64-base-rockpro64-5.10.11-build-20210128.img.zst.sha256
slarm64-current-aarch64-xfce-rockpro64-5.10.11-build-20210128.img.zst
slarm64-current-aarch64-xfce-rockpro64-5.10.11-build-20210128.img.zst.sha256

0XBF 01-28-2021 04:04 PM

Quote:

Originally Posted by sndwvs (Post 6212894)
Hi 0XBF,

try rewriting the bootloader to the installed image on the card:
Code:

dd if=idbloader.img of=/dev/mmcblk0 seek=64 status=noxfer
dd if=u-boot.itb of=/dev/mmcblk0 seek=16384 status=noxfer

where /dev/mmcblk0 or /dev/sd? is your card with slarm64.

update:
this is a known (as it turns out the problem).
i will update the images.

Thanks for the bug info sndwvs. I see you've removed the latest images already so I will wait to test your latest build once you upload it.

Downloading the new base image at the moment. Today I'm getting ~50KB/sec so it'll be a little while until I can test things :)

0XBF 01-28-2021 09:00 PM

A little update,

I got your latest "slarm64-current-aarch64-base-rockpro64-5.10.11-build-20210128.img.zst" image downloaded and copied to my sd card and it booted up properly. My usb keyboard plugged into the rockpro64 is working fine too. I was wondering how that would go since those bug reports were talking about breaking usb keyboard support.

Thanks for getting those new images up!

sndwvs 01-29-2021 06:12 AM

slarm64-current-aarch64-base-rockpro64-4.4.253-build-20210129.img.zst
slarm64-current-aarch64-base-rockpro64-4.4.253-build-20210129.img.zst.sha256
slarm64-current-aarch64-enlightenment-rockpro64-4.4.253-build-20210129.img.zst
slarm64-current-aarch64-enlightenment-rockpro64-4.4.253-build-20210129.img.zst.sha256

mralk3 03-09-2021 06:55 PM

I wasn't sure where to post this: https://www.linuxquestions.org/quest...ml#post6228925

sndwvs 03-10-2021 10:05 AM

to download and then erase the SPI use the method:
Disable SPI (while booting)
Quote:

There is a second possibility to jumper your ROCKPro64: If you mess-up your SPI and are unable to boot, jumpering pins 23 (CLK) and 25 pin (GND) on the PI-2-bus header will disable the SPI as a boot device. (This was taken from the IRC logs, 09 August 2018 @ 17:23) You have to remove the jumper 2 seconds after having started your RP64 (before the white LED turns ON) otherwise the SPI will be missing and you won't be able to flash it. Ayufan images contain (at the moment) only one script for the SPI and the RP64, it's "rockpro64_reset_spi_flash". Other SPI scripts are dedicated to the R64 (as it is written on the name) and it will mess-up your RP64 SPI if you use them.
with erasing SPI after loading
Code:

flash_erase /dev/mtd0 0 0
or by the u-boot itself
Code:

sf probe
sf erase 0 400000


mralk3 03-10-2021 10:39 AM

After erasing SPI Flash, "env default -a ; reset", and finally booting the SD Card with slarm64, I was able to get Linux booted again. Thanks for the information. It's surprisingly difficult to glean any information about u-boot. There are so many versions and platforms that have different u-boot commands. A lot of the information I found was old, incorrect, or missing commands.

mralk3 03-13-2021 02:20 PM

Is there any chance that the kernel packages, firmware, and source could be refreshed?

sndwvs 03-13-2021 02:30 PM

Quote:

Originally Posted by mralk3 (Post 6230094)
Is there any chance that the kernel packages, firmware, and source could be refreshed?

they are available


All times are GMT -5. The time now is 02:55 AM.