I keep getting warnings that my Firefox needs upgrading, but apt-get tells me I have the latest. Obviously (?) I need a newer kernel than the one I got with my installation.
When I was using an X1000, I tested new kernel versions fairly often; I knew how. But I'm not sure how to do it with the X5000. There is a post here last April that tells how to anyone who can understand it. One reformats something or other with GParted, and to prove it's available for putting a kernel in, you enter "ext4ls mmc 0:1" as a U-Boot command. OK, I did all that. U-Boot lists out:
4096 .
4096 ..
16384 lost+found
136347 cyrus-4.13.11-jm.config
29244 cyrus_5020.dtb
460 installer.scr
6042625 System.map
388 Ubuntu-Mate_Installer_Uboot_Script.txt
11206933 uImage-cyrus
30457534 uRamdisk
628 X5000_U-Boot_Commands.txt
But I already have a folder labeled "boot" on my desktop that has all of those files except ., .., and lost+found, and there is a disk icon labeled UBUNTU that has everything that "boot" has except the 628 ..._Commands.txt. I still don't understand what any of this has to do with upgrading a kernel.
kernel upgrade
- kilaueabart
- Posts: 1073
- Joined: Mon Mar 05, 2012 2:36 am
kernel upgrade
Last edited by kilaueabart on Fri Feb 23, 2018 4:12 am, edited 1 time in total.
Re: kernel upgrade
Do you boot your kernel from the microSD card or from a partition of your hard disk?
-- Christian
-- Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
- kilaueabart
- Posts: 1073
- Joined: Mon Mar 05, 2012 2:36 am
Re: kernel upgrade
I don't know how to tell for sure, unless maybe by looking at whatever "ubuntu" is in UBoot. I just enter "run ubuntu" in the UBoot command line.xeno74 wrote:Do you boot your kernel from the microSD card or from a partition of your hard disk?
-- Christian
[edit]Well, looking at the "ubuntu" file in UBoot was one way to find out that it gets booted from usb 0:1. Is that the microSD? Anyway, it can't be the hard disk, because I only have the one amiga formatted one, and I've read that you can't put a kernel on an Amiga disk. (I do run Ubuntu from /dev/sda5 on that disk, but I guess I can't use any of the 766.33 unallocated space for a kernel?) I originally wanted to back up the micro SD card, but I can't figure out a safe way to remove it from the mother board.
UBUNTU, that looks just about like "SD" is /dev/sdb1 on a permanently inserted flash drive. I wonder if I could boot the kernel from that?[end edit]
I just noticed that I have another related icon on my desktop. This one is red with "SD" in white letters, and its name if "2.9 GB Volume." Its content seems to be identical to the content of "boot." Is the same thing appearing twice, with different icon and name? /media/bart contains UBUNTU and something with a long numerical name but I'm sure it is the 2.9 GB "SD."
I'm tempted to copy things out of the vmlinux-4.14.15-AmigaOne_X1000_X5000 I unarchived tonight into one of those and see what happens, but I'm afraid what happens might be just that I can no longer run ubuntu.
Re: kernel upgrade
Kilaueabart,
Could you please post the output of cat /proc/cmdline under Linux?
On U-Boot please post a screenshot of the output of printenv ubuntu.
Cheers,
Christian
Could you please post the output of cat /proc/cmdline under Linux?
On U-Boot please post a screenshot of the output of printenv ubuntu.
No, it isn't the microSD card. It's your USB flash drive.kilaueabart wrote:Well, looking at the "ubuntu" file in UBoot was one way to find out that it gets booted from usb 0:1. Is that the microSD?
Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
- kilaueabart
- Posts: 1073
- Joined: Mon Mar 05, 2012 2:36 am
Re: kernel upgrade
Delayed by a necessary trip to the mainland, but here it is:xeno74 wrote:Kilaueabart,
Could you please post the output of cat /proc/cmdline under Linux?
bart@X5000:~$ cat /proc/cmdline
root=/dev/sda5 rootdelay=0
I'm afraid I'm not very good at photographing computer screens, but this is something I got from Specter660 atOn U-Boot please post a screenshot of the output of printenv ubuntu.
http://forum.hyperion-entertainment.biz ... 130#p42930
Is that what you wanted to see? If you can't read it, I can type it in. (The photo looks upside down, but when I click it, it comes out right.
Re: kernel upgrade
OK, you boot the kernel and the dtb file from an USB flash drive. The root partition is on /dev/sda5.kilaueabart wrote: Delayed by a necessary trip to the mainland, but here it is:
bart@X5000:~$ cat /proc/cmdline
root=/dev/sda5 rootdelay=0
Do you have plugged in an USB stick?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
- kilaueabart
- Posts: 1073
- Joined: Mon Mar 05, 2012 2:36 am
Re: kernel upgrade
Yes. My Desktop has two USB icons, "119 GB Volume" and "UBUNTU," but I think they are both the same drive, according to GParted, /dev/sdb. GParted shows in addition to these two, /dev/mmcblk0p1 ext4 Mount Point: /media/bart/91dd8491-[etc.] 2.73 GiB 157.74 MiB used. This partition has 512 MiB unallocated space before and after it. I can't find out where it is for sure, but I suspect it is the "2.9 GB Volume" with the Red icon "SD" on my desktop. I put the unallocated spaces on it a while back following instructions I understood were for making the SD card accept a kernel, but there were no instructions for actually adding a kernel. But I believe uImage-cyrus already is a kernel with a funny name, so I am still baffled over what those unallocated spaces are all about.xeno74 wrote:
OK, you boot the kernel and the dtb file from an USB flash drive. The root partition is on /dev/sda5.
Do you have plugged in an USB stick?
In any event the content of 2.9 GB Volume and UBUNTU are almost identical, as you might be able to see in the screen dump below. I also have a file called "boot" on my Desktop with again essentially the same content, probably intended as a backup in case I ruined my SD card.
Re: kernel upgrade
Did you install ubuntu MATE 16.04 LTS PowerPC on this X5000? Please download a new kernel, rename it to uImage-cyrus and replace the old kernel on your USB flash drive (partition UBUNTU). After that restart your X5000 and check if the new kernel is active.kilaueabart wrote: Yes. My Desktop has two USB icons, "119 GB Volume" and "UBUNTU,"
-- Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
- kilaueabart
- Posts: 1073
- Joined: Mon Mar 05, 2012 2:36 am
Re: kernel upgrade
Thanks, that worked! I did have to fix a name change that somehow failed, but fortunately I was able to do that from the Amiga side!
What I copied over and renamed was not what I recognized by its icon as a kernel, but a file called cyrus-4.15. I assume vmlinux-4.15 wouldn't have worked?
Now to see if I can really upgrade my Firefox.
What I copied over and renamed was not what I recognized by its icon as a kernel, but a file called cyrus-4.15. I assume vmlinux-4.15 wouldn't have worked?
Now to see if I can really upgrade my Firefox.
Re: kernel upgrade
Which kernel package did you download? The correct kernel name is uImage-4.15. You can rename it to uImage-cyrus if you like. vmlinux-4.15 is the X1000 Linux kernel.kilaueabart wrote: What I copied over and renamed was not what I recognized by its icon as a kernel, but a file called cyrus-4.15. I assume vmlinux-4.15 wouldn't have worked?
-- Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.