Linux Development :  Bluewater Systems Support Forum
Covers issues with Linux development, such as tool chains, packages, kernel issues etc... 
update root file system and kernel
Posted by: henry ()
Date: October 11, 2009 09:17AM

I've typed the following to check which mtd partition is allocated for the root filesystem, would you please indicate the right one out of the three

root@snapper:~$ cat /proc/mtd
dev: size erasesize name
mtd0: 00200000 00020000 "Internal_Kernel"
mtd1: 3fe00000 00020000 "Internal_Data"
mtd2: 40000000 00020000 "Internal_Whole"
root@snapper:~$

I am going to use the following commands to replace the old root filesystem with the new one, please suggest if the steps are correct

mtdtool --eraseall /dev/mtdX
mount -t yaffs /dev/mtdblockX /mnt
cp -a /path/to/root/filesystem /mnt
umount /mnt

Due to the unsuccessful NFS server setting, I am going to use a USB stick to exchange the data. In terms of the "/path/to/root/filesystem", I wanna direct it to the usb stick (say I mount the usb to /mnt/usb) which has the downloaded root filesystem "root.tar.gz". My question is should I use the root.tar.gz file, or un-tar it and then use it?

Furthermore, would you please give some detailed instruction on how to update a linux kernel on Snapper CL15 using the usb stick as the method of transferring data. I've read the FAQs but they are only for 9260.

Thanks

Options: ReplyQuote


Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
This is a moderated forum. Your message will remain hidden until it has been approved by a moderator or administrator
This forum powered by Phorum.

Applications

rs1

rs_2

rs_3

rs_4