* Bump rockchip DEV 32b to 5.11.y
* Move mvebu64 DEV to 5.11.y
* Move Rockchip64 DEV to 5.11.y
Disabling general-rkvdec_nv15.patch - need more attention
* Add Meson DEV / Odroid C1
* Move OdroidXU4 DEV to tobetter's 5.11.y branch
* Bump sunxi DEV to 5.11.y
* Bump mvebu DEV to 5.11.y
* Apply a fix for lightdm-gtk-greeter bug
Applied at 1st run but can probably be moved to build
* Move fix rather to BSP so fix will be applied to upgrade
* Set image compression levels to maximum
This feature is used mainly by us or other distributors. An internal function. Compression time and CPU usage for this process is significantly increased but the size of the daily batch was decreased from 80Gb -> 50Gb. Mitigate upload speed bottleneck.
* Small improvement for internal build process
* Typo
* 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
Try to create bootloader and kernel packages several times during
one VM session and you will see in /tmp/ many temporary folders like:
tmp.6D2bjgqMQ9
tmp.7Uj9BtIXPy
tmp.f3a2tmt7Cu
......
Some folders contain armbian-config packages
Temporary folders should be deleted!
If kernel is build with GCC9.2 we can't compile modules with DKMS. Reverting compiler to 8.3 until better solution emerges. No known side effects. Tested - working.
https://armbian.atlassian.net/browse/AR-557
* Cosmetical: exchange mv with rsync
Also make build script output less chatty to console. Show SD and mount size % only.
* Leave output here
* Add delete after option
* 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
* Don't delete /boot/armbianEnv.txt file at least for meson64
fix for #2249 ODroid-N2 armbian-config-->hardware menu not work
* Update meson.txt
* Update boot-odroid-n2.ini
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
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>
* Dockerfile update
Add package to fill-in missing ssh-keygen dependency
(required by lib/distributions.sh when CRYPTROOT_ENABLE is true)
* lib/chroot-buildpackages.sh: Fix mistakes with shellcheck linting
This breaks the apt command line, resulting in the following error:
> E: Invalid operation
* lib/configuration.sh: cryptroot >= 2.1 uses memory intensive key derivation
fix that by reverting to the < 2.1 default algorithm (pbkdf2)
- 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
* 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>
* Add support for two dedicated package lists for BOARD and FAMILY
- PACKAGE_LIST_BOARD
- PACKAGE_LIST_FAMILY
* Add some info about recently added features to the README.md
* 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
Compilation is breaking with
cc1: error: unrecognized -mtune target: native
... for few hours due to upstream code fixing. Once wireless driver code is stabilized we move back to branch. @kimocoder
* 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
having var in double quotes evaluates space default differently..
```
lane@billroyall:~/GIT/build$ ntpdate -s "${NTP_SERVER:- pool.ntp.org}"
Error resolving pool.ntp.org: No address associated with hostname (-5)
lane@billroyall:~/GIT/build$ ntpdate -s "${NTP_SERVER:-pool.ntp.org}"
```
* Introducing Rockchip rk322x SoC support
Main features:
- Legacy kernel flavour based upon stable v2.x rk3288 Rockchip branch (https://github.com/rockchip-linux/kernel/tree/stable-4.4-rk3288-linux-v2.x)
- Current kernel flavour based on mainline 5.6.y kernel
- Mainline u-boot (v2020.04)
- Single generic tv box target (rk322x-box) which boots on all the known tv boxes
- Hardware devices (eMMC/NAND, led wiring configuration, SoC variant selection) modulation done by user at runtime via device tree overlays - a script (rk322x-config) is provided for autodetection and simple configuration by inexperienced users;
- Bits added to armbian-hardware-optimization to set affinity for irq handlers
- rk322x-box targets already added to targets.conf for automatic image creation
* Removed disabled patches
* Restored mysteriously removed comment character
* Improve all kernel building
Store hashes and rebuild only changed kernels. TBD: support for patch directory not fully implemented yet
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Add support for patch directory checking
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Update lib/build-all-ng.sh
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
* Update lib/build-all-ng.sh
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
* Update lib/compilation.sh
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
* Update lib/compilation.sh
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
* Update build-all-ng.sh
* Disable u-boot hashing for now
* remove banana r2
breaks compilation ... no time for inspection ATM
* typo
* Change s5p6818 to COMMIT instead of TAG
TAG points to a different HASH and its not posible to resolve hash without cloning. This can be addressed later, but now commit HASH will do.
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Bumping to new version
* Bumping to new version
* Bump
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* few changes
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Test
* Bumping to new version
* Bumping to new version
BOARD
Cubox i2eX/i4
* Bumping to new version
imx6 current
meson-gxl current
* Bumping to new version
linux-image-current-imx6_20.08.4-trunk_armhf.deb
linux-image-current-meson64_20.08.4-trunk_arm64.deb
* Bumping to new version
Adding following kernels:\n
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_20.08.4-trunk_armhf.deb
linux-image-current-meson64_20.08.4-trunk_arm64.deb
* Bumping to new version
Adding following kernels:
linux-image-current-meson64_20.08.5-trunk_arm64.deb
linux-image-current-sunxi_20.08.5-trunk_armhf.deb
linux-image-legacy-meson_20.08.5-trunk_armhf.deb
linux-image-legacy-s5p6818_20.08.5-trunk_arm64.deb
* fix versioning
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Bumping to new version
Adding following kernels:
linux-image-current-meson64_20.08.1_arm64.deb
* Put version back
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Bumping to new version
Adding following kernels:
linux-image-current-imx6_20.08.0-trunk_armhf.deb
linux-image-current-meson64_20.08.0-trunk_arm64.deb
linux-image-current-mvebu_20.08.0-trunk_armhf.deb
linux-image-current-mvebu64_20.08.0-trunk_arm64.deb
linux-image-current-odroidxu4_20.08.0-trunk_armhf.deb
linux-image-current-rockchip_20.08.0-trunk_armhf.deb
linux-image-current-rockchip64_20.08.0-trunk_arm64.deb
linux-image-current-sunxi_20.08.0-trunk_armhf.deb
linux-image-dev-mvebu_20.08.0-trunk_armhf.deb
linux-image-dev-rockchip64_20.08.0-trunk_arm64.deb
linux-image-legacy-meson_20.08.0-trunk_armhf.deb
linux-image-legacy-meson64_20.08.0-trunk_arm64.deb
linux-image-legacy-mvebu_20.08.0-trunk_armhf.deb
linux-image-legacy-mvebu64_20.08.0-trunk_arm64.deb
linux-image-legacy-odroidxu4_20.08.0-trunk_armhf.deb
linux-image-legacy-rk3399_20.08.0-trunk_arm64.deb
linux-image-legacy-rockchip_20.08.0-trunk_armhf.deb
linux-image-legacy-rockchip64_20.08.0-trunk_arm64.deb
linux-image-legacy-rockpis_20.08.0-trunk_arm64.deb
linux-image-legacy-s5p6818_20.08.0-trunk_arm64.deb
* Bumping to new version
Adding following kernels:
* Bumping to new version
Adding following kernels:
linux-image-dev-rockchip_20.08.0-trunk.2_armhf.deb
* Bumping to new version
Adding following kernels:
* Bumping to new version
Adding following kernels:
* Bumping to new version
Adding following kernels:
* Bumping to new version
Adding following kernels:
* Report error code, adjust version
* Adjust ver
* Add another switch
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Co-authored-by: root <root@workstation>
* Add GPT parition table support Leave unchanged / mbr by default since GPT doesn't works everywhere.
* Accept ROOTFS_PARTITION_TABLE as a parameter
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Change variable name
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Update README.md
* Delete FORCE_CHECKOUT, IGNORE_UPDATES variables
There are currently two questionable variables.
They are the keys in the structures:
'if [[ $FORCE_CHECKOUT == yes ]]; then' in the function 'fetch_from_repo()'
which is set by default by the script 'main.sh'
'[[ -z $FORCE_CHECKOUT ]] && FORCE_CHECKOUT=yes'
Next in the script 'main.sh'
if [[ $IGNORE_UPDATES != yes ]]; then
display_alert "Downloading sources" "" "info"
fetch_from_repo "$BOOTSOURCE" "$BOOTDIR" "$BOOTBRANCH" "yes"
This key has aged. It can't work properly today.
We should always clear the sources before starting the build.
For this reason, these two keys in these places do not make any sense.
You can just delete them.
* Working offline for sources
This is useful when building recursively for multiple platforms,
when some resource on the Internet is frozen.
To do this, I entered a new variable 'OFFLINE_WORK'
* New ability to work in offline mode
* Skip check prepare host
* Add unset OFFLINE_WORK in lib/build-all-ng.sh
Sources, time and host will not be checked
Now you can collect packages without accessing the Internet
This is a minimal fix for the correct display
of characters in the applications, especially the console.
For example, if the locale-gen command is only for one locale
locale-gen ru_RU.UTF-8
Then the console application MC instead of a line in the frame outputs:
@
@@@@@@@@@@@@@@@@@@
@ README.md
@@@@@@@@@@@@@@@@@@
@
@
Setting variables to LC_ALL=C LANG=C is not necessary in this construction.
The line with the editor is not needed.
The 'locale-gen en_US.UTF-8 xx_XX.UTF-8' command
will fix this file itself.
* Exit if you can't create a directory
Otherwise the entire folder structure will crash
* git rev-parse --git-dir will always return ".git" line
if we are in the git repository folder.
When there is a symbolic link in the path, some functions
will not return what is expected. This condition is always true.
$(git rev-parse --show-toplevel) != $(pwd)
This commit fixes this threat
* fix permisson denied error happening in line 79
`mktemp` creates files with `-rw-------` (on Ubuntu bionic at least), which causes `line 79` to throw a permission denied error if the file isn't world readable.
* fixes umount error caused by single quotes
* force metadata duplication for btrfs root
Without this change metadata duplication is automatically turned off for `mkfs.btrfs` when the **build system** has a SSD drive.
However, since Armbian image is most likely flashed to a SD card afterwards, the drive type of the build host system should not be the deciding factor.
Metadata duplication is a good idea (better reliability) to have on a SD card.
From `man mkfs.btrfs`:
```
-m|--metadata <profile>
Specify the profile for the metadata block groups. Valid values are raid0, raid1, raid5, raid6, raid10, single or dup, (case does not matter).
A single device filesystem will default to DUP, unless a SSD is detected. Then it will default to single.
```
* armbian-resize-filesystem fails on first run due to missing fdisk
The `fdisk` package is missing in the `minimal` image, in bullseye at leat. Maybe other, future minimal images as well.
This will cause the `armbian-resize-filesystem` script to fail on first boot, which contains several
`fdisk` references. This could be fixed in the `bullseye` specific section, but since fdisk is so
essential for Armbian, it's probably best to list it in the general, mandatory packages to make sure it's available in every image in any case.
* fix for https://github.com/armbian/build/issues/1584
Since Debian buster the final `update-initramfs` call must be made
on the finished image where the final root device is mounted, else
`cryptsetup-initramfs` hooks fail to detect the root device.
* Merge remote-tracking branch 'upstream/master'
* make sure cryptsetup-initramfs is installed in any case if CRYPTROOT_SSH_UNLOCK is configured
Before Debian **bullseye**, `cryptsetup-initramfs` was a hard dependency of the `cryptsetup` package. Not anymore.
Therefore we need to install `cryptsetup-initramfs` explicitly, else CRYPTROOT_SSH_UNLOCK won't work.
* Switching Odroid C1 boot partition to FAT
U-boot FAT driver is very unstable and there is no wish to dig into u-boot. Seems like a sane workaround @plntyk
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Add notes for separate boot partitions
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Typo
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Bugfix: use zImage for converting to uImage since on FAT partitions we use move
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Cleanup C1 boot scripts
We have no plans to ever support legacy kernel again. Removing related things
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* A bit more radical change. Moving meson current to (new) legacy, current to 5.6.y and dev to some development branch / commit.
* Remove unneded patch
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Fixing desktop install on Ubuntu Focal / Eean
Changed dependencies for Network manager automatically install Gnome3 desktop unless certain packages are installed first. Fixing with pre-depends package feature. Tested on arm64, desktop install on top of CLI image
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Rework packages install that they can be installed from repository instead of local compile. Handy for making releases.
* Don't build ATF if you don't build u-boot
* meson-sm1: use amlogic-boot-fip to generate boot binary for SM1
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* patch: add Linux and U-Boot patches
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* configs: enable Odroid-C4
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* Remove Xenial from supported host OS
... and adjust comments.
I'd suggest add `tricia` as codename for Linux Mint based on Bionic somewhere but not sure where to put it.
* Add Debian Buster and Linux Mint
compatible build hosts
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
* Replace apt with apt-get unless in chroot
* Improve support for Buster and Mint Debbie
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
* Add 8189es out of the tree patch from repository.
* Added 8189FS version
* Support building on kernel 5.6. for 88x2bu
Tested for building on legacy, current and dev, removed old patches
Enable Realtek 8723DS only for kernel 5.5 and above. We only need it for Rockpi S DEV kernel, while it causes troubles on at least on 5.4.y
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>