LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   slarm64 (https://www.linuxquestions.org/questions/slarm64-132/)
-   -   Rock64 RK3328 (aarch64) (https://www.linuxquestions.org/questions/slarm64-132/rock64-rk3328-aarch64-4175706939/)

sndwvs 03-17-2022 04:03 AM

Quote:

Originally Posted by shelldweller (Post 6339014)
Hmmm... alright. Now I am getting a different error in roughly the same spot:

Code:

  MKIMAGE tpl/u-boot-tpl-rockchip.bin
  CAT    idbloader.img
  CAT    u-boot-rockchip.bin
  UPD    include/generated/timestamp_autogenerated.h
  CC      cmd/version.o
  AR      cmd/built-in.o
  LD      u-boot
  OBJCOPY u-boot-nodtb.bin
./"arch/arm/mach-rockchip/make_fit_atf.py" \
arch/arm/dts/rk3328-rock64.dtb > u-boot.its
  RELOC  u-boot-nodtb.bin
  MKIMAGE u-boot.itb
/hdd/slarm64/images_build_kit/build/source/u-boot /hdd/slarm64/images_build_kit/build/source/u-boot
Error: SPL image is too large (size 0x7800 than 0x7000)
Error: Bad parameters for image type
Usage: tools/mkimage -l image
          -l ==> list image header information
      tools/mkimage [-x] -A arch -O os -T type -C comp -a addr -e ep -n name -d data_file[:data_file...] image
          -A ==> set architecture to 'arch'
          -O ==> set operating system to 'os'
          -T ==> set image type to 'type'
          -C ==> set compression type 'comp'
          -a ==> set load address to 'addr' (hex)
          -e ==> set entry point to 'ep' (hex)
          -n ==> set image name to 'name'
          -d ==> use image data from 'datafile'
          -x ==> set XIP (execute in place)
      tools/mkimage [-D dtc_options] [-f fit-image.its|-f auto|-F] [-b <dtb> [-b <dtb>]] [-E] [-B size] [-i <ramdisk.cpio.gz>] fit-image
          <dtb> file is used with -f auto, it may occur multiple times.
          -D => set all options for device tree compiler
          -f => input filename for FIT source
          -i => input filename for ramdisk file
          -E => place data outside of the FIT structure
          -B => align size in hex for FIT structure and header
Signing / verified boot options: [-k keydir] [-K dtb] [ -c <comment>] [-p addr] [-r] [-N engine]
          -k => set directory containing private keys
          -K => write public keys to this .dtb file
          -G => use this signing key (in lieu of -k)
          -c => add comment in signature node
          -F => re-sign existing FIT image
          -p => place external data at a static position
          -r => mark keys used as 'required' in dtb
          -N => openssl engine to use for signing
      tools/mkimage -V ==> print version information and exit
Use '-T list' to see a list of available image types


I have tried switching between the two sources for rkbin as well as u-boot-tools in config/sources/rockchip.inc, but nothing lets me get past the u-boot compilation stage above.

FWIW, I am getting something similar when I try to build images for Quartz64 also. So, maybe something is going on with the rockchip boot sources and I just need to be more patient.

Just for your info, nothing critical. Thanks much.

Fixed, this is due to rk3328_ddr_333MHz_v1.19.bin, the size is larger than version 1.17.

shelldweller 03-18-2022 09:22 PM

Quote:

Originally Posted by sndwvs (Post 6339052)
Fixed, this is due to rk3328_ddr_333MHz_v1.19.bin, the size is larger than version 1.17.

Excellent, thank you. After a few tries, I was able to build a fresh legacy image. That is all I was after. Much appreciated.

sndwvs 06-01-2022 12:24 PM

kernel 5.18.1
Installation README.TXT
slarm64-current-aarch64-server-rock64-5.18.1-build-20220601.img.zst
slarm64-current-aarch64-server-rock64-5.18.1-build-20220601.img.zst.sha256
slarm64-current-aarch64-xfce-rock64-5.18.1-build-20220601.img.zst
slarm64-current-aarch64-xfce-rock64-5.18.1-build-20220601.img.zst.sha256

sndwvs 08-05-2022 12:22 PM

Installation README.TXT
kernel 5.19.0

slarm64-current-aarch64-server-rock64-5.19.0-build-20220804.img.zst
slarm64-current-aarch64-server-rock64-5.19.0-build-20220804.img.zst.sha256
slarm64-current-aarch64-xfce-rock64-5.19.0-build-20220804.img.zst
slarm64-current-aarch64-xfce-rock64-5.19.0-build-20220804.img.zst.sha256

sndwvs 10-10-2022 11:05 AM

Installation README.TXT
kernel 6.0.0

slarm64-current-aarch64-server-rock64-6.0.0-build-20221009.img.zst
slarm64-current-aarch64-server-rock64-6.0.0-build-20221009.img.zst.sha256
slarm64-current-aarch64-xfce-rock64-6.0.0-build-20221009.img.zst
slarm64-current-aarch64-xfce-rock64-6.0.0-build-20221009.img.zst.sha256

downhomechunk 11-04-2022 11:35 PM

first of all, thank you sndwvs for maintaining this. i'm a total n00b to SBCs. i bought one of these on a whim and am hoping to get some form of slackware ARM up and running on it. i thought this thread was the answer since it's the same chipset but i'm not having any luck so far. any tips?

https://www.libre.computer/products/roc-rk3328-cc/

sndwvs 11-05-2022 08:57 AM

Quote:

Originally Posted by downhomechunk (Post 6390436)
first of all, thank you sndwvs for maintaining this. i'm a total n00b to SBCs. i bought one of these on a whim and am hoping to get some form of slackware ARM up and running on it. i thought this thread was the answer since it's the same chipset but i'm not having any luck so far. any tips?

https://www.libre.computer/products/roc-rk3328-cc/

the easiest way is to install a working image of any system (if there is no bootloader that can be written separately) and then just rewrite everything from the rock64 image and change the DTB name in the /boot/uEnv.txt file to rk3328-roc-cc.dtb
or try the image of the station m1, it is the closest.

sndwvs 11-13-2022 01:03 PM

Installation README.TXT
kernel 6.0.8

slarm64-current-aarch64-server-rock64-6.0.8-build-20221113.img.zst
slarm64-current-aarch64-server-rock64-6.0.8-build-20221113.img.zst.sha256
slarm64-current-aarch64-xfce-rock64-6.0.8-build-20221113.img.zst
slarm64-current-aarch64-xfce-rock64-6.0.8-build-20221113.img.zst.sha256

sndwvs 01-07-2023 02:03 AM

Installation README.TXT
kernel 6.1.3

slarm64-current-aarch64-server-rock64-6.1.3-build-20230107.img.zst
slarm64-current-aarch64-server-rock64-6.1.3-build-20230107.img.zst.sha256
slarm64-current-aarch64-xfce-rock64-6.1.3-build-20230107.img.zst
slarm64-current-aarch64-xfce-rock64-6.1.3-build-20230107.img.zst.sha256

sndwvs 03-06-2023 12:54 PM

Installation README.TXT
kernel 6.2.2

slarm64-current-aarch64-core-rock64-6.2.2-build-20230306.img.zst
slarm64-current-aarch64-core-rock64-6.2.2-build-20230306.img.zst.sha256
slarm64-current-aarch64-server-rock64-6.2.2-build-20230306.img.zst
slarm64-current-aarch64-server-rock64-6.2.2-build-20230306.img.zst.sha256
slarm64-current-aarch64-xfce-rock64-6.2.2-build-20230306.img.zst
slarm64-current-aarch64-xfce-rock64-6.2.2-build-20230306.img.zst.sha256

shelldweller 06-22-2023 08:19 AM

Hi sndwvs, I hope you're well.

I was trying to build a fresh set of kernel packages for the Rock64 (my only board left after a fire), and I ran into this error while downloading the sources:

Code:

|----------- delimiter ----------- "download" "linux-next" -----------|
HEAD is now at 6ab3eda15 Linux 6.2.2
error: pathspec 'linux-6.3.y' did not match any file(s) known to git

Seems like it's on the wrong branch now. What branch should this board be on for the next kernel, and where do I change that line? I checked in config/sources/rk3328.conf and config/sources/rockchip.inc, but the 6.3.y url must be coming from somewhere else. Any ideas?

thanks so much, keep up the great work!

sndwvs 06-22-2023 01:08 PM

Quote:

Originally Posted by shelldweller (Post 6437903)
Hi sndwvs, I hope you're well.

I was trying to build a fresh set of kernel packages for the Rock64 (my only board left after a fire), and I ran into this error while downloading the sources:

Code:

|----------- delimiter ----------- "download" "linux-next" -----------|
HEAD is now at 6ab3eda15 Linux 6.2.2
error: pathspec 'linux-6.3.y' did not match any file(s) known to git

Seems like it's on the wrong branch now. What branch should this board be on for the next kernel, and where do I change that line? I checked in config/sources/rk3328.conf and config/sources/rockchip.inc, but the 6.3.y url must be coming from somewhere else. Any ideas?

thanks so much, keep up the great work!

Hi shelldweller,

It's very unfortunate that this happened to you.
So far so good thank you.

Very similar to the fact that in the images_build_kit/build/source kernel-next folder contains the old downloaded kernel, you need to delete the kernel-next folder

shelldweller 06-23-2023 07:41 AM

Quote:

Originally Posted by sndwvs (Post 6437958)
Hi shelldweller,

It's very unfortunate that this happened to you.
So far so good thank you.

Very similar to the fact that in the images_build_kit/build/source kernel-next folder contains the old downloaded kernel, you need to delete the kernel-next folder

Hi sndwvs. Perfect, that fixed the problem. I should have remembered to clean out the build directory, I've run into that before. It's been a while since I've messed around with the script though. Thanks for the tip, keep up the good work!

sndwvs 06-23-2023 04:07 PM

Installation README.TXT
kernel 6.3.9

slarm64-current-aarch64-core-rock64-6.3.9-build-20230623.img.zst
slarm64-current-aarch64-core-rock64-6.3.9-build-20230623.img.zst.sha256
slarm64-current-aarch64-server-rock64-6.3.9-build-20230623.img.zst
slarm64-current-aarch64-server-rock64-6.3.9-build-20230623.img.zst.sha256
slarm64-current-aarch64-xfce-rock64-6.3.9-build-20230623.img.zst
slarm64-current-aarch64-xfce-rock64-6.3.9-build-20230623.img.zst.sha256

sndwvs 08-12-2023 09:25 AM

Installation README.TXT
kernel 6.4.10

slarm64-current-aarch64-core-rock64-6.4.10-build-20230812.img.zst
slarm64-current-aarch64-core-rock64-6.4.10-build-20230812.img.zst.sha256
slarm64-current-aarch64-server-rock64-6.4.10-build-20230812.img.zst
slarm64-current-aarch64-server-rock64-6.4.10-build-20230812.img.zst.sha256
slarm64-current-aarch64-xfce-rock64-6.4.10-build-20230812.img.zst
slarm64-current-aarch64-xfce-rock64-6.4.10-build-20230812.img.zst.sha256


All times are GMT -5. The time now is 09:15 AM.