R.Lucassen Posted December 1, 2019 Posted December 1, 2019 I have an Orange Pi PC (H3 cpu) running a sysV Debian Buster, with this kernel: Linux version 4.19.65-sunxi (root@nightly) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #5.93.190808 SMP Wed Aug 7 23:18:20 CEST 2019 However, I cannot find this kernel on apt/beta.armbian.com. I want to install the kernel-headers. I fear my sources.list is not correct: deb http://httpredir.debian.org/debian buster main contrib non-free deb http://security.debian.org/ buster/updates main contrib non-free deb http://apt.armbian.com buster main buster-utils IIRC the origin of this image has been a jessie image, updated a few times. It has been heavily tweaked, so it is possible that I did something stupid somewhere. Anyone a hint? Richard.
guidol Posted December 1, 2019 Posted December 1, 2019 the Linaro kernel isnt a armbian-kernel - so maybe no haeders in this version from armbian. Linaro siunds like an kernel directly from orangepi.org?
R.Lucassen Posted December 1, 2019 Author Posted December 1, 2019 Oops, that could be the case, I really can't remember anymore. As you suggested, the kernel seems to come from Linaro.org. I have no idea how I managed to get this kernel. Must be some sources.list line that I removed or so (as I said: stupidities) But now I have an apt.armbian.com rule in sources.list and AFAIUI the latest stable Armbian kernel for the Orange Pi PC plus would be the legacy 4.19.84 kernel, is that correct? And it seems that I need to install a different version number: "apt install linux-image-legacy-sunxi" which will install "19.11.3 Armbian:buster [armhf]" Is that the way to go? Richard
Igor Posted December 3, 2019 Posted December 3, 2019 Do and choose legacy for 4.19.y or current for 5.3.y. In both cases you will find matched headers.
R.Lucassen Posted December 3, 2019 Author Posted December 3, 2019 Ok, thnx, that worked! OTOH, weird things happen on an OragePi zero, I think I'll install a fresh image first R.
R.Lucassen Posted December 3, 2019 Author Posted December 3, 2019 I just installed two Armbian images, one on an OragePi PC and one on an OragngePi Zero. Both show during boot: Loading Environment from EXT4... ** File not found /boot/boot.env ** ** Unable to read "/boot/boot.env" from mmc0:1 ** As everything is ok, I assume it is a warning level, but what is this boot,env for? R.
martinayotte Posted December 3, 2019 Posted December 3, 2019 1 minute ago, R.Lucassen said: ** Unable to read "/boot/boot.env" from mmc0:1 ** Yes, Armbian doesn't use boot.env like some other distros, but /boot/armbianEnv.txt which is quite equivalent.
Igor Posted December 3, 2019 Posted December 3, 2019 Well, that's actually an u-boot environment file which is/can be stored on a file system ... and used if one choose to use it (change some uboot varible following by saveenv from uboot cmd prompt). This is a case only on Allwinner boards, on others this is done differently.
Recommended Posts