* Introducing Rockchip rk322x SoC support
Main features:
- Legacy kernel flavour based upon stable v2.x rk3288 Rockchip branch (https://github.com/rockchip-linux/kernel/tree/stable-4.4-rk3288-linux-v2.x)
- Current kernel flavour based on mainline 5.6.y kernel
- Mainline u-boot (v2020.04)
- Single generic tv box target (rk322x-box) which boots on all the known tv boxes
- Hardware devices (eMMC/NAND, led wiring configuration, SoC variant selection) modulation done by user at runtime via device tree overlays - a script (rk322x-config) is provided for autodetection and simple configuration by inexperienced users;
- Bits added to armbian-hardware-optimization to set affinity for irq handlers
- rk322x-box targets already added to targets.conf for automatic image creation
* Removed disabled patches
* Restored mysteriously removed comment character
* Improve all kernel building
Store hashes and rebuild only changed kernels. TBD: support for patch directory not fully implemented yet
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Add support for patch directory checking
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Update lib/build-all-ng.sh
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
* Update lib/build-all-ng.sh
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
* Update lib/compilation.sh
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
* Update lib/compilation.sh
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
* Update build-all-ng.sh
* Disable u-boot hashing for now
* remove banana r2
breaks compilation ... no time for inspection ATM
* typo
* Change s5p6818 to COMMIT instead of TAG
TAG points to a different HASH and its not posible to resolve hash without cloning. This can be addressed later, but now commit HASH will do.
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Bumping to new version
* Bumping to new version
* Bump
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* few changes
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Test
* Bumping to new version
* Bumping to new version
BOARD
Cubox i2eX/i4
* Bumping to new version
imx6 current
meson-gxl current
* Bumping to new version
linux-image-current-imx6_20.08.4-trunk_armhf.deb
linux-image-current-meson64_20.08.4-trunk_arm64.deb
* Bumping to new version
Adding following kernels:\n
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_20.08.4-trunk_armhf.deb
linux-image-current-meson64_20.08.4-trunk_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-current-meson64_20.08.5-trunk_arm64.deb
linux-image-current-sunxi_20.08.5-trunk_armhf.deb
linux-image-legacy-meson_20.08.5-trunk_armhf.deb
linux-image-legacy-s5p6818_20.08.5-trunk_arm64.deb
* fix versioning
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Bumping to new version
Adding following kernels:
linux-image-current-meson64_20.08.1_arm64.deb
* Put version back
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_20.08.0-trunk_armhf.deb
linux-image-current-meson64_20.08.0-trunk_arm64.deb
linux-image-current-mvebu_20.08.0-trunk_armhf.deb
linux-image-current-mvebu64_20.08.0-trunk_arm64.deb
linux-image-current-odroidxu4_20.08.0-trunk_armhf.deb
linux-image-current-rockchip_20.08.0-trunk_armhf.deb
linux-image-current-rockchip64_20.08.0-trunk_arm64.deb
linux-image-current-sunxi_20.08.0-trunk_armhf.deb
linux-image-dev-mvebu_20.08.0-trunk_armhf.deb
linux-image-dev-rockchip64_20.08.0-trunk_arm64.deb
linux-image-legacy-meson_20.08.0-trunk_armhf.deb
linux-image-legacy-meson64_20.08.0-trunk_arm64.deb
linux-image-legacy-mvebu_20.08.0-trunk_armhf.deb
linux-image-legacy-mvebu64_20.08.0-trunk_arm64.deb
linux-image-legacy-odroidxu4_20.08.0-trunk_armhf.deb
linux-image-legacy-rk3399_20.08.0-trunk_arm64.deb
linux-image-legacy-rockchip_20.08.0-trunk_armhf.deb
linux-image-legacy-rockchip64_20.08.0-trunk_arm64.deb
linux-image-legacy-rockpis_20.08.0-trunk_arm64.deb
linux-image-legacy-s5p6818_20.08.0-trunk_arm64.deb
* Bumping to new version
Adding following kernels:
* Bumping to new version
Adding following kernels:
linux-image-dev-rockchip_20.08.0-trunk.2_armhf.deb
* Bumping to new version
Adding following kernels:
* Bumping to new version
Adding following kernels:
* Bumping to new version
Adding following kernels:
* Bumping to new version
Adding following kernels:
* Report error code, adjust version
* Adjust ver
* Add another switch
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Co-authored-by: root <root@workstation>
* Add GPT parition table support Leave unchanged / mbr by default since GPT doesn't works everywhere.
* Accept ROOTFS_PARTITION_TABLE as a parameter
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Change variable name
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Update README.md
* Moved rockchip-dev to kernel 5.7, removed already upstreamed patch (1016), adjusted conflicting patch (1015)
Most kernel configuration answer left at default, notables:
- Wireguard (as module)
- Zswap default compression set to LZO
- RK3288 GPIOMEM (as module)
- Enabled some new DMABUF bits (heaps, cmas)
- Hantro driver
- F2FS compression
* Disabled rx/tx dma for uarts, on my board causes system freeze during bluetooth initialization. Don't know if they ever worked, tried to enable them ages ago and they were already not working
* Delete FORCE_CHECKOUT, IGNORE_UPDATES variables
There are currently two questionable variables.
They are the keys in the structures:
'if [[ $FORCE_CHECKOUT == yes ]]; then' in the function 'fetch_from_repo()'
which is set by default by the script 'main.sh'
'[[ -z $FORCE_CHECKOUT ]] && FORCE_CHECKOUT=yes'
Next in the script 'main.sh'
if [[ $IGNORE_UPDATES != yes ]]; then
display_alert "Downloading sources" "" "info"
fetch_from_repo "$BOOTSOURCE" "$BOOTDIR" "$BOOTBRANCH" "yes"
This key has aged. It can't work properly today.
We should always clear the sources before starting the build.
For this reason, these two keys in these places do not make any sense.
You can just delete them.
* Working offline for sources
This is useful when building recursively for multiple platforms,
when some resource on the Internet is frozen.
To do this, I entered a new variable 'OFFLINE_WORK'
* New ability to work in offline mode
* Skip check prepare host
* Add unset OFFLINE_WORK in lib/build-all-ng.sh
Sources, time and host will not be checked
Now you can collect packages without accessing the Internet
* For xt-q8l-v10 rk3288 board:
- Upgraded u-boot to v2020.04, reworked configuration to match new version, enabled HDMI video console
- Increased u-boot boot delay from 0 seconds to 1 second for rockchip boards, to allow user interrupt u-boot boot process
- Imported efuse rk3288 driver into u-boot, made ethernet address stable using soc serial
- Upgraded ddrbin loader to v1.08
- Added VDSO patch for rockchip-current and rockchip-dev kernels for clock_gettime64 to fix erratic clock on 32 bit ARM devices with recent glibc
- Disabled 600 Mhz OPP node for GPU due to Panfrost instabilities, thus enabled 500 Mhz node
- Various fixes and enhancements to xt-q8l-v10 device trees for current and dev targets
- Added (disabled) u-boot HDMI patch for Tinkerboard
* Removed rk3288 ddrbin v1.08 from rockchip blobs, changed reference to use rkbin-tools repository
* Removed unneeded disabled patch for tinkerboard HDMI
This is a minimal fix for the correct display
of characters in the applications, especially the console.
For example, if the locale-gen command is only for one locale
locale-gen ru_RU.UTF-8
Then the console application MC instead of a line in the frame outputs:
@
@@@@@@@@@@@@@@@@@@
@ README.md
@@@@@@@@@@@@@@@@@@
@
@
Setting variables to LC_ALL=C LANG=C is not necessary in this construction.
The line with the editor is not needed.
The 'locale-gen en_US.UTF-8 xx_XX.UTF-8' command
will fix this file itself.
* Exit if you can't create a directory
Otherwise the entire folder structure will crash
* git rev-parse --git-dir will always return ".git" line
if we are in the git repository folder.
When there is a symbolic link in the path, some functions
will not return what is expected. This condition is always true.
$(git rev-parse --show-toplevel) != $(pwd)
This commit fixes this threat
these modules arent in the image and also wouldnt be used for sound & network, because other modules are doing this work.
This - now deleted - module-line does generate a error-message in the onscreen-boot-log (not in dmesg) and can be read via :
systemctl status systemd-modules-load.service
result of this command:
Jun 04 13:07:49 npi-a64 systemd-modules-load[531]: Failed to find module 'sunxi_codec'
Jun 04 13:07:49 npi-a64 systemd-modules-load[531]: Failed to find module 'sunxi_i2s'
Jun 04 13:07:49 npi-a64 systemd-modules-load[531]: Failed to find module 'sunxi_sndcodec'
Jun 04 13:07:49 npi-a64 systemd-modules-load[531]: Failed to find module '8723bs'
without this module-line /etc/modules should be empty and the error-message is gone away
the 8723bs seems to be a artifact of teh former PineA64 image where the NanoPi A64 was forrmerly build of.
Maybe also the other 3 modules.