archlinux sheeva, pacman installed Linux 3.1, still get 2.6

Installation, kernels, drivers, and using these GlobalScale-based devices.

archlinux sheeva, pacman installed Linux 3.1, still get 2.6

Postby fovea1959 » Wed Jun 13, 2012 12:07 pm

Have a Sheevaplug that's been up for quite a while (last August?), running Archlinux.

just did a pacman -Syu. Linux 3.1 installed correctly (according to pacman), but the system still boots into 2.6:
Code: Select all
$ uname -a
Linux plug 2.6.39.2 #2 PREEMPT Sun Jun 26 00:20:28 MDT 2011 armv5tel GNU/Linux


/boot/uImage is correct:
Code: Select all
$ file /boot/uImage
/boot/uImage: u-boot legacy uImage, Linux-3.1.10-11-ARCH, Linux/ARM, OS Kernel Image (Not compressed), 2951500 bytes, Mon May 21 02:00:00 2012, Load Address: 0x00008000, Entry Point: 0x00008000, Header CRC: 0x97547A6B, Data CRC: 0x7162740A


but it appears that my unit is still booting from an old image on the SD card. Subset of output from fw_printenv:
Code: Select all
bootargs_console=console=ttyS0,115200
bootargs_root=root=/dev/mmcblk0p2 rootdelay=10
bootdelay=3
bootargs=console=ttyS0,115200 root=/dev/mmcblk0p2 rootdelay=10
bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); mmcinit; mmcinit; ext2load mmc 0:1 0x800000 /uImage; bootm 0x00800000


as I'm reading this, my plug is booting from the /uImage file on /dev/mmcblk0p1, and the root filesystem is /dev/mmcblk0p2.
Code: Select all
$ mount /dev/mmcblk0p1 /media/mmcblk0p1
$ file /media/mmcblk0p1/uImage
/media/mmcblk0p1/uImage: u-boot legacy uImage, Linux-2.6.39.2, Linux/ARM, OS Kernel Image (Not compressed), 2818620 bytes, Sun Jun 26 02:20:32 2011, Load Address: 0x00008000, Entry Point: 0x00008000, Header CRC: 0x864105AE, Data CRC: 0xAB703FF1


is the correct fix at this point for me simply to copy the updated kernel from /boot/uImage to /media/mmcblk0p1, umount /media/mmcblk0p1, and reboot?
fovea1959
 
Posts: 20
Joined: Thu Jul 28, 2011 4:24 am

Re: archlinux sheeva, pacman installed Linux 3.1, still get

Postby WarheadsSE » Wed Jun 13, 2012 1:02 pm

Yup.
OXNAS pwner

Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 3533
Joined: Mon Oct 18, 2010 2:12 pm

Re: archlinux sheeva, pacman installed Linux 3.1, still get

Postby fovea1959 » Thu Jun 14, 2012 12:28 am

because of computer induced paranoia, I went out and bought another (bigger faster) SD card, partitioned it, used tar to get the stuff off the old card and create it on the new card, *then* did the change on the new card. Successful all along the way...

thank you, bang on correct answer...

I'm so scared of bricking it...
fovea1959
 
Posts: 20
Joined: Thu Jul 28, 2011 4:24 am

Re: archlinux sheeva, pacman installed Linux 3.1, still get

Postby xenoxaos » Sat Jun 16, 2012 1:46 pm

I don't think that you can really brick the Sheeva. IIRC, you can always reprogram the bootloader with openocd.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 302
Joined: Thu Jan 06, 2011 1:45 am


Return to Sheeva/Guru/Dream/TonidoPlug

Who is online

Users browsing this forum: No registered users and 1 guest