dwinz 0 Posted Monday at 06:23 PM Share Posted Monday at 06:23 PM In the newest image "Armbian_21.02.1_Rockpro64_focal_current_5.10.12_desktop.img" I downloaded the "Armbian config" the Source download choice box does not have the version "5.10.12" as a choice. The "headers" option does download the proper version. How do I get the source for it? 0 Quote Link to post Share on other sites
Werner 332 Posted Monday at 07:14 PM Share Posted Monday at 07:14 PM apt install linux-source-5.10.12-current-rockchip64 headers seem missing.... Edit: Just lacking a bit behind. Update kernel and get matchin headers for it: apt update && apt upgrade -y && linux-headers-current-rockchip64 Should give you 5.10.17 plus headers at this date. 0 Quote Link to post Share on other sites
dwinz 0 Posted Tuesday at 03:47 AM Author Share Posted Tuesday at 03:47 AM root@rockpro64-sys1:/home/dwinz# apt update && apt upgrade -y && linux-headers-current-rockchip64 Hit:2 http://ports.ubuntu.com focal InRelease Hit:3 http://ports.ubuntu.com focal-security InRelease Hit:4 http://ports.ubuntu.com focal-updates InRelease Hit:5 http://ports.ubuntu.com focal-backports InRelease Hit:1 https://minio.k-space.ee/armbian/apt focal InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. bash: linux-headers-current-rockchip64: command not found 0 Quote Link to post Share on other sites
Werner 332 Posted Tuesday at 04:40 AM Share Posted Tuesday at 04:40 AM maybe adding apt install before linux-headers-current-rockchip64 helps 0 Quote Link to post Share on other sites
dwinz 0 Posted Tuesday at 05:00 AM Author Share Posted Tuesday at 05:00 AM Had done it previously but again... apt install linux-headers-current-rockchip64 Reading package lists... Done Building dependency tree Reading state information... Done linux-headers-current-rockchip64 is already the newest version (21.02.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. And again the other; apt update && apt upgrade -y && linux-headers-current-rockchip64 Hit:2 http://ports.ubuntu.com focal InRelease Get:3 http://ports.ubuntu.com focal-security InRelease [109 kB] Get:4 http://ports.ubuntu.com focal-updates InRelease [114 kB] Hit:1 https://minio.k-space.ee/armbian/apt focal InRelease Get:5 http://ports.ubuntu.com focal-backports InRelease [101 kB] Fetched 324 kB in 3s (93.9 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. bash: linux-headers-current-rockchip64: command not found And finally; ls -l /linux-headers-current-rockchip64 ls: cannot access '/linux-headers-current-rockchip64': No such file or directory 0 Quote Link to post Share on other sites
dwinz 0 Posted Tuesday at 05:05 AM Author Share Posted Tuesday at 05:05 AM apt update && apt upgrade -y && apt install linux-headers-current-rockchip64 Hit:2 http://ports.ubuntu.com focal InRelease Hit:3 http://ports.ubuntu.com focal-security InRelease Hit:4 http://ports.ubuntu.com focal-updates InRelease Hit:5 http://ports.ubuntu.com focal-backports InRelease Hit:1 https://minio.k-space.ee/armbian/apt focal InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done linux-headers-current-rockchip64 is already the newest version (21.02.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. and still no results (the tar file i got from the linux sources); ls -l /usr/src total 995584 drwxrwxr-x 8 root root 4096 Aug 7 2019 libgpiod-1.4.1 -rw-rw-r-- 1 dwinz dwinz 1019463680 Feb 22 14:12 linux-5.10.17.tar drwxr-xr-x 23 root root 4096 Feb 22 06:28 linux-headers-5.10.16-rockchip 0 Quote Link to post Share on other sites
dwinz 0 Posted Tuesday at 05:55 AM Author Share Posted Tuesday at 05:55 AM You changed the title to headers but really trying to use the Armbian_config tool to load the source for the running version.... Trying to port things over to this version and specifically trying to get the gpiod stuff and spidev working and easier to just look and see if I have the source for what is running. gpiod was just easy and simply an apt away and spi was twiddling with the dtb/dts file and etc. to get the devices.... but to write drivers and etc. need the source. Used Armbian_config on other versions and it just downloads and installs the source. 0 Quote Link to post Share on other sites
Igor 2161 Posted Tuesday at 08:02 AM Share Posted Tuesday at 08:02 AM Kernel headers are tied to the kernel, while source package you can select. I didn't have any troubles by getting a correct version by using armbian-config but on nightly builds, which are installed on our test devices. Try to remove both packages and install them again or move to nightly builds, where I just came to: root@rockpi-4b:~# ls -l /usr/src/ total 8 drwxr-xr-x 23 root root 4096 feb 23 08:45 linux-headers-5.10.17-rockchip64 drwxrwxr-x 26 root root 4096 jan 16 12:24 linux-source-5.10.7-rockchip64 1 hour ago, dwinz said: but really trying to use the Armbian_config tool to load the source for the running version We really struggle to pay for the costs "customers" create on support https://forum.armbian.com/subscriptions/ 0 Quote Link to post Share on other sites
dwinz 0 Posted Tuesday at 06:39 PM Author Share Posted Tuesday at 06:39 PM Not sure of how to get to "nightly" builds as not a option that I find? 0 Quote Link to post Share on other sites
Igor 2161 Posted Tuesday at 07:18 PM Share Posted Tuesday at 07:18 PM 36 minutes ago, dwinz said: Not sure of how to get to "nightly" builds as not a option that I find? armbian-config -> system 0 Quote Link to post Share on other sites
dwinz 0 Posted Tuesday at 07:47 PM Author Share Posted Tuesday at 07:47 PM So why don't the stock methods work? Why should I go to the supposedly "unstable" version? 0 Quote Link to post Share on other sites
Igor 2161 Posted Tuesday at 08:33 PM Share Posted Tuesday at 08:33 PM 50 minutes ago, dwinz said: So why don't the stock methods work? I am not sure that it doesn't work - I only tested on my build which runs nightly and same kernel family / similar board. And also if it doesn't, we need someone that will donate his/her time to fix that. Until then, nothing will happen. https://github.com/armbian/build#support 50 minutes ago, dwinz said: Why should I go to the supposedly "unstable" version? Its as stable / unstable as ArchLinux. This is not professional technical support. It's a community forum and I am giving you hints and shed some light on the problem, since I have no time to dive into the problem with you. "try this", "try that" ... 0 Quote Link to post Share on other sites
dwinz 0 Posted Tuesday at 08:40 PM Author Share Posted Tuesday at 08:40 PM Seriously confused now so tried to start from the beginning..... new sd... booted, update. upgrade, Armbian_config to the non-stable version (even have the red screen background) then did the download of headers and source... the result; uname -a Linux rockpro64 5.10.17-rockchip64 #trunk.125 SMP PREEMPT Wed Feb 17 12:29:35 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux Then when I do Armbian_config I show only the source for 5.10.6 0 Quote Link to post Share on other sites
Igor 2161 Posted Tuesday at 08:47 PM Share Posted Tuesday at 08:47 PM Did you reboot after upgrade? And then select for sources? 0 Quote Link to post Share on other sites
Igor 2161 Posted Tuesday at 08:48 PM Share Posted Tuesday at 08:48 PM You still can do everything manually: https://imola.armbian.com/apt/pool/main/l/ download packages you need and install them. Why would you need some menu driven luxury? 0 Quote Link to post Share on other sites
dwinz 0 Posted Tuesday at 09:17 PM Author Share Posted Tuesday at 09:17 PM Yes rebooted after the upodate/upograde, made sure it was in "attached to beta repository", my only choices to download the source are 5.10.6 -9 and 5.9.16 0 Quote Link to post Share on other sites
Igor 2161 Posted Tuesday at 09:35 PM Share Posted Tuesday at 09:35 PM 18 minutes ago, dwinz said: my only choices to download the source are 5.10.6 -9 and 5.9.16 Now I also could recreate on one machine - its a bug ... either in this code https://github.com/armbian/config/blob/master/debian-config-jobs#L191-L274 or repository management. It can be solved addressed in a couple of weeks - months fastests. 0 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.