[GFN] Do i need to re-gen uInitrd after next kernel update ?

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[GFN] Do i need to re-gen uInitrd after next kernel update ?

Postby tomcheng76 » Fri Jan 17, 2014 9:14 am

$this->bbcode_second_pass_code('', '[root@alarm ~]# uname -a
Linux alarm 3.12.8-1-ARCH #1 PREEMPT Wed Jan 15 18:07:31 MST 2014 armv5tel GNU/Linux')

Good news is that finally my GFN updates from 3.1.10-29 to 3.12.8-1-ARCH and boots normally

This is my update procedure, i hope it helps other goflexnet users

$this->bbcode_second_pass_code('', 'pacman -S linux-kirkwood linux-kirkwood-headers
mkinitcpio -k 3.12.8-1-ARCH -g /boot/3.12.8-1-ARCH.img
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x0 -e 0x0 -n uInitrd-3.12.8-1-ARCH -d 3.12.8-1-ARCH.img /boot/uInitrd

//fstab
LABEL=rootfs / ext3 defaults,noatime,rw 0 1
')

Do i need to re-gen uInitrd after next kernel update ?
Is there a better kernel upgrade approach ?
Do i need to add some MODULES in mkinitcpio.conf for better pre-loading ?

Thanks for reading :)
tomcheng76
 
Posts: 130
Joined: Mon Dec 13, 2010 11:24 am

Re: [GFN] Do i need to re-gen uInitrd after next kernel upda

Postby moonman » Fri Jan 17, 2014 7:27 pm

With alarm you don't. All necessary modules are built in into the kernnel. Though it may be a good idea to refresh it once in a while to get thigs like fsck up to date. I still use over a year old initrd.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [GFN] Do i need to re-gen uInitrd after next kernel upda

Postby tomcheng76 » Mon Jan 20, 2014 1:33 am

Thanks moonman :)
tomcheng76
 
Posts: 130
Joined: Mon Dec 13, 2010 11:24 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 5 guests