Go to advanced search

by GaryH1
Mon Nov 02, 2020 12:32 pm
Forum: Raspberry Pi 400
Topic: The Raspberry Pi 400 thread!
Replies: 905
Views: 40859

Re: The Raspberry Pi 400 thread!

jamesh wrote:
Mon Nov 02, 2020 11:23 am
GaryH1 wrote:
Mon Nov 02, 2020 11:19 am
JamesH - what's the type code that is going to be used for this model (i.e. the one in the model's revision code)?
13, the docs have been updated.
Thanks James, we must have cross-posted as I had a look before the revision code info was updated!
by GaryH1
Mon Nov 02, 2020 11:19 am
Forum: Raspberry Pi 400
Topic: The Raspberry Pi 400 thread!
Replies: 905
Views: 40859

Re: The Raspberry Pi 400 thread!

JamesH - what's the type code that is going to be used for this model (i.e. the one in the model's revision code)?
by GaryH1
Wed Nov 13, 2019 8:32 pm
Forum: General discussion
Topic: New Pi 4B v1.2?
Replies: 331
Views: 71035

Re: New Pi 4B v1.2?

Don't forget that there are some components on the underside of the PCB, so the additional resistor fix needed for the USB-C issue may be there. We haven't seen any pictures yet of the underside of the supposed rev 1.2 version. As it's an engineering change I would expect the revision number to be b...
by GaryH1
Fri Oct 11, 2019 11:16 pm
Forum: General discussion
Topic: Raspbian 4.19.75 kernels [Solved]
Replies: 9
Views: 1989

Re: Raspbian 4.19.75 kernels

Thanks for the info guys - that's a great help. I like the uname -rm option, hadn't occurred to me to use that!
by GaryH1
Fri Oct 11, 2019 3:04 pm
Forum: General discussion
Topic: Raspbian 4.19.75 kernels [Solved]
Replies: 9
Views: 1989

Re: Raspbian 4.19.75 kernels

Thanks for that but it's actually the output of uname -m, the "machine name" that I need to know, i.e. on my 3B+ it outputs armv7l. I'm interested to know what that produces on a 4B and also a machine running a 64-bit os as I haven't got either of those to run it on.
by GaryH1
Fri Oct 11, 2019 1:39 pm
Forum: General discussion
Topic: Raspbian 4.19.75 kernels [Solved]
Replies: 9
Views: 1989

Re: Raspbian 4.19.75 kernels

Thanks Dougie for that. What I'm trying to do is to match the output of uname -m to it's appropriate kernel version. It's actually in a Bash script I've written that performs various system updates. At the end it compares what's in /lib/modules/ with the output of uname -r. This is so that if there ...
by GaryH1
Thu Oct 10, 2019 11:50 pm
Forum: General discussion
Topic: Raspbian 4.19.75 kernels [Solved]
Replies: 9
Views: 1989

Re: Raspbian 4.19.75 kernels

Thanks very much for the very quick reply! if it's possible, what does the 4B report when you run uname -m in 32-bit mode and also in 64-bit mode?
by GaryH1
Thu Oct 10, 2019 11:27 pm
Forum: General discussion
Topic: Raspbian 4.19.75 kernels [Solved]
Replies: 9
Views: 1989

Raspbian 4.19.75 kernels [Solved]

I notice that in /lib/modules there are now 4 directories: 4.19.75+ 4.19.75-v7+ 4.19.75-v7l+ 4.19.75-v8+ I know the original 4.19.75+ kernel is for the early single processor Pis (armv6l) and the 4.19.75-v7+ is for the multi-core processors (armv7l). What are the other two used for (I presume one is...
by GaryH1
Mon Nov 26, 2018 4:50 pm
Forum: Troubleshooting
Topic: dpkg-query: no packages found matching at-spi2-core
Replies: 10
Views: 1950

Re: dpkg-query: no packages found matching at-spi2-core

Thanks for fixing it!
by GaryH1
Mon Nov 26, 2018 4:42 pm
Forum: Troubleshooting
Topic: dpkg-query: no packages found matching at-spi2-core
Replies: 10
Views: 1950

Re: dpkg-query: no packages found matching at-spi2-core

Have just updated again with new version, all OK now.
by GaryH1
Mon Nov 26, 2018 2:17 pm
Forum: Troubleshooting
Topic: dpkg-query: no packages found matching at-spi2-core
Replies: 10
Views: 1950

Re: dpkg-query: no packages found matching at-spi2-core

If it's any help, my 3B and 3B+ updated this morning and both are showing this same error.
by GaryH1
Sun Nov 25, 2018 4:38 pm
Forum: General discussion
Topic: [Solved] Checking version of kernel files in the /boot directory
Replies: 13
Views: 1876

Re: [Solved] Checking version of kernel files in the /boot directory

I've got it working by using the following bash-script code: local active_kernel=$(uname -r) local latest_kernel=$(ls /lib/modules | tail -1) [ "$active_kernel" != "$latest_kernel" ] && reboot_flag=1 Minor downside: it will only work on Pi2B and Pi3Bx. On others you will get e.g. 4.14.79+ (uname) v...
by GaryH1
Fri Nov 23, 2018 11:08 pm
Forum: General discussion
Topic: [Solved] Checking version of kernel files in the /boot directory
Replies: 13
Views: 1876

Re: [Solved] Checking version of kernel files in the /boot directory

That's very impressive, as you say it actually checks inside the compressed kernel image in /boot so is always going to be correct! Something to experiment with over the next few days!

Many thanks for all the information. I'm re-learning Unix/Linux as I haven't touched it since the early 1980s!
by GaryH1
Thu Nov 22, 2018 12:01 am
Forum: General discussion
Topic: [Solved] Checking version of kernel files in the /boot directory
Replies: 13
Views: 1876

Re: [Solved] Checking version of kernel files in the /boot directory

I've always done the updates via apt-get, but somehow the older kernel directories remained in /lib/modules. I've use the apt-get autoremove and purge options to no avail, so just deleted the older ones manually. I'll keep an eye on them next time a kernel update is downloaded and installed. I had i...
by GaryH1
Wed Nov 21, 2018 10:45 pm
Forum: General discussion
Topic: [Solved] Checking version of kernel files in the /boot directory
Replies: 13
Views: 1876

Re: [Solved] Checking version of kernel files in the /boot directory

Thanks for the replies, it is indeed only intended for the quad-core devices so I didn't need to check for the other kernels. It does seem that when /lib/modules is updated with new directories, the older ones are left untouched. Thanks for all the info.
by GaryH1
Wed Nov 21, 2018 8:15 pm
Forum: General discussion
Topic: [Solved] Checking version of kernel files in the /boot directory
Replies: 13
Views: 1876

Re: [Solved] Checking version of kernel files in the /boot directory

I've got it working by using the following bash-script code: local active_kernel=$(uname -r) local latest_kernel=$(ls /lib/modules | tail -1) [ "$active_kernel" != "$latest_kernel" ] && reboot_flag=1 This checks the kernel release number of the running kernel against the latest folder entry in /lib/...
by GaryH1
Wed Nov 21, 2018 9:43 am
Forum: General discussion
Topic: [Solved] Checking version of kernel files in the /boot directory
Replies: 13
Views: 1876

Re: Checking version of kernel files in the /boot directory

Both those solutions look like they might give me the information I need. I'll try it when I get a chance and update the thread accordingly. Many thanks.
by GaryH1
Tue Nov 20, 2018 5:29 pm
Forum: General discussion
Topic: [Solved] Checking version of kernel files in the /boot directory
Replies: 13
Views: 1876

[Solved] Checking version of kernel files in the /boot directory

Is there any way to check the version of the kernel7.img file in the /boot directory? The reason I want to do this is to be able to compare it against the running kernel by using uname -a. If apt-get has updated the files in the /boot directory but a reboot hasn't yet happened I want to be able to s...

Go to advanced search