Hi,
it's been a while.
Am 14.06.2018 um 21:52 schrieb Sven Joachim:
On 2018-06-13 21:25 +0200, Robert Pommrich wrote:
I don't know how to find out, if the hardware is really supported, nor
how to build a mainline kernel and integrate it with Uboot.
Install the linux-image-mx5 kernel and the flash-kernel package from
Wheezy, it should know what to do. If the official Wheezy kernel works,
you can upgrade your userland to Jessie (and maybe to Stretch, but note
that systemd in Stretch officially requires Linux 3.12). This would
give you a few extra years.
I installed the linux-image-mx5 kernel and the flash-kernel package and
rebooted, but the old kernel is still booted.
The /boot contains the following:
ls -l /boot/
total 24881
-rw-r--r-- 1 root root 474 Aug 6 2012 boot.scr
-rw-r--r-- 1 root root 452 Aug 6 2012 boot.scr.bak
-rw-r--r-- 1 root root 65840 Jul 31 2012 config-2.6.31.14.27-efikamx
-rw-r--r-- 1 root root 75779 Mar 9 2016 config-3.2.0-4-mx5
-rw-r--r-- 1 root root 3754408 Jun 15 2015 initrd.img-2.6.31.14.27-efikamx
-rw-r--r-- 1 root root 5496593 Feb 16 11:58 initrd.img-3.2.0-4-mx5
drwx------ 2 root root 12288 Jul 28 2012 lost+found
-rw-r--r-- 1 root root 893601 Jul 31 2012 System.map-2.6.31.14.27-efikamx
-rw-r--r-- 1 root root 1150071 Mar 9 2016 System.map-3.2.0-4-mx5
lrwxrwxrwx 1 root root 27 Jul 28 2012 uImage ->
uImage-2.6.31.14.27-efikamx
-rw-r--r-- 1 root root 1956776 Aug 6 2012 uImage-2.6.31.14.27-efikamx
-rw-r--r-- 1 root root 1956692 Jul 28 2012 uImage-2.6.31.14.27-efikamx.bak
lrwxrwxrwx 1 root root 28 Jul 28 2012 uInitrd ->
uInitrd-2.6.31.14.27-efikamx
-rw-r--r-- 1 root root 3105686 Aug 6 2012 uInitrd-2.6.31.14.27-efikamx
-rw-r--r-- 1 root root 2921664 Jul 28 2012 uInitrd-2.6.31.14.27-efikamx.bak
-rw-r--r-- 1 root root 1956712 Jul 31 2012 vmlinuz-2.6.31.14.27-efikamx
-rw-r--r-- 1 root root 2008520 Mar 9 2016 vmlinuz-3.2.0-4-mx5
The boot.scr looks like this:
# cat /boot/boot.scr
'VQPû]FUbuntu boot scriptsetenv ramdisk uInitrd-2.6.31.14.27-efikamx;
setenv kernel uImage-2.6.31.14.27-efikamx;
setenv bootargs console=tty1 root=/dev/sda2 rootwait rw quiet splash;
${loadcmd} ${ramdiskaddr} ${ramdisk};
if imi ${ramdiskaddr}; then; else
setenv bootargs ${bootargs} noinitrd;
setenv ramdiskaddr "";
fi;
${loadcmd} ${kerneladdr} ${kernel}
if imi ${kerneladdr}; then
bootm ${kerneladdr} ${ramdiskaddr}
fi;
I am hesitant to uninstall the old kernel-image as I could brick the
device by that.
I see, that the file uImage-3.2.0-4-mx5 ist missing, as well as the file
uInintrd-3.2.0-4-mx5.
Also the boot.scr is obviously still pointing to the old kernel.
What shall I do? Any help is very much appreciated.
Good luck,
Sven
Best regards,
Robert