The version argument is not used by the script anymore, hence the check is obsolete.
Additionally make use of the currently unused defined MOD_DIR variable.
Signed-off-by: MichaIng <micha@dietpi.com>
* We need to read DISTRIBUTION_STATUS in order to have information about
* Cover variants if we generate images for wip / csc targets
- by mistake
- for promotion or other reasons
- if image is made by 3rd party to cover this case
* Update armbian-firstlogin
* modifications of firstrun scripts
* Further making use of systemd statements to order firstboot scripts
* allow systemd ordering of ssh to avoid restarting in firstrun script
* suggested changes, add wants=first-boot-complete
* Remove SSH keys in debootstrap process
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* add the image tree source for building FIT images for ebin
* add FIT image generation to BSP files
* Change to using FIT image to boot
* make fit-image script executable
* add the ability to choose board dtb in armbianEnv.txt
By default, cron sends an email to the system admin if it finds anything in the stderr of the process.
journalctl sends "diag output" to stderr (see https://github.com/systemd/systemd/issues/380).
The easiest way to prevent sporadic emails is to call journalctl with --quiet.
* 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:
* Bumping to new version
Adding following kernels:
* Bumping to new version
Adding following kernels:
* Bumping to new version
* 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:
* Bumping to new version
Adding following kernels:
* Bumping to new version
Adding following kernels:
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.42_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.42_arm64.deb
* Bumping to new version
Adding following kernels:
* Bumping to new version
Adding following kernels:
linux-image-edge-sunxi_21.08.0-trunk.44_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.44_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.45_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-jetson-nano_21.08.0-trunk.46_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.47_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-odroidxu4_21.08.0-trunk.48_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.49_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.50_armhf.deb
linux-image-current-rockchip_21.08.0-trunk.50_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.51_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-odroidxu4_21.08.0-trunk.52_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-edge-rockchip64_21.08.0-trunk.53_arm64.deb
linux-image-legacy-mvebu64_21.08.0-trunk.53_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-edge-rockchip_21.08.0-trunk.54_armhf.deb
* Bumping to new version
Adding following kernels:
* Bumping to new version
Adding following kernels:
linux-image-edge-mvebu_21.08.0-trunk.56_armhf.deb
linux-image-legacy-sunxi_21.08.0-trunk.56_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-legacy-sunxi_21.08.0-trunk.57_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-legacy-sunxi_21.08.0-trunk.58_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-legacy-sunxi_21.08.0-trunk.59_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-legacy-sunxi_21.08.0-trunk.60_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-rk322x_21.08.0-trunk.61_armhf.deb
linux-image-legacy-sunxi_21.08.0-trunk.61_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-legacy-sunxi_21.08.0-trunk.62_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-legacy-sunxi_21.08.0-trunk.63_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-legacy-sunxi_21.08.0-trunk.64_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-legacy-sunxi_21.08.0-trunk.65_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-edge-odroidxu4_21.08.0-trunk.66_armhf.deb
linux-image-legacy-sunxi_21.08.0-trunk.66_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-legacy-sunxi_21.08.0-trunk.67_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.68_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.68_arm64.deb
linux-image-current-meson64_21.08.0-trunk.68_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.68_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.68_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.68_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.68_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.68_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.68_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.68_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.68_armhf.deb
linux-image-current-virtual_21.08.0-trunk.68_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.68_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.68_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.68_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.68_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.68_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.68_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.68_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.68_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.68_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.68_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.68_armhf.deb
linux-image-legacy-meson64_21.08.0-trunk.68_arm64.deb
linux-image-legacy-mt7623_21.08.0-trunk.68_armhf.deb
linux-image-legacy-mvebu64_21.08.0-trunk.68_arm64.deb
linux-image-legacy-odroidxu4_21.08.0-trunk.68_armhf.deb
linux-image-legacy-rk322x_21.08.0-trunk.68_armhf.deb
linux-image-legacy-rk3399_21.08.0-trunk.68_arm64.deb
linux-image-legacy-rockchip64_21.08.0-trunk.68_arm64.deb
linux-image-legacy-rockchip_21.08.0-trunk.68_armhf.deb
linux-image-legacy-rockpis_21.08.0-trunk.68_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.69_armhf.deb
linux-image-current-meson64_21.08.0-trunk.69_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.69_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.69_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.69_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.69_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.69_armhf.deb
linux-image-edge-imx6_21.08.0-trunk.69_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.69_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.69_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.69_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.69_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.69_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.69_arm64.deb
linux-image-legacy-mt7623_21.08.0-trunk.69_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-jetson-nano_21.08.0-trunk.70_arm64.deb
linux-image-current-virtual_21.08.0-trunk.70_arm64.deb
linux-image-edge-jetson-nano_21.08.0-trunk.70_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.70_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-odroidxu4_21.08.0-trunk.71_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.71_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.71_armhf.deb
linux-image-legacy-meson64_21.08.0-trunk.71_arm64.deb
* fix
* Githug Actions bugfix and optimisations
* Bumping to new version
Adding following kernels:
linux-image-current-rockchip64_21.08.0-trunk.72_arm64.deb
* Update VERSION
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.74_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.74_arm64.deb
linux-image-current-meson64_21.08.0-trunk.74_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.74_armhf.deb
linux-image-current-mvebu64_21.08.0-trunk.74_arm64.deb
linux-image-current-rk322x_21.08.0-trunk.74_armhf.deb
linux-image-current-rockchip_21.08.0-trunk.74_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.74_arm64.deb
linux-image-current-virtual_21.08.0-trunk.74_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.74_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.74_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.74_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.74_armhf.deb
linux-image-edge-mvebu64_21.08.0-trunk.74_arm64.deb
linux-image-edge-odroidxu4_21.08.0-trunk.74_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.74_armhf.deb
linux-image-edge-rockchip_21.08.0-trunk.74_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.74_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-edge-sunxi64_21.08.0-trunk.75_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.75_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-mvebu_21.08.0-trunk.76_armhf.deb
linux-image-current-mvebu64_21.08.0-trunk.76_arm64.deb
linux-image-current-odroidxu4_21.08.0-trunk.76_armhf.deb
linux-image-edge-mvebu_21.08.0-trunk.76_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.76_armhf.deb
linux-image-edge-sunxi_21.08.0-trunk.76_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.76_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.77_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.77_arm64.deb
linux-image-current-meson64_21.08.0-trunk.77_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.77_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.77_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.77_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.77_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.77_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.77_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.77_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.77_armhf.deb
linux-image-current-virtual_21.08.0-trunk.77_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.77_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.77_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.77_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.77_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.77_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.77_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.77_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.77_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.77_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.77_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.77_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-rockchip64_21.08.0-trunk.78_arm64.deb
linux-image-edge-sunxi64_21.08.0-trunk.78_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.78_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-meson64_21.08.0-trunk.79_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.79_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-current-rockchip64_21.08.0-trunk.80_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.80_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.80_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.80_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.80_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-edge-sunxi64_21.08.0-trunk.81_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.81_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.82_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.82_arm64.deb
linux-image-current-meson64_21.08.0-trunk.82_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.82_armhf.deb
linux-image-current-mvebu64_21.08.0-trunk.82_arm64.deb
linux-image-current-rk322x_21.08.0-trunk.82_armhf.deb
linux-image-current-rockchip_21.08.0-trunk.82_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.82_arm64.deb
linux-image-current-virtual_21.08.0-trunk.82_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.82_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.82_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.82_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.82_armhf.deb
linux-image-edge-mvebu64_21.08.0-trunk.82_arm64.deb
linux-image-edge-odroidxu4_21.08.0-trunk.82_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.82_armhf.deb
linux-image-edge-rockchip_21.08.0-trunk.82_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.82_arm64.deb
linux-image-legacy-jetson-nano_21.08.0-trunk.82_arm64.deb
linux-image-legacy-mt7623_21.08.0-trunk.82_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-rockchip64_21.08.0-trunk.83_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-current-odroidxu4_21.08.0-trunk.84_armhf.deb
linux-image-edge-sunxi_21.08.0-trunk.84_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.84_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-edge-sunxi64_21.08.0-trunk.85_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.85_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.86_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.86_arm64.deb
linux-image-current-meson64_21.08.0-trunk.86_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.86_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.86_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.86_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.86_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.86_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.86_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.86_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.86_armhf.deb
linux-image-current-virtual_21.08.0-trunk.86_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.86_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.86_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.86_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.86_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.86_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.86_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.86_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.86_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.86_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.86_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.86_armhf.deb
linux-image-legacy-rockchip64_21.08.0-trunk.86_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-current-station_21.08.0-trunk.87_arm64.deb
linux-image-legacy-jetson-nano_21.08.0-trunk.87_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.88_armhf.deb
linux-image-current-meson64_21.08.0-trunk.88_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.88_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.88_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.88_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.88_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.88_armhf.deb
linux-image-current-station_21.08.0-trunk.88_arm64.deb
linux-image-current-virtual_21.08.0-trunk.88_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.88_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.88_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.88_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.88_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.88_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.88_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.88_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.88_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.88_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.88_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-odroidxu4_21.08.0-trunk.89_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.89_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.89_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.89_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.89_armhf.deb
* Update VERSION
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.91_armhf.deb
linux-image-current-meson64_21.08.0-trunk.91_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.91_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.91_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.91_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.91_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.91_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.91_armhf.deb
linux-image-current-station_21.08.0-trunk.91_arm64.deb
linux-image-current-virtual_21.08.0-trunk.91_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.91_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.91_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.91_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.91_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.91_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.91_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.91_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.91_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.91_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.91_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-rk322x_21.08.0-trunk.92_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.92_arm64.deb
linux-image-edge-rk322x_21.08.0-trunk.92_armhf.deb
linux-image-legacy-rk322x_21.08.0-trunk.92_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-edge-rk322x_21.08.0-trunk.93_armhf.deb
* Update VERSION
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.95_armhf.deb
linux-image-current-meson64_21.08.0-trunk.95_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.95_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.95_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.95_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.95_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.95_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.95_armhf.deb
linux-image-current-station_21.08.0-trunk.95_arm64.deb
linux-image-current-sunxi64_21.08.0-trunk.95_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.95_armhf.deb
linux-image-current-virtual_21.08.0-trunk.95_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.95_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.95_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.95_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.95_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.95_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.95_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.95_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.95_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.95_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.95_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.95_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-sunxi64_21.08.0-trunk.96_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.96_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.96_arm64.deb
linux-image-edge-odroidxu4_21.08.0-trunk.96_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.96_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.96_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-edge-sunxi64_21.08.0-trunk.97_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.97_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-odroidxu4_21.08.0-trunk.98_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.98_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.98_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.99_armhf.deb
linux-image-current-meson64_21.08.0-trunk.99_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.99_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.99_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.99_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.99_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.99_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.99_armhf.deb
linux-image-current-station_21.08.0-trunk.99_arm64.deb
linux-image-current-sunxi64_21.08.0-trunk.99_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.99_armhf.deb
linux-image-current-virtual_21.08.0-trunk.99_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.99_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.99_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.99_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.99_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.99_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.99_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.99_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.99_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.99_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.99_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-station_21.08.0-trunk.100_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-current-rockchip64_21.08.0-trunk.101_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-current-odroidxu4_21.08.0-trunk.102_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-odroidxu4_21.08.0-trunk.103_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.104_armhf.deb
linux-image-current-meson64_21.08.0-trunk.104_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.104_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.104_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.104_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.104_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.104_armhf.deb
linux-image-current-station_21.08.0-trunk.104_arm64.deb
linux-image-current-virtual_21.08.0-trunk.104_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.104_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.104_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.104_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.104_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.104_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.104_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.104_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.104_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.104_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-meson64_21.08.0-trunk.105_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-current-odroidxu4_21.08.0-trunk.106_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.106_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.106_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.106_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.106_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-legacy-meson64_21.08.0-trunk.107_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.108_armhf.deb
linux-image-current-meson64_21.08.0-trunk.108_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.108_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.108_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.108_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.108_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.108_armhf.deb
linux-image-current-station_21.08.0-trunk.108_arm64.deb
linux-image-current-virtual_21.08.0-trunk.108_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.108_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.108_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.108_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.108_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.108_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.108_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.108_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.108_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.108_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-edge-sunxi64_21.08.0-trunk.109_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.109_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_21.08.0-trunk.110_armhf.deb
linux-image-current-meson64_21.08.0-trunk.110_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.110_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.110_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.110_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.110_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.110_armhf.deb
linux-image-current-station_21.08.0-trunk.110_arm64.deb
linux-image-current-virtual_21.08.0-trunk.110_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.110_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.110_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.110_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.110_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.110_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.110_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.110_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.110_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.110_armhf.deb
* Bumping to new version
Adding following kernels:
linux-image-current-odroidxu4_21.08.0-trunk.111_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.111_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.111_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.111_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.111_armhf.deb
* /usr/lib/armbian/armbian-common: typo, quotes (#3082)
* Add cron job (commented out by default) and a script to shutdown on bettery low level
packages/bsp/common/etc/cron.d/armbian-check-battery
packages/bsp/common/usr/lib/armbian/armbian-check-battery-shutdown
* /etc/update-motd.d/30-armbian-sysinfo: return if sourced by other script
* /usr/lib/armbian/armbian-check-battery-shutdown: a comment about battery_percent
* Update VERSION
* Move getboardtemp(), batteryinfo(), ambienttemp() into /usr/lib/armbian/armbian-allwinner-battery
Co-authored-by: armbianworker <info@armbian.com>
Co-authored-by: Igor Pecovnik <igor@armbian.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: lanefu <lanefu@users.noreply.github.com>
* Fix MOTD in debian-based armbian
Read DISTRIBUTION_CODENAME for MOTD from os-release instead of lsb-release
* Revert "Merge branch 'armbian:master' into master"
This reverts commit fa534bd685, reversing
changes made to 2791b57b90.
* Fix MOTD in debian-based armbian
Read DISTRIBUTION_CODENAME for MOTD from os-release where the file is existent.
* Revert "Revert "Merge branch 'armbian:master' into master""
This reverts commit 5e509cf787.
* Fix the standard location of dtb files
This fix allows standard system scripts from flash-kernel,
u-boot-menu packages to search in this location
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Bugfix: No need to unmount a separate partition for the /boot
These issues should be solved by system scripts.
In the future, this check should be removed.
* Remove unused generated file 'initrd.img-*' 'uInitrd-*'
These files were generated by initramfs-tools script
called postinst.d scripts.
And should be removed in the postrm.d or postinst.d scripts
and should be run after the initramfs-tools script
and under the same conditions.
* Revert "rpi: copy DTBs to Debian/Ubuntu standard location /lib/firmware/$version/device-tree; remove build-time-only hacks (#3462)"
This reverts commit 2f2d10c04a.
* Revert "Fix rpi upgrades to kernel and dtbs (#3461)"
This reverts commit 3b7f5b1f34.
Copying dtb files to a folder that cannot belong to a dtb package
creates additional clutter. If this is required for an individual
family, then it is necessary to implement it at the level of system
scripts. And only for this family.
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* rpi: fix: flash-kernel fix to ignore kernel 'flavour' for all raspi's
- use uppercase RPICFG label, so it shows up on Windows/Mac (FAT requires uppercase)
* builddeb: fix indenting of heredocs and shellfmt
* rpi: add DTB symlink in Debian/Ubuntu standard location /lib/firmware/$version/device-tree; remove build-time-only hacks
- this allows us to remove the most horrible hack
- should allow for correctly working DTB upgrades
- should NOT impact other families, although a new symlink will be created, nothing uses it.
Build a debugging package for the kernel if the CONFIG_DEBUG_INFO=y parameter is set in the kernel configuration.
Issues: packages are not created #3405
* Refactor armbian-bsp-cli package creation
- added general distro status for all in separate file inside BSP
- remove branch and distro specifics
* Looking for prebuild pack
* Small fixes
* JetHome: Update u-boot patches: fix emmc work on JetHub D1
* JetHome: update kernel patches with last updates for JetHub devices.
* JetHome: Update Bluetooth init script to more stable start.
That way the user can set $BOARD_NAME in /etc/default/armbian-motd. This is useful because e.g. the Odroid HC2 is internally an Odroid XU4, and in /etc/armbian-release it shows up as Odroid XU4.
* extensions framework (née "fragments")
- this should actually change nothing at this point, just add capabilities
- the framework is implemented in lib/extensions.sh
- the "if function x exists then call x" replaced with call_extension_method()
- +inline documentation
- +compatibility names
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* extensions framework; meta-extensions: auto-docs and sample extension gen
- 2 extensions dealing with extensibility itself
- detect-unused-extensions: shows which extensions are enabled, but never called.
- gen-sample-extension-docs: generates a sample empty extension & Markdown documentation for extensions
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* new extension methods and features via config variables in core Armbian
- `SKIP_EXTERNAL_TOOLCHAINS=yes` - does not download or use any linaro toolchains, only build host-installed ones
- `SKIP_BOOTSPLASH=yes` - does not patch kernel for splash file
- `EXTRA_BSP_NAME=xyz` - allows for BSP variants, useful for when extensions modify the BSP
- `EXTRA_ROOTFS_MIB_SIZE=x` - add x mib's to rootfs size, for use with very small images
- `KERNEL_EXTRA_TARGETS` - what extra targets to make kernel for, default to "modules dtbs"
- `BOOTCONFIG=none` - does not build nor install u-boot; also doesn't handle bootscripts et al
- `unset KERNELSOURCE` - does not build nor install kernel, nor build initrd, nor build nor install firmware
- `ARMHF_ARCH=skip` - does not add armhf to apt/dpkg, thus pure arm64
- `SKIP_ARMBIAN_REPO=yes` - results in armbian.list.disabled in the final image
- define `APT_EXTRA_DIST_PARAMS` with apt-cacher-ng options and use it for `PACKAGE_LIST_INSTALL/REMOVE` et al
- initial support for targeting x86/amd64 UEFI and BIOS
- some do's/don'ts for x86/amd64, like a different `UBUNTU_MIRROR` default
- GPT/EFI(ESP) partitions (fat, `UEFISIZE=256` to enable, mount `UEFI_MOUNT_POINT=/boot/efi`, first on disk but ends
up at `$uefipart`=15)
- GPT/BIOS partitions (fat, `BIOSSIZE=1` to enable, second on disk but ends up at partition 14)
- `UEFI_FS_LABEL="armbiefi"` - to set the FAT label for the EFI partition, visible in Win/Mac
- hard-requires gdisk package host-side
- add add_host_dependencies() extension method; fill `EXTRA_BUILD_DEPS="pkg pkg2"` to install to host before toolchains
download
- add pre_prepare_partitions() extension method, for custom partition size calculations
- add create_partition_table() extension method, used to do full-custom partitioning if `USE_HOOK_FOR_PARTITION=yes`
- add post_create_partitions() extension method, mostly for easy debugging
- add post_write_sdcard() extension method, where you can also set `SKIP_VERIFY=yes` to skip sdcard verification
- add post_install_kernel_debs() extension method.
- multiple fixes to bsp to avoid spurious errors when files are not where it expects
- v4: detect `update-initramfs` failure and abort build with useful message if it does
- v4: show useful stacktrace in `exit_with_error`
- if `ERROR_DEBUG_SHELL=yes`, drop into a shell before unmounting/deleting everything, so we can inspect what went wrong
- v4: display a message before `apt-get remove PACKAGE_LIST_BOARD_REMOVE` packages, so any errors while removing are easy to understand
- v4: preserve kernel .config's dates when copying
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* extensions framework; refactor tool fetching/building into extensions
- a few examples of core refactoring using extensions
- sunxi-tools extension, enabled by 2 different sunxi family includes ("reuse" example)
- marvel-tools extension, enabled by 2 different mvebu family includes
- rkbin-tools extension, enabled by rockship64_common family include
- amlogic-fip/c2-blobs stuff refactored directly into meson64_common.inc ("single-use" example)
- removed the 'testings' fetch_from_repo completely since not used anywhere.
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* .wip's for UEFI arm64 and UEFI/BIOS x86 via new GRUB extension
- v3: added `growroot`-awareness to `armbian-resize-filesystem`
- the partition-growing part of `armbian-resize-filesystem` does not deal correctly with the UEFI layout
- `growroot` is installed on UEFI images by default, that handles growing partition during initramfs
- now `armbian-resize-filesystem` handles `resize2fs` only, and works.
- v4: reworked UEFI board/family/include structure:
- use Distro's `linux-generic` kernel only for `current`
- `edge` now builds it's own pure-mainline `5.15.y` kernel, for both x86 and arm64
- `.config` taken from Ubuntu, probably needs tuning for EXTRAWIFI=yes et al
- v4: introduce `SKIP_KERNEL_SYMLINK=yes`, tested in `builddeb`
- to avoid symlinking kernel; u-boot likes it, but grub and flash-kernel hates it
- v5: many fixes
- v7: more small fixes.
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* .wip for the RaspberryPi 4B via new flash-kernel extension
- this does not build it's own kernel "yet", but uses default linux-raspi kernel from Ubuntu
- flash-kernel is not really a bootloader
- it just prepares kernel et al a FAT partition for booting by the RPi4b bootloader
- flash-kernel is standard Debian package, but has only been tested on Ubuntu releases
- it is really only known-working since Hirsute release.
- Debian's rpi kernel is armhf only, so out of scope here, at least until we add source-built kernels.
- v3: fixed focal rootfs build. untested.
- v3: better variable names, preparing for source-built kernel.
- v5: new edge build with pure mainline kernel.
- v6: many fixes and some hacks for packaging and layout, also firmware (using Ubuntu's)
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* Added first patch to edge x86 related to wifi drivers
* extensions: leave hostapd alone; remove hackish ext; block reentrancy
- package-list-utils does not belong in this PR
- grub or bcm2711 is not the place to remove hostapd
- block recursive enable_extension() calls, for now.
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* gen-sample-extension-docs: fix: avoid counter in generated sample
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* extensions: dependencies: enable_extension() in extensions with a stack
- and better stacktraces, I hope
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* Remove code from package list since we don't have it in repository
Adjust kernel config to disable driver that needs further polishing.
* Allow amd64 to build the same desktops as aarch64. We only have this limit for armhf, where some desktops don't work
* amd64: allow building amd64 on aarch64 with system toolchain
- conditionally add gcc-x86-64-linux-gnu to hostdeps
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* add libelf-dev directly to hostdeps (and Dockerfile), remove extension
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* packaging: remove SKIP_KERNEL_SYMLINK hack, fix the root cause
- which was the missing $image_name for non-arm64 & non-arm, so: x86 for example
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* grub: really obliterate u-boot stuff from BSP
- for now. soon we'll refactor u-boot so not have to do this
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* flash-kernel: really obliterate u-boot stuff from BSP
- for now. soon we'll refactor u-boot so not have to do this
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* extensions: add host_dependencies_ready() hook
- this passes FINAL_HOST_DEPS containing all hostdeps for the run after they're installed
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* Add verification functions for correct selection.
* If UEFI Skip symlink creation
* Do not create dtb package for amd64
* Skip scripts folder cleaning if build process native.
Skip creating postinst prerm scripts for headers.
* Skip applying headers-debian-byteshift.patch if build native
* Fix architecture syntax as x86_64
* Revert "amd64: allow building amd64 on aarch64 with system toolchain"
This reverts commit 0c5ee20bb1.
* Compare architectures before starting compilation.
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* extensions: cleanups after fixes by the-Going
- packaging:
- there is _no need_ anymore for the symlink hack, CONFIG_EFI or no. But check is great, see below
- it's not `amd64` that has no DTB's, it's all UEFI, thus: `is_enabled CONFIG_EFI`, thanks!
- Explicitly disallow "reverse cross compile" in amd64.conf.
- whitespace-only-deletions: revert. we shall shellfmt the whole thing one day, but not today.
- fix a few syntax warnings in newly introduced code (floating `$ARCH` vs `"${ARCH}`) - blame shellcheck
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* packaging: fix: turns out a lot of boards have CONFIG_EFI=y, can't use that for dtb/no-dtb decision.
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* grub: remove debug
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* firmware: allow installing `armbian-firmware-full`; make it really full
- can now use `BOARD_FIRMWARE_INSTALL="-full"` to install full firmware for the board. enable for UEFI.
- don't rely on KERNELSOURCE for firmware-related decisions. introduce `INSTALL_ARMBIAN_FIRMWARE` which defaults to `yes`
- rpi4b/flash-kernel: disable Armbian firmware; we need linux-firmware-raspi2, which conflicts.
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* extensions: log to /${LOG_SUBPATH}/ instead of fixed /debug/
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* extensions: introduce cleanup_extension_manager() called by build-all-ng's unset_all()
- to reset/unset everything done by the the initializer, so build can run again
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* extensions: remove 'global' logging, for use with build_all_ng
- enable_extensions() will have to live on without logging to file. it's just too early.
- now init EXTENSION_MANAGER_TMP_DIR in initialize_extension_manager()
- now init EXTENSION_MANAGER_LOG_FILE in initialize_extension_manager()
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* extensions: build-all-ng.sh bugfix due to extension's debug to stdout
- extensions (among other things) can produce output to stdout when activated
- fix: check_hash() produced "idential" (sic, now changed to IDENTICAL) to stdout as a trigger
- debugging output got mixed with "idential", rendering hash cache void for families that used extensions
- eg: sunxi, others
- fix is to send stdout to the bitbucket when sourcing the board & arch config files
- proper fix would be stop using stdout in this case and use return code for check_hash()
- one day soon
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* Add CI build targets
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
* introduce DEB_COMPRESS for dpkg-deb+kernel's KDEB_COMPRESS
- Avoids zstd which is now default in Ubuntu Impish, but can't be read by Debian dpkg
- Allows for xz, gzip, or none; defaults to xz; use gzip for faster, and none for much faster.
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* use KDEB_COMPRESS in packages/armbian/builddep for 5.12+ kernels too
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* add workaround against default MAC Address (userland utility bdaddr does not work to set MAC Address as expected)
* enable bits for xt-q8l-v10 board (ap6330/bcm4330 part), switching AP6330 bluetooth to btbcm driver using serdev
facilities to avoid userspace machinery with deprecated hciattach tool, added bits to enable driver support in kernel.
Removed ap6330 bluetooth service from bsp packages, added initramfs-tools hook to include bcm4330b1.hcd firmware in initramfs
* DEBUG code
* make M=scripts clean before creating the package
Move the cleanup of the scripts target from the postinst script
to the logically correct place so that the cleanup occurs with
the same arguments of the make command and the same compiler.
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* clear all files in target directory
* Debugging for version 5.10.10 and higher
* Return to version 5.12
Since version 5.12, there are no collisions
with deleting the scripts/module.lds file.
This pathology begins with 5.10 and ends on 5.11 inclusive,
and this is due to internal migration in the core.
* Change the order of creating packages
The linux-headers package must be built in the last queue
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Revert "DEBUG code"
This reverts commit 6bd8dcaa3b.
* revert xcfe to old look
* fix login screen xfce old look
* Re-add monitorVirtual-1
* There is not such icon
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
- via Jeremiah Cornelius on the Armbian Forums
- also clarify comment about 2 dtbs in mainline kernel
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* add DFI driver to provide hardware-based memory controller load
* adapted DRAM Memory Controller driver from rk3328, add necessary headers
* provide device tree overlays to enable DDR3 clock scaling
* adapted rk322x-box to allow DDR speed bin selection to user
* add ipb900 board gpio configuration
* add rtl8723cs driver to linux-current kernel
* use ddrbin v1.10 set to 330 Mhz at boot
* provide overlays for ddr3 at 330, 528, 660 and 800 mhz
* split emmc overlays to enable options by user choice
* modified rk322x-config to support dmc, emmc overlays
* remove optee trust os in favor of rockchip proprietary blob
for dmc functionality
* Improvements for BSP creation
- add support for the same principle found in desktop creation. For CLI package we are copying content from "bsp-cli" folders.
- moving bsp* copy function to image-helpers
- improve readme
* Add support for desktop board support package
Extracting from https://github.com/armbian/build/pull/2776 which can be closed after.
* Desktop BSP creation is working, but need broader testing and some quick how-to
* Create empty files as examples where we can put things.
* Fixing Pinebook desktop bsp creation
* We need to have information about ARCH in the desktop bsp package. This ain't universal.
* cleanup add vim3l
* Add Khadas edge config
* Add Khadas edge sources definitions. It boots
* Change configuration to maximised model
* Adjust build configs
* witch to case statement for meson x11 config
* push vim1 naming
* Booting VIM2 with khadas prebuild u-boot
Can load from an empty eMMC, can be installed to eMMC via nand-sata-install
* Add Vim1 and move 1 and 2 to supported. VIM1 is not tested yet.
* Enable full featured desktop with 3D for khadas vim 1 and vim2
* Update meson64_common.inc
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* fixing my bad patch from lastnight.
Removing the bad patch I did last night and fixing it with proper sed commands
* fixing names .
had to fix names in the files
* configuring new settings in slick-greeter
* kbuild: deb-pkg: do not build linux-headers package if CONFIG_MODULES=n
Since commit 269a535ca931 ("modpost: generate vmlinux.symvers and
reuse it for the second modpost"), with CONFIG_MODULES disabled,
"make deb-pkg" (or "make bindeb-pkg") fails with:
find: ‘Module.symvers’: No such file or directory
If CONFIG_MODULES is disabled, it doesn't really make sense to build
the linux-headers package.
Author: Masahiro Yamada <masahiroy@kernel.org>
Date: Wed Oct 14 03:38:19 2020 +0900
Upstream commit bac977cbc0d6731fb8e67c2be0e4acbd959e10b3
Fixes: 269a535ca931 ("modpost: generate vmlinux.symvers and reuse it for the second modpost")
Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* mkdebian: fix: build a package for version 5.13
upstream commit 82526ef43399a7556b860538041802042b3872c1
Author: Masahiro Yamada <masahiroy@kernel.org>
Date: Tue Apr 20 02:05:05 2021 +0900
kbuild: deb-pkg: change the source package name to linux-upstream
Change the source package name from 'linux-$(KERNELRELEASE)' to
'linux-upstream'.
Initially, I tried to use 'linux' to be aligned with the Debian
kernel package, but Ben suggested 'linux-upstream' so that it is
clearly distinguished from distribution packages. [1]
The filenames will be changed as follows:
[Before]
linux-5.12.0-rc3+_5.12.0-rc3+-1.dsc
linux-5.12.0-rc3+_5.12.0-rc3+.orig.tar.gz
linux-5.12.0-rc3+_5.12.0-rc3+-1.diff.gz
[After]
linux-upstream_5.12.0-rc3+-1.dsc
linux-upstream_5.12.0-rc3+.orig.tar.gz
linux-upstream_5.12.0-rc3+-1.diff.gz
Commit 3716001bcb7f ("deb-pkg: add source package") introduced
KDEB_SOURCENAME. If you are unhappy with the default name, you can
override it via KDEB_SOURCENAME.
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Search by template when updating initramfs
Search by pattern first, then use in the command.
If unsuccessful then exit by mistake.
Fix:
depmod: WARNING:
could not open modules.order at /var/tmp/mkinitramfs_bp3vP5/lib/modules/5.13.0-sunxi64:
No such file or directory
could not open modules.builtin at /var/tmp/mkinitramfs_bp3vP5/lib/modules/5.13.0-sunxi64:
No such file or directory
When a valid directory lib/modules/5.13.0-rc6-sunxi64
Or when the user added a localversion to the configuration file
and valid directory lib/modules/5.13.0-rt7-sunxi64
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Code Cleanup: kernel build: Removing EXTRAVERSION Cleanup
This was intended for the EDGE kernel and is no longer required.
Moreover, this code is not working.
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
Add two bash arrays, XTRA_RSYNC_{FROM,TO}, defined in
/etc/default/armbian-ramlog, and expand these in the two rsync
invocations in /usr/lib/armbian/armbian-ramlog.
The use of bash arrays simplifies the use of multiple arguments and also
allows for in-band commentary between array elements.
When expanding, safely test for these arrays to exist. This is, sadly,
a little verbose in bash, so, while here, split the rsync invocations to
use line continuations.
Fixes https://github.com/armbian/build/issues/2846
- When trying to delete by using "backspace", it will also print a "*"
and also appended to password
- When pressing keys too fast, it is possible that some characters
actually printed on the screen
Compiling the kernel headers repeatedly and in a single thread
increased the overall package build time by several times.
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
- users are "confused" about manipulating files in their home directories
- introduced security issues which have been worked around but there might be others too
- more recent htop may support network stuff oob (https://armbian.atlassian.net/browse/AR-771?focusedCommentId=10546)
* Rework make linux headers
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Make linux-source first and clear the memory
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
Not touching logic or the (IMO ridiculous) behavior of this script. Just meant as a quick&dirty workaround for the specific sed/symlink attack vector. Check https://github.com/stealth/7350topless for details.
* New build kernel if version ge 5.12
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Rename packagename for kernel in the armbian style
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Fix depends pkg for build linux-*
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Fixed version search by Source field
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Fix postinst, prerm scripts for headers pkg
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* VENDOR, rock-pi-n10, RM_LIST for armbian-config/zsh
VENDOR parameter in configuration
zsh is the best of course...
Static MAC for networkd
ROCK Pi N10 (Radxa) - Initial support, knwon bugs:
- Problem with poweroff (kernel panic).
- DeviceTree is not fully verified, I suspect missing and unnecessary
entries.
- No support for NPU
- u-boot without NVME support
- I have doubts if I chose the right preboot loader for RK3399Pro, NPU
and installed DDR memory.
* New RK3399Pro boot preloaders.
* rootfs checksum, DEBOOTSTRAP_LIST fix, output.log fix
Repaired checksum for rootfs
Added use PACKAGE_LIST_RM to purge DEBOOTSTRAP_LIST
Better logging to output.log
Fix for new host distribution detection (ie Debian Bullseye).
ubootdebs as new cleaning option
* Update 30-armbian-sysinfo
Fixed alignment of "Local users" and "IP" in third column.
Made it more compact by adding extra new line.
Added "both" traffic direction.
Removed "-h" vnstat argument because it doesn't do anything, changed "last 24h" to "today" (there is only "rx/tx for today" in --oneline output).
* Update armbian-motd.dpkg-dist
Add PRIMARY_DIRECTION description
* Update 30-armbian-sysinfo
fix new line logic
clean-up unused variables
* Re-enable network checksum TX offload on rockchip64 family
* Adjust gmac PBL setting for rk3399 legacy to fix network issues with MTU 1500
* Adjust gmac PBL setting for rk3328 in rockchip64-legacy to fix network issues with MTU 1500
Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
* add Jetson Nano
* Update jetson-nano.conf
* Update targets.conf
* Add better description
* Adjust config - try to enable ZRAM
* Packaging patch not needed
* Extlinux was solved in other commit
* Move board to CSC for now
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Currently armbianmonitor -n does not detect vlan interfaces correctly.
This is because of an incorrect egrep -o which filters out the parent interface name:
network interface: 100
instead of
network interface: eth0.100
Cascading into:
armbianmonitor: line 1095: eth0. - 0 : syntax error: invalid arithmetic operator (error token is ". - 0 ")
Fixed by changing the egrep logic to filter out the last field of route -n output.
Also fixes a timer issue by moving the timer start to after the interface selection.
time controller adjustment: -2.43
/usr/bin/armbianmonitor: line 1128: read: -2.43: invalid timeout specification
* At first login we set users locales based on his location which seems to be to agressive
Add a question before setting it should suffice. Closing https://github.com/armbian/build/issues/2398
* Read it silently
* Detect locales selection only if we choose to add normal user
* Asking for shell right after seting root password
* Move selections inside traps
* Remove duplicated call
* Add support for configuring CPU temperature offset
Some boards, such as the Orange Pi Zero LTS, report shifted CPU temperatures.
For more details, see https://forum.armbian.com/topic/11534-orange-pi-zero-lts-incorrect-temps-reported/
* Update armbian-motd.dpkg-dist
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Added 2 configuration parameters to armbian-zram-config.
First paramter (SWAP=) can explicitely disable zram swap (while leaving log and tmp untouched).
Second parameter (TMP_SIZE) can be used to explicitely set tmp ramdisk size.
The behaviour of existing configurations is not changed.
New function activate_zram() to initialize zram devices and parameters.
Changed script to use zramctl to more flexibly establish zram devices to use for log and tmp.
This also fixes issues which result from both armbian-zram-config and armbian-ramlog being hardcoded to use zram0
* Add support for ZSH / TMUX / oh-my-zsh
* Selecting default shell at 1st run
* Install ZSH by default except on minimal image
* Lets rather create armbian-zsh package
* - fix remaining ZSH problems
- add systemd timer to remove default desktop autologin feature
- change DESKTOP_AUTOLOGIN to disabled by default
* Few small improvements
* Oneliner for revering all users back to BASH if package is uninstalled
* Properly escape variables
* Fixing chmod
* More cryptic awk magic to fix permissions for all normal users that are getting zsh magic
* Move default values where they should be and fix for updates not showing up
* Add support for vnstat and ZFS
* Cosmetical
* Put defaults back
* Update data displaying
* Add support for displaying "reboot required" when regular packages like e.g. dbus requires a reboot
* Add dependency problem check
* Also add storage to user defaults
* sunxi: kernel: current/dev: enable sun6i-csi and disable LL debug on UART0
The former is useful on some boards, e.g. PineCube.
The latter blocks boards that do not utilize UART0 from booting.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
* sunxi: add new family sun8i-v3s
This family is intended for boards with V3/V3s/S3/S3L chips and low
DRAM capacity.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
* sunxi: add PineCube board
This board features Sochip S3 SoC (Allwinner V3 die + co-packaged 128MiB
DRAM), and an OmniVision OV5640 camera is shipped with the board.
Add support for it. It could be used as an IP camera then.
Kernel support is only added to current/dev branch, with dev just using
mainline-merged DT and current using backported DT from 5.10-rc.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
* sunxi: kernel: current/dev: add V3s OHCI/EHCI nodes
These are needed for USB host on V3s boards to work.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
* update fancontrol configuration
* Enable network activity led, default to eth0
* Do not disable auto poweron on power loss event
* Added UPS timer
Provide timer to poweroff system after 600 s (10 minutes) of power loss
event. If power restored within that time window, cancel the timer.
* Use different service for legacy
LK 4.4 does not have ledtrig-netdev, so it will cause the service to
fail.
* Use 10m instead 600 seconds in UPS timer
Systemd time can use m suffix for minutes. Use this to make it easier to
read.
Right now, you simply cannot choose between different DE's installed on the system. The session indicator uses very little space, and doesn't clutter the greeter.
I noticed it was missing when trying to integrate a Kodi session. It will be useful in the future also, when we incorporate more DE's than Xfce
* armbian-hardware-optimization: delay applying eth0 tweak on rk3399
* armbian-hardware-optimization: delay applying eth0 tweak on rockchip64
* armbian-hardware-optimization: fixed irq smp affinity for usb
on rockchip64.
Similar like the one applied to rk3399 on commit [eaf6853]
* Change Ubuntu Eoan to Ubuntu Groovy and enable it as CSC
Tested CLI and desktop image, but needs cache creation and repository before it will be possible to build without error.
* Update Groovy compiler for chroot
* Adjust pkg dependencies for groovy
Sadly htop doesn't build
Pinebook-Pro Support:
suspend to idle via key and lid close
brightness keys
volume control keys
wifi, bluetooth frimware
touchpad tweaks
keyboard config
armbian-hardware-optimization
bootsplash
Co-authored-by: Britt Dodd <britt@reactornet.net>
- Chanaged default x.org configuration to disable glamor
- Reintroduce patch to use DRM cursor plane as overlay in rk322x-current and -dev
- Updated wifi patches for kernel 5.8.10
- Bumped rk322x to u-boot v2020.07, removed reserved zones from device trees
- Updated OPTEE to v3.10, using ddrbin v1.10
- Bumped rk322x-current to kernel 5.8.y
- Imported new patches from knaerzche's LibreELEC fork for rk322x-dev (kernel 5.8.y)
- Adjusted existing patches to match changes, updated rk322x-dev kernel config file
- Add default modprobe conf file for esp8089 to force the crystal frequency to 40Mhz for rk322x targets
- Removed ssv6051 firmware packages to move to armbian-firmware repository
- Switching ssv6051-wifi.cfg to /lib/firmware for rk322x-legacy
- Removed P2P interface for esp8089 driver for rk322x-legacy
- Optimized ssv6051 performance: kernel module gains -Os flag, disabled p2p interface, enabled HW crypto for CCMP cipher
- Enabled remote control interface, IR GPIO kernel module and HDMI CEC modules
* Supress systemd service warning
* helios64: u-boot: staggered HDD power up
Set the delay to 10s in between turning on the next HDD power rails.
Remove the delay property from kernel device tree, let it only apply to
u-boot
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* helios64: fault LED as kernel panic indicator
also sync, u-boot dts
* helios64: fix hwmon udev rules
Legacy kernel (LK 4.4) has different class/naming on SoC Temp sensor.
Also fix typo on current/dev udev rules.
* Improve HTOP with scripted updating based on network up/down
Also enable / disable GPU temperature - where available.
* Update Htop default configuration
* Workaround for kernel bug
Until we don't find a solution to this problem, disabling partition checking and it will not bother to resize resized fs again. Most likely the bug is related to the ext4 filesystem changes in the upstream 5.8.y kernel.
* bsp: helios64: Add fancontrol
- Fancontrol configuration
- Udev rules for fan and temp sensor
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* bsp: helios64: Enable heartbeat on system status led
The reason systemd service used instead of device tree modification, is
to give visual notification that the system is ready.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* armbian-hardware-optimization: SATA & 2.5GbE IRQ pinning on Helios64
- 2.5GbE USB LAN which is attached to XHCI, assigned to CPU4
- SATA controller assigned to CPU4 and CPU5
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
Tested once again on N2/N2+
Note: disabled mesond_vdec module in kernel config since it crashes complete video system when loaded. Need to be added back once stable - or perhaps we need to adjust some parameters?
- remove Debian stretch from image creations.
- if LOCAL_MIRROR is defined use just that, not armbian upstream packages
- move aptly web server from 8080 to 80
- adjust welcome motd
- remove Ubuntu Eoan from distribution selection menu
Adapted rk322x-dev to kernel 5.8.y
Added ssv6x5x driver to legacy kernel, rk322x-config now allows the user to select which driver load at boot
Added esp8089 kernel module, device tree overlay and detection in rk322x-config script
Fixed some indentation
Added reset button binding
Added sdcard debounce
Fixes indentation, added device tree overlay for high-leakage cpus
Added support for bluetooth device tree overlay and realtek systemd service for rk322x targets
Fixed a bug in armbian-check-first-login-reboot.sh which caused a
newline character to be prepended to the shell prompt even when a reboot
required warning was not shown to the user.
* Add initial Helios64 configuration
Add ethernet udev rules
Added disable auto power on script during shutdown
Configure ALSA to output audio to (DisplayPort) USB type-C
armbian-firstrun: exclude helios64 from generating fixed_mac
Each network interface on Helios64 already assigned to unique MAC
address in factory. Assigning Network Manager with cloned MAC is not
needed.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* u-boot: rk3399: Add Helios64
Use rockchip propriettary loader
* kernel: rk3399-legacy: Update r8152 to support 2.5GbE USB RTL8156
Required for Helios64
* kernel: rk3399-legacy: update Rockchip PCIe driver
Port changes by ayufan on rockchip64.
* kernel: rk3399-legacy: Add support for Helios64
Add Helios64 device tree.
Enable missing driver/kernel module.
Auto load lm75 modules
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* kernel: rk3399-legacy: rework roc-rk3399-pc patch
the patch broken due to additional line added by helios64 on
arch/arm64/boot/dts/rockchip/Makefile
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* kernel: rk3399-legacy: update Rockchip PCIe driver
Backport bugfix from mainline
refer to
https://patchwork.kernel.org/patch/11561979/
and
https://patchwork.kernel.org/patch/11561977/
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* kernel: rockchip64-current: Add support for Helios64
Add Helios64 device tree.
Enable missing driver/kernel module.
* config: helios64: use mainline ATF on current branch
and u-boot TPL/SPL instead of Rockchip proprietary loader
* helios64: u-boot v2020.07 update
* Add Helios64 target
* kernel: rk3399-legacy: update Rockchip PCIe driver
Removed unrelated changes from porting ayufan fixes
Signed-off-by: Piotr Szczepanik <piter75@gmail.com>
* helios64: make use of PACKAGE_LIST* variables
Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
* Add initial support for Odroid N2+
* Update C4 config and test booting
* Updates to C4, N2, N2+
- merge C4 and N2 legacy under meson64, same u-boot
- upgrade legacy kernel to meed DTB from mainline
- merge N2 and N2+, add a hack to display + in motd when N2+ is detected
- shortly spin N2 fan at startup
- merged N2 mainline and legacy boot script
- add upstream patches
* One of the regulators were breaking booting of Odroid N2
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
* enable root auto login on first boot, automatically determine timezone from geolocation
* Improve tzdata and locales detection
* Add timeouts for Curl and support for selecting more locales per location.
* Disable NetworkManager-wait-online.service
https://askubuntu.com/questions/1018576/what-does-networkmanager-wait-online-service-do
* Improve overall UX when creating new username and changing root password
- check password quality and reject if not good enough. Not very heavy.
- shorter way of adding new username
* Resolve killing inactive consoles, remove FAQ silently since we open more consoles
Since 1a04b50674 triggered comments like 'stupid, lazy, technical criticism, dick, you vs. us' most probably it's the best to focus on Armbian's current mantra 'quantity first, quality second' (trying to provide OS images for as much SBC as possible so it's ensured none of these things can be supported properly).
Within the last 2 years nobody gave a shit about low-level optimizations except @paolosabatino when adding support for RK322X. Macchiatobin, La Frite, RockPi S, Odroid C4 and N2 are all plagued by an artificial bottleneck on `cpu0`. Other boards that were added since 2018 inherited already present optimizations more or less by accident. So let's try to be consistent and destroy N2 performance to be in sync with almost all other Armbian additions of the past few years. Shit like this https://forum.armbian.com/topic/14469-odroid-n2-single-cpu-handling-all-the-interrupts/ is Armbian's future.
Fix for locales where the decimal separator is a 'comma'. For these systems `uptime` would output `load average: 0,06, 0,08, 0,07`. And then it would be possible for `006` to be above `critical_load`. Forcing the dot separator with `LC_ALL=C uptime` fixes this issue.
* Initial commit for kernel boot splash
* Add startup files to disable bootlog when system is up / down
* Update logo, remove deprecated one
* Introduce new u-boot variable bootlogo
* Adjust kernel config
* Make logo possible on Odroid XU4
- add legacy and current upstream patches
- delete xu4 environment since its not used
* Cleanup C2,C4, both tested, logo works on mainline,
- adding legacy upstream patches for c4
* Enable bootlogo by default on Odroid N2
* Enable logo on RK3399 desktop images
* Cleanup the rest of the environment files
* Add initrd hook that copy splash file to initrd.
* Missing logo bits for one boot scripts
* Enable boot logo on Pinebook A64
* Enable bootlogo on Teres
* Update config
* 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
* Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point.
There is a lot of changes to 5.7.y and can be done after release or by someone that feels a need for this right now.
* Delete meson64_fclk_div3.patch
this fix has been upstream for some time, I had issues with it on 5.4, which is why it had been removed there.
* [ meson64 current ] kconfig tweak
disable Rockchip SoC drivers
* [ meson64 current ] remove rockchip patches
* [ meson64 current ] disable CMA patch GX
* [ meson64 current] add libretech cc audio patch
This brings the dts even with the khilman 5.8/integ branch which includes all of the audio changes. The kernel is registering audio devices, however nothing comes out. committed in case someone wants to spend time debugging/testing theories.
* fix permissions
was editing from another machine, accidental change of permissions in the patch
* Set default mixer settings
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* [ meson64 current ] GXL audio commit
This moves to the mainline patches and covers le potato and la frite. Adjusted asound config to handle a commonized sound card name.
* [ meson64 current ] add gxbb audio WIP
Playback is too fast, a clock setting is off somewhere.
* Update kernel configs
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: Tony <tonymckahan@gmail.com>
* [ mvebu ] Switch fake-hwclock to hardware RTC AR-159
* remove fake-hwclock dpkg
* tweak /lib/udev/hwclock-set to be executed even if systemd present
* move helios4 bsp file under mvebu folder for tidiness
User overlays are working fine on this boards (I have already tested on rock64).
Added the possibility to use on rockchip64 based boards.
Changed "if" to "case" to facilitate adding more supported boards.
* Add initial support for FriendlyARM Nanopi R2s
One net port not working yet.
* Enable 2nd network, rename it to lan0, adjust motd to see lan*
* Added rk3328 dmc devfreq driver
* Fixed SD card issues for NanoPi R2s
* Added usb serial gadget console for NanoPi R2s
Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
This file is inconsistent with the rest of the files in this set. The description in the file /etc/defaults/armbian-motd says that you can block sections of the generate motd thus:
# add space-separated list of MOTD script names (without number) to exclude them from MOTD
# Example:
# MOTD_DISABLE="header tips updates"
#
This presently fails for this file, you need to add "armbian-config" to the MOTD_DISABLE list to block it.
Matching the style of the THIS_SCRIPT name in this file, to the other files in the set, removes this inconsistency. I've found no unexpected behavior after making the change.
Current version only allows user-added overlays for 'dev' kernels. Excluding 'legacy' kernels should not be necessary anymore since <4 kernels are not supported anymore.
AR-1 - Adding support category for distributions
AR-4 - Remove Allwinner legacy
AR-5 - Drop Udoo family and move Udoo board into newly created imx6 family
AR-9 - Rename sunxi-next to sunxi-legacy
AR-10 - Rename sunxi-dev to sunxi-current
AR-11 - Adding Radxa Rockpi S support
AR-13 - Rename rockchip64-default to rockchip64-legacy
AR-14 - Add rockchip64-current as mainline source
AR-15 - Drop Rockchip 4.19.y NEXT, current become 5.3.y
AR-16 - Rename RK3399 default to legacy
AR-17 - Rename Odroid XU4 next and default to legacy 4.14.y, add DEV 5.4.y
AR-18 - Add Odroid N2 current mainline
AR-19 - Move Odroid C1 to meson family
AR-20 - Rename mvebu64-default to mvebu64-legacy
AR-21 - Rename mvebu-default to mvebu-legacy
AR-22 - Rename mvebu-next to mvebu-current
AR-23 - Drop meson64 default and next, current becomes former DEV 5.3.y
AR-24 - Drop cubox family and move Cubox/Hummingboard boards under imx6
AR-26 - Adjust motd
AR-27 - Enabling distribution release status
AR-28 - Added new GCC compilers
AR-29 - Implementing Ubuntu Eoan
AR-30 - Add desktop packages per board or family
AR-31 - Remove (Ubuntu/Debian) distribution name from image filename
AR-32 - Move arch configs from configuration.sh to separate arm64 and armhf config files
AR-33 - Revision numbers for beta builds changed to day_in_the_year
AR-34 - Patches support linked patches
AR-35 - Break meson64 family into gxbb and gxl
AR-36 - Add Nanopineo2 Black
AR-38 - Upgrade option from old branches to new one via armbian-config
AR-41 - Show full timezone info
AR-43 - Merge Odroid N2 to meson64
AR-44 - Enable FORCE_BOOTSCRIPT_UPDATE for all builds
* Introducing build-all-ng
* Implementing REBUILD_IMAGES='board1,board2,...' for rebuilding certain images only
* Add optimisations when building kernels - only cycle trough needed targets. Adding variable for defining whether an image is build, otherwise only BSP is made.
* repository manipulating RFC
* Add bianco deb file that is added by default if repository is clean
* Switch to gpg2 signing method, small bugfix
* Create subdir for debs and debs-beta
* Synaptic bugfix: installing indexing tools https://forum.armbian.com/topic/8021-orange-pi-one-synaptic-package-manager-search-very-slow/?do=findComment&comment=74918
* add all modules by default to Odroid N2, but leave them commented
* Bugfix: not making any builds when selecting kernel_only
* Remove EXTERNAL=yes ... move armbian-config and armbian-firmware into main compilation area, drop others since they are deprecated anyway. This will also enable multi threaded images making
* Move armbian.list to create_sources_list function. Replace NTP by Chrony. Remove armbian-firmware from PACKAGE_LIST and RockPi 4A (#1528)
* Replace NTP by chrony. Remove installion of outdated armbian-firmware from reposity.
* added RockPi 4A
* New format for board config
* Fix Bluetooth dependencies for minimal package - add rfkill to family related installs
* Moving networkd-dispatcher from minimal image
* Cubox-i: update default config
* Improving umount process
* Add purgesource feature
* Add FULL_DESKTOP to install few more applications on top of our desktop - notebooks should * rk3399 default: adjust patches and configuration
* Enable full desktop on most powerfull boards and notebooks
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Minimal build setup (#1463)
* Netplan folder check & armbian-tools dependency on expect (and tcl) solved (#1464)
* Prevent netplan configration if it is not installed
* Resolved expect dependecy of armbian-tools
* More packages added for armbian-tools
* Added python3-apt and rsyslog to minimal installation
* Debootstrap variant doesn't play nice. We loose networking and it affects standard builds as well. Removing.
* Python-to-Bash conversion (#1470)
* Remove python3-apt dependency from BSP package, fix netplan error also on Disco and putting back varint=minbase ... tested Disco, Bionic
* Distinguish package list: *-minimal.list and *-desktop.list
* Enable Wireguard back which was removed by mistake. https://github.com/armbian/build/issues/1471
* Having minbase debootstrap variant for all will require further adjustements with current package base - backward compatibility. Minimal image is now Python free but need further testings ...
* Add wireless-regdb and crda to the pakage base, fix Ubuntu keyring warning while debootstrap.
* Add figlet to sort out missing fonts
* Moving few packages here and there. Bugfix when creating a cache package list
* Manually compared base images - they are the same with small insignificant difference. Minimal image has to be futher tuned
* Adjustements for bash powered lsb_release, adding some needed packages
* Fixed (no) network problems on Bionic/Disco
* Add rsync to debootstrap_list and few minor fixes
* Adjust text in lsb_release
* Olimex Micro A20: fix wrong boot config
* Remove duplicate depenedency
* Odroid C1: adjust kernel config
* Initial Mvebu RFC https://github.com/armbian/build/issues/1426
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* mvebu: add missing patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* mvebu: change making u-boot targets to standard way, adjust patches and config
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* helios4: set default branch to use U-Boot 2018.11
Switch over to U-Boot 2018.11 that has been used for some time in next
branch.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* mvebu: helios4: Enable DEV branch
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* u-boot: Add RTC support on Clearfog and Helios4
Added DM driver for mvebu RTC and enable it on Clearfog and Helios4
configuration.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* add boot-marvell.cmd backward compatibility
The patches added missing variable that used on boot-marvell.cmd and
also adjust the some memory addresses to prevent crash due to usage of
fdt_high and initrd_high.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* helios4: Added SPI NOR flash target
Build bootable SPI NOR flash image.
Change the boot order to USB -> SATA -> MMC
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* Restore SPI support on U-Boot 2019.04
* mvebu: kernel: Added Wake-On-GPIO and WoL support
The patch set was missing during transition.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* [#1429] SolidRun's ARMADA A388 SOM U-Boot ODT Update
Old versions of U-Boot did not configure correctly the ODT on data
signals of DDR RAM on SolidRun's ARMADA A388 SOMs.
According to SolidRun Knowledge Base, the changes already pushed to
mainline U-Boot. But then it was overwritten when Marvell DDR Training
Tool updated
[URL]
https://developer.solid-run.com/knowledge-base/armada-38x-som-u-boot-odt-update/
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* [#1429] mvebu: u-boot: Add revision id for Armada 38x B0
Added patch for SolidRun U-Boot v2018.01 and
for Helios4 U-Boot v2018.11
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* clearfog: Added SPI NOR flash target
Build bootable SPI NOR flash image.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* mvebu: clearfog: DEV branch use mainline U-Boot
Also move clearfog base patch into its own board folder.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* mvebu: enable U-Boot uart target
Normal MMC image can be used for uart boot using following command:
./tools/kwboot -b u-boot-spl.kwb /dev/ttyUSBX
But on Helios4, the SPL failed to continue the booting process if ECC is
enabled, so disable it.
Since the usage of uart boot is more for rescue/debug, disable autoboot.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* mvebu: NEXT branch use mainline U-Boot
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* mvebu: helios4: fix fancontrol related bug during buster testing
- On kernel 4.19, cpu thermal sensor changed the name from
armada_thermal into f10e4078.thermal. Added this new name to udev rules
- Since DEFAULT branch now use kernel 4.14, update fancontrol
configuration
- Load lm75 kernel module
- On kernel 4.19, cpu temp reading about 20 degree C lower, update
fancontrol configuration.
[URL]
https://forum.armbian.com/topic/10214-clearfogpro-possible-change-in-temperature-reporting-between-414next-and-419dev
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* mvebu: helios4: Override vendor provided fancontrol unit
systemd emit following message on dmesg
systemd[1]: /lib/systemd/system/fancontrol.service:9: PIDFile=
references path below legacy directory /var/run/, updating
/var/run/fancontrol.pid \xe2\x86\x92 /run/fancontrol.pid; please update
the unit file accordingly.
Override and change the value in the unit file to remove the message.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* mvebu: DEV branch use its own u-boot patch folder
The patches are copied over from u-boot-mvebu-next
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* mvebu: u-boot: Make clearfog model distinction more obvious
While at it, also change SerDes LANE4 into USB 3.0 on Clearfog Base.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* lib: Use apt-get install instead of dpkg on install_deb_chroot()
dpkg -i does not install dependencies required by the package.
This is needed if the BSP package requires other package that is not
installed during debootstrap.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* config: mvebu: helios4: Move various tweak to family_tweak_bsp()
Various tweak in family_tweaks_s() only applied to SD card image.
Move it to family_tweaks_bsp() so it will also included on the BSP
package and applied to existing user.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* config: mvebu: helios4: Add /etc/modules to BSP
On kernel 4.19, user need to modify the /etc/modules to add lm75 kernel
module. Pack the file into BSP so user no longer needed to modify it.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* mvebu: kernel: Make zbud as built-in module
To remove the following error:
[ 1.705485] zswap: default zpool zbud not available
[ 1.705488] zswap: pool creation failed
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* bootscripts: mvebu: Add default value for spi_workaround
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* mvebu: kernel: Backport armada_thermal changes to 4.14 (#1452)
On kernel 4.19, armada_thermal driver has been fixed to address
Marvell's Errata #132698 (The changes first appear on LK 4.16). The
result is temperature reading is around 20 degree Celsius lower.
Currently armbian-motd apply -20C tweak for both LK 4.14 and LK 4.19
which is incorrect. Instead of adding some logic on what condition to
apply the tweak, it is better to remove the tweak and patch the kernel
instead.
Revert commit b3dd4e9 ("[ mvebu ] Put back Armada temperature tweak in
motd")
which is part of #1421 solution.
[URL]
https://forum.armbian.com/topic/10214-clearfogpro-possible-change-in-temperature-reporting-between-414next-and-419dev/
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* mvebu: helios4: unified fancontrol config
Since LK 4.14 on DEFAULT branch already patched and the temp reading is
same as LK 4.19 on NEXT branch, it is no longer needed to separate
fancontrol configuration file.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* u-boot: helios4: Remove rev id patch
The patch is already applied in helios4 repo, no need to have it in
armbian.
This revert helios4 part of commit 7411c55
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* u-boot: clearfog: enable PCIe support and PCIe reset
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* u-boot: clearfog: add boot-marvell.cmd backward compatibility
The patches added missing variable that used on boot-marvell.cmd and
also adjust the some memory addresses to prevent crash due to usage of
fdt_high and initrd_high.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* mvebu: helios4: tweak regarding temperature setting
Make fan speed similar compared to pre-patched armada-thermal. Target
PWM value around 70 during idle.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* config: sources: clearfog to use u-boot 2018.01 for NEXT branch
This changes also affect Helios4. Moved the shared U-Boot source setting
back to Helios4 for NEXT branch.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* config: boards: build Stretch image for Clearfog and Helios4
Also remove DEV from Helios4 CLI_TARGET
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* kernel: mvebu-next: Disable access to SPI Flash
User need to set spi_workaround=yes to enable SPI Flash access and lost
access to internal SATA.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* mvebu-next: adjust kernel config
* mvebu-dev: bump to 5.2 and adjust kernel configuraion. Tested for building.
* Adjust kernel config, add AUFS
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* mvebu-next: Adjust kernel config, add debug GPIO
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* mvebu-dev: separate Clearfog Base U-boot configuration file and patch
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
if users want to use google mirror for mainline linux, then he/she has
same reason to use google miiror for linux firmware.
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
If required default warning threshold temperature, which is 45C for CPU and 40C for Ambiant, can be overwrite in /etc/default/armbian-motd by setting values
* CPU_TEMP_LIMIT=
* AMB_TEMP_LIMIT=
- changed display manager to lightdm by default and remove nodm completly
- desktop login manager enabled by default, toogle can be done with armbian-config
- added URL to the build script and commit hash to /etc/armbian-release file
- added debconf-utils,html2text,mmc-utils,sunxi-tools to the base and additional pkg list
- added synaptic package manager and onboard keyboard to the desktop base
- changed motd console welcome text to: Welcome to Debian Stretch with Armbian Linux 5.1.6-sunxi
- added "logout" to the panel/menu
- added normal users to additional groups: disk tty users games
* downloader aria2 replace curl
aria2 is a fast downloader and it can do much more than curl
- skip download when target file exists
- restart an interrupted download session
- multithreading
* remove duplicate download item
* change btrfs compression to zstd and no force compression
* mkfs.btrfs options '--data single --metadata single --label btrfs'
disable dup(duplication) on microsd card
* [fstab] change mountopts[btrfs] compression method to zstd
lzo is no fater than zstd because the low 4k write performance on my
Samsung EVO+ 32GB microsd card.
meanwhile the best io size is above 32k based on benchmark
* replace dd with truncate, create a sparse disk image
* create btrfs subvolume by default
subvolume @ as rootfs, mount at /
subvolume @home as /home, mount at /home
* fix extraargs in armbianEnv.txt
* remove tmpfs mount on /tmp
A zram block device will mount on /tmp by
/usr/lib/armbian/armbian-zram-config.
And instead, mount /media as tmpfs.
* [rsync] add '--inplace' option, optimize for btrfs
* [general.sh] change ntp server to pool.ntp.org
* [general] new option to setup btrfs compression method
for support old and boring 3.x kernels
* [general] set btrfs space cache based kervel version
kernel version above 4.5 select 'v2' as default
* [btrfs] BTRFS_COMPRESSION accept compression ratio
BTRFS_COMPRESSION=zlib
BTRFS_COMPRESSION=zstd:5
BTRFS_COMPRESSION=zstd:12 are acceptable
* [btrfs] set btrfs compression to lzo when input is illegal
* [general] new option DOWNLOAD_MIRROR to select download mirror
current DOWNLOAD_MIRROR=china is used
the mirror is provided by tsinghua university
* [general] replace USE_MAINLINE_GOOGLE_MIRROR with MAINLINE_MIRROR
MAINLINE_MIRROR=google, use google provided mirror
MAINLINE_MIRROR=tuna, use tsinghua provided mirror
leave it empty, use official git.kernel.org
* fix btrfs default compression
* display $fscreateopt
* display_alert BTRFS_COMPRESSION
* try fix BTRFS_COMPRESSION variable not working
* debug fetch_from_repo
* configuration.sh debug BTRFS_COMPRESION
* update logic
* debug checking btrfs compression
* fix variable check,fix local variable usage
* [general] replace USE_MAINLINE_GOOGLE_MIRROR with MAINLINE_MIRROR
MAINLINE_MIRROR=google, use google provided mirror
MAINLINE_MIRROR=tuna, use tsinghua provided mirror
leave it empty, use official git.kernel.org
* [general] new option DOWNLOAD_MIRROR to select download mirror
current DOWNLOAD_MIRROR=china is used
the mirror is provided by tsinghua university
* Revert "try fix BTRFS_COMPRESSION variable not working"
This reverts commit 9814cfb054.
* Revert "debug fetch_from_repo"
This reverts commit ba571f0d89.
* add default compression method for mountopts
* remove useless var
* remove debug
* remove debug
* [general] set btrfs space cache based on kernel version
kernel version above 4.5 select 'v2' as default,
below 4.5 select 'v1' as default
* [general] reintroduce USE_MAINLINE_GOOGLE_MIRROR
* [general] case replaces 'if xx ;elif xxx;fi'
* [general] fix always downloading linux-firmware.git
clone to new dir 'linux-firmware-git' instead the old '$plugin_dir/lib/firmware'
,and then copy files as hardlinks.
* [general] create soft link instead of moving directory
* [btrfs] change rootfs subvolume name to @$RELEASE
now, the rootfs subvolume looks like @stretch,@bionic
it is possible to use different distribution in the same btrfs
partition.
The sed command was wrongly replacing every folder whose name ends
in 'log/' with 'log.hdd/', so i.e. '/var/log/ulog/*.log' became
'/var/log.hdd/ulog.hdd/*.log'. Subsequent logrotate exections would
fail due to non existent folders.
In addition, some logrotate config files may have more than one path
per line, so a 'g' option in the sed replacement regex is required
to replace all '/log/' entries at once.
In Debian Stretch, among others, udev's "predictable interface naming" has been
adopted, meaning the onboard ethernet is no longer named eth0, instead it's
"enx00..(mac address bytes)..". Use a udev rule to apply the RPS settings
instead of /sys/class/net/eth0/... which no longer exists.
* helios4: next branch use u-boot 2018
use new u-boot based on upstream 2018
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* helios4: Tweak fancontrol configuration
Adjusted MINSTART and MINSTOP to suit both old and new fan.
Adjusted TEMP threshold so fan would stop or run in minimal speed when
the system idle.
Fixed wrong MINPWM value.
URL:https://wiki.kobol.io/pwm/#configuration-file
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* kernel: mvebu-next: use upstream helios4 dts
Helios4 device tree has been merged on upstream since 4.19.
Rework the patch to produce same device tree.
URL:https://patchwork.kernel.org/patch/10449393/
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* Helios4: Use boot-mvebu-next bootscript
Use boot-mvebu-next.cmd that make use of upstream's Generic Distro
Configuration.
Since loadaddr and fdt_addr varibales are no longer required, remove the
patch.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* Helios4: mvebu-next: Add workaround for SPI and SATA concurrent access issue
Concurrent access on SPI NOR and SATA drives can lead to unstable SATA.
Therefore as workaround, disable SATA controller when SPI flash access
is needed and make it as user configurable item in armbianEnv.txt
This workaround might applies to Clearfog too.
Refer to
Commit 59af84c07c ("Helios4: Add SPI bootloader install feature
(#1126)")
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* Bootscripts: Fixed boot-mvebu-next.cmd
The environment setting (armbianEnv.txt) is loaded to RAM located on
${load_addr} but the env import use wrong address (${pxefile_addr_r}).
bootargs still expect ${boot_interface} which carried over from boot-
marvell.cmd. Upstream's distro configuration use ${devtype} instead.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
This merge request contains various files which add support for xt-q8l-v10 boards (TVBox) equipped with Rockchip RK3288 SoC, AP6330 WiSoC (BCM4330 WiFi + Bluetooth), 2 GB DRAM (LPDDR2 or DDR3), 8 Gb eMMC, Gigabit Ethernet, 3 USB (1 OTG), 1 microSD slot, SPDIF optical output, 1 HDMI.
Kernel patches:
This thouches all three linux-rockchip-* kernelconfigs, just adds brcmfmac and brcmutil modules and remote controller support. default flavor activates rockchip own remote controller driver, next and dev use the mainline GPIO CIR driver (dev has lirc userland support activated too).
About the remote controller, an additional kernel module is added to the existing keymaps which is activated via device tree.
About possibly clashing patches assert-phy-reset-when-waking-up-in-rk3288-platform.patch should be checked against other rk3288 boards because it addresses an errata in rk3288 which causes the USB Host ports to stop responding when exiting from autosleep. On my device if I connect the first USB device when the system is already running, the USB Host gets stuck without this patch. Probably to work correctly on other platforms the device tree should include the proper reset lines of the USB PHYs (for reference, check patch/kernel/rockchip-dev/xt-q8l-v10-add-device-tree.patch starting from line 869).
Patch 1-2-regulator-act8865-add-restart-handler-for-act8846.patch adds a restart handler which allows reboot using SIPC bit on act8846 power regulator. Possibly MiQi board is affected (is reboot working there?), others (tinkerboard) should not care.
Patch brcmfmac-add-ap6330-firmware.patch adds firmware file names for ap6330 , should be harmless in other cases.
Patch 0010-GPU-Mali-Midgard-remove-rcu_read_lock-references.patch is from Miouyouyou. It should be harmless, it was suggested by him to do some tests with devfreq
Other patches just add the proper device trees, Kconfig and bits for supporting the board as a regular kernel supported board and should not interfere with anything else
U-Boot patches:
All the patches for u-boot are per-board, so nothing is added which may interfere with other existing boards here. They include the device tree and u-boot config and also a couple of patches to support the silergy power regulators driving current to CPU and GPU
* Initial commit to provide kernel and u-boot configuration and device trees for xt-q8-v10 as patches
Modification to rockchip config to add initialization bits for xt-q8-v10
* Committing correct path for rk3288_ddr_400Mhz... rockchip blob, moved assembling into another section to produce
immediately an u-boot working binary
* Enabled broadcom fmac driver in rockchip-next config
* Changed name definition of rk3288-xt-q8-v10 board to "TVBox"
Added bits to include support AP6330 and binary firmwares into the final image
* Fixed device tree file name in related patch, added patching of Makefile to produce the device tree binary accordingly
* Fixed xt-q8-v10 device tree patch
Added brcmfmac driver to rockchip dev and default kernel configs
* Syncing with upstream
* Splitted add-xt-q8... kernel patches into two separate patches
* Fixed bad extension while adding dtb in makefile for rockchip-default configuration
Updated device tree patches for all rockchip confs
* Enable mmc0 and usb in u-boot config
Fixed again makefile patch for kernel next
* Adding patches to reset the USB phy when kernel requires a reset, fixes autosuspend issue
* Changed xt-q8-v10 to proper xt-q8l-v10 in every string and every filename
Added power hold to u-boot, so now the device will boot and stay turned on without the need for the OTG cable anymore
* Changed names from 'Q8' to proper 'XT-Q8L-V10' in device tree patch files
* Legacy kernel device tree:
Fixed bluetooth gpio pin clashing
Fixed HDMI gpio pin clashing
Added support for PWM-based IR-Receiver, added driver in kernel default config too
Various other fixes to avoid some complaints from the kernel
* Added booting bluetooth systemd service for AP6330 (xt-q8l-v10) that loads patchram and invokes hciattach
Minor fixes to -next and -dev device trees for xt-q8l-v10
* Disabled OTG USB port in u-boot due to long timeout during initialization
Fixed warning during u-boot dts compilation
Added emmc as second boot device in dts
* Adding myself to licensing
* Committing modifications to device trees
* Fixed dmac_bus_s explicitly set to unused dmac, restored right dmac in xt-q8l-v10 dts only
Change PLL_CPLL frequency in device tree to 408 Mhz to avoid fractional divisor warnings
* Added proper xt-q8l-v10_rk3288 configuration to u-boot, now appearing in config menu and
correctly selectable as a real target
Fixed typo in device tree from rockchip
* Fixed missing semicolon in device tree for default configuration
Fixed patch files for u-boot appending themselves to files on each compilation
* Added bits to enable power to USB ports in u-boot, thus enabling booting from USB devices (only USB host port for now)
* Changed u-boot binary creation using the rockchip SPL properly
* Added boot order for xt-q8l-v10: sdcard, usb0, eMMC, network
* Added bionic:next in beta config for xt-q8l-v10 board
* Changed some minor bits in xt-q8l-v10 device tree files, added missing bits to dev flavour
Added patches to introduce fairchild fan53555/silergy82x regulators to u-boot and enabled in xt-q8l-v10 device tree
* Updated u-boot to version v2018.03 for xt-q8l-v10. Other rk3288 boards will gain v2018.05 from main armbian fork
Removed pre-reloc labels in u-boot device tree because they are not necessary since we don't use u-boot SPL for xt-q8l-v10
Removed vmmc-supply and vqmmc-supply in u-boot device tree to avoid hang on boot
* Tidied up a bit device trees, in particular some modifications are made to power regulator properties comparing them against the original q8l device tree
Removed unnecessary dummy regulator, removed unnecessary capacities to embedded eMMC
Disabled unused USB host
Removed vmmc-supply and vqmmc-supply from emmc section because it causes hang in u-boot v2018.03 and newer
* Restored previous regulator in u-boot dts
removed assert phy reset USB patch from rockchip-dev because of some upstream incompatible changes
* Added patch to enable IRQ for Midgard drivers which caused massive slowdown on dev kernel
Changed u-boot if-code for xt-q8l-v10 in rockchip.conf
Removed references to rk3288-linux.dtsi in xt-q8l-v10 device tree for default kernel
* Committing effective removal of USB reset assert for dev kernel
Committing changes to u-boot device tree
* Added patch to disable USB power down for rockchip devices broken on latest kernel
* Removed usb dwc2 patch to reinject it from specific branch
* Reverting some voltage changes for xt-q8l-v10 device in rockchip-dev
* Reverting some voltage changes for xt-q8l-v10 in u-boot section
* Added patch to make USB ports working again on rockchip devices with mainline
kernel >= 4.18
* Changed the 0 into false
* Moved xt-q8l-v10 u-boot patches into board_xt-q8l-v10 directory
* Changed some minor things in rockchip-dev dts for xt-q8l-v10, added mali midgard driver to dev kernel config
* Added devfreq support for Mali in rockchip-next flavour
* Remove manually applied patch (0007-drivers-drm...) because it has been
added to armbian main repo
* Removed duplicate patch which has added to main armbian repository
* Tidied up regulators for default/next/dev rockchip flavours for xt-q8l-v10, disabling those regulators which are not tied to anything
Enabled voltage regulator to make SPDIF connector work (thus not tested because I have no DAC)
Changed rockchip-dev and rockchip-next config files to enable gpio-ir-receiver module to enable bundled remote IR controller, including kernel patch for keymap
* Enabled back regulator REG7 to allow propert bluetooth functionaly
* Minor changes to u-boot device tree for xt-q8l-v10
Added patch to set act8846 SIPC to correctly reboot the device (thus require some power-hold at reboot to make reboot fully working)
* Fixed u-boot device tree
* Added configuration bits to support TPL in u-boot for xt-q8l-v10 (TPL is thrown away though) to allow faster reboot times and achieve a working reset feature activating power hold gpio pin as soon as possible. gpio pin is hardwired into spl_board_init() u-boot code because it is not possible to let it work via device tree
Fixed OTG USB port in u-boot, allowing devices detection and booting
Added proper vbus-supply properties for USB controllers in u-boot dts, so u-boot activates USB vbus itself
* Fixed dts makefile patching for next and dev rockchip kernel
* Fixed fdt_file renamed to fdtfile in armbianEnv.txt
* Changed xt-q8l-v10 board config as per recomendations
* Moved xt-q8l-v10 configuration to CSC
Restored linux-rockchip-* configurations, enabled brcmfmac driver, GPIO remote controller driver and lirc kernel compatibility interface
Polished a bit rockchip.conf
* Add patch to brcmfmac driver to search for ap6330 firmware
Removed copy-work from rockchip.conf about ap6330 firmware for xt-q8l-v10 and tidied up
Avoid using brcm_patchram_plus in ap6330-bluetooth-service putting proper firmware file in /etc/firmware for hciattach do firmware uploading itself
* Fixed bcm4330 bluetooth firmware linking for hciattach used by ap6330-bluetooth.service
* Removed foreign test patches from xt-q8l-v10 u-boot directory
* Initial commit BPi R2:
Currently working/not working:
- u-boot:
- builds with minor issues
- patching and cleanup happens on 'https://github.com/chwe17/u-boot-mt'
- next (https://github.com/frank-w/BPI-R2-4.14)
- boots with minor issues
- ETH doesn't work with nm
- sata works
- no wifi (needs driver from: https://github.com/frank-w/BPI-R2-4.4)
- USB not working (xhci-mtk 1a1c0000.usb: fail to get vbus) needs investigation
- appended device tree is needed due to u-boot doesn't work with fdt (kernelpacking needs adjustemts e.g. cat zImage dtb > zImage-dtb
- dev (kernel.org master)
- untested, needs adjustments in config (e.g. CONFIG_LOCALVERSION="")
- since no defconfig is available config is based on frank-w 4.16 Kernel
- Kernel builds without issues
- manual packing of kernel and dtb similar to next
The board boots, serial console is available but everything else must be expected as not working!
- to do:
- u-boot needs a cleanup
- binary blobs needs investigation
- eMMC is **not tested** and needs for sure adjustements! (don't try nand-sata-install!!!)
- bootscript isn't tested (only manual boot over u-boot console at the moment)
- both kernelconfigs aren't 'armbian standard' modules need to be adjusted
Only use it when you know're familiar with u-boot commands!
* Small fixes, add bootscript
- add bootscript for patched u-boot (needs patching of u-boot, currently under investigation and not working properly)
- revert cat zImage dtb > zImage-dtb (cause not working)
- first cleanup of dev kernelconfig (remove CONFIG_LOCALVERSION="")
* Minor fixup
-kernelconfig for next was adjustet so that USB is recognized
-firt bootscripts was written to boot with source command (doesn't work 100% reliable)
-slightly adjustd boardconfig (e.g. bootscript)
must still be considered as early wip!
* small update (FDT works now)
-working bootscript
-adjusted boardconfig
-earlyprintk activated in kernelconfig
* First attempt to get ETH working
-all interfaces are bridged together
-performance sucks at the moment (not clear if it's related to insane network configuration or I miss something obvious... :P )
* Major update (see below for changes):
- 4.14 kernel was dropped due to https://forum.armbian.com/topic/7296-bananapi-r2-csc-mt7623-as-new-boardfamily/?do=findComment&comment=55194 and following
- boot.cmd was adjusted to 'clean' mainline behaviour
- next build opition and its defaultconfg was removed (at the moment dev only)
- rework of the network default configuration
- default configuration will be over network.d **not** NetworkManager
- per default all wired interfaces are bridged together to br0 (still wip)
- old 'interfaces' configuration was removed
- boardconfig is adjusted (no desktop until I've prove that HDMI works)
- what works/ not works:
- board boots up without manual u-boot hacking
- SATA, USB3 (massstorage) is tested and works without issues
- due to rework of network configuration this is still wip and must be considered as 'not working'
* moved to network.d for configuration of wired network
- renamed bsp packages
- blacklist wired interfaces for NetworkManager
- defined all wired interfaces as br0 in systemd/network
- defined networkd als default renderer for bionic (not tested yet!)
* The houskeeping commit:
- BOARDFAMILY was renamed to mt7623 instead of mt7623n (including patchfolders etc.)
- Network.d has no fully control over wired networkes (block NM from controll, start networkd on firstrun etc.)
- Further cleanup kernelconfig
- CPU temp is visible from userspace
- missed switch driver loaded
- cryptodrivers are there (not tested)
- still a bunch of work
* Add DMA mem alloc patch
-under testing!
* Add next option (4.17.y) stick dev to master (4.18-rc1 untested)
* minor fixes:
- solve kconfig issues between 4.17 and 4.18
- stick next branch to 4.18
- first attempts to bring up gmac2 (doesn't work currently)
* switch to upstream u-boot
- fix ext4 dependency in patch series
- kernelpacking currently broken
* add bootz & cmd_ext4
* resolved merge conflict
* apply ugly u-boot patch, fix bootscript
* remove unneeded stuff, apply forgotten stuff
* update config for dev & clean up boardconf (remove xenial)
* - drop dev and next, move into default. There is no intention to provide stock kernel
- fixed board description, renamed to WIP, where it can be merged later
- packing boot firmware to the u-boot package
- docker dependencies (aufs will be added later. not essential)
- attached to 4.19.y
- loading armbianEnv.txt
- UUID support (tested)
- enabled ZRAM (tested)
- enabled eMMC install (not quite working properly yet)
- Bionic has some issues with systemd networking.
* gov to ondemand (thermals are conservative anyway), remove unneeded kernelconfigs
* Added AUFS, remove debug from kernel boot parameters, add ath10 mPCI support (which works)
* add power-off-key and rtc
* Added onboard wireless, but it's enabling is disabled by default. Too fragile.
* Change to CSC target
* Helios4: Add workaround for SPI and SATA concurrent access issue
Concurrent access on SPI NOR and SATA drives can lead to unstable SATA.
Therefore as workaround, disable SATA controller when SPI flash access
is needed and make it as user configurable item in armbianEnv.txt
This workaround might applies to Clearfog too.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* Helios4: Add U-Boot SPI
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* Helios4: Add SPI bootloader install feature
This will allow to use nand-sata-install to perform the following operations on Helios4 :
- Install bootloader to SPI NOR Flash (Option 5 in Menu).
- Copy RootFS to USB storage in order to boot from SPI with RootFS on USB (Option 6 in Menu).
* Unmount temp mount points in create_armbian() instead of hardcoded /dev/sda