Post on 03-Apr-2015
Build Meego OS on Samsung Build Meego OS on Samsung netbook with NFS supportnetbook with NFS support
Ngo Doan LapNgo Doan Lap
lapngodoan@gmail.com
lapngodoan@yahoo.com
Mobile 084977833757Mobile 084977833757
2011.01.192011.01.19
Agenda
1. What you need1. What you need
2. Overall process2. Overall process
3. Detail process3. Detail process
3.1 Install Meego on Netbook3.1 Install Meego on Netbook
3.2 Replace kernel3.2 Replace kernel
4. Some tips4. Some tips
What you need
4), 5), 7) from PSIL/PHNL
1. Flash disk USB to install Meego1. Flash disk USB to install Meego
2. Meego OS image for netbook2. Meego OS image for netbook
3. Kernel Configurations, 3. Kernel Configurations,
Patches and related scripts Patches and related scripts
for Meego OS Basefor Meego OS Base
4. Linux kernel source code4. Linux kernel source code
5. Souce code/tools for NFS client5. Souce code/tools for NFS client
For Item 3 and 5. We will get laterFor Item 3 and 5. We will get later
Overall process [1]Let take look the overview processLet take look the overview process
Install Meego on Install Meego on Samsung Samsung netbooknetbook
Replace new Replace new kernel kernel
Install from OS image 1.1 (item2) . This version didn’t support NFS
Replace new kernel that support NFS
Install meego on netbook [1]1.Download Image and tools 1.Download Image and tools
Install meego on netbook [2]2.Write Meego image to USB2.Write Meego image to USB
12
3
Select meego os image Select meego os image you had downloadedyou had downloaded Select your USBSelect your USB
Click Write Click Write Wait until completedWait until completed
Insert the USB drive into your netbook or laptop (Atom only) and boot from the USB drive
Install meego on netbook [3]3. Install3. Install
Plug USB to your netbook and start install.Plug USB to your netbook and start install.
You will see You will see Welcome to MeeGo as bellowWelcome to MeeGo as bellow
1. Selelct Installation Only1. Selelct Installation Only
2. Process some steps 2. Process some steps
Install meego on netbook [4]After completed all step., you should see a MeeGo MyZone screen. You can now run MeeGo on your netbook
Replace kernel [1]Replace kernel [1]
Linux kernel Linux kernel Source codeSource code
Patches / Patches / configure /scripts configure /scripts
for Meegofor Meego
New KernelNew Kernel
1
2
3
Download Patches for Meego from Meego.comDownload Patches for Meego from Meego.com
Download linux kernel source codeDownload linux kernel source codeFrom kernel.orgFrom kernel.org
Build new kernelBuild new kernel
4
Replace kernelReplace kernel
Replace new kernelReplace new kernel
Replace kernel [2]Replace kernel [2]
1 Download Patches for Meego from Meego.comDownload Patches for Meego from Meego.com
git clone git://gitorious.org/meego-os-base/kernel-source.git
2 Download linux kernel source code from kernel.orgDownload linux kernel source code from kernel.org
Replace kernel [3]Replace kernel [3]
3 Build new kernelBuild new kernel
1. After done 2 steps above. You got 2 items1. After done 2 steps above. You got 2 itemsKernel-source directory : contains pactchs…Kernel-source directory : contains pactchs…Linux kernel source code: linux-2.6.35.3+.tar.bz2 (in my case)Linux kernel source code: linux-2.6.35.3+.tar.bz2 (in my case)
2. Move linux-2.6.35.3+.tar.bz2 to kernel-source directory2. Move linux-2.6.35.3+.tar.bz2 to kernel-source directory
3. Patches source code (run in root account)3. Patches source code (run in root account)./scripts/install-git-hooks ./scripts/install-git-hooks tar jxvf ./linux-2.6.35.3+.tar.bz2 –C /tmp/linux--2.6.35.3+.orig/tar jxvf ./linux-2.6.35.3+.tar.bz2 –C /tmp/linux--2.6.35.3+.orig/./scripts/sequence-patch.sh --quilt./scripts/sequence-patch.sh --quiltmake -f Makefile.config make -f Makefile.config cp /kernel-netbook.config /tmp/linux--2.6.35.3+-master/.configcp /kernel-netbook.config /tmp/linux--2.6.35.3+-master/.configmake ARCH=x86 oldconfig make ARCH=x86 oldconfig
Replace kernel [4]Replace kernel [4]
4. Modify configure to enable NFS4. Modify configure to enable NFSmake menuconfigmake menuconfig
3 Build new kernelBuild new kernel
Goto inside and enable for Intel/Boardcom/Atheros
Replace kernel [4]Replace kernel [4]
3 Build new kernelBuild new kernel
make ARCH=x86make ARCH=x86Wait to complete.Wait to complete.After done, copy kernel image to usb with name is vmlinuz-2.6.35+After done, copy kernel image to usb with name is vmlinuz-2.6.35+(Get from arch/i386/boot/bzImage)(Get from arch/i386/boot/bzImage)Create libCreate libmake modules_installmake modules_installcopy lib from /lib/module/2.6.35.3+ to USBcopy lib from /lib/module/2.6.35.3+ to USB
Now you have1.New kerne2.New library
4 Replace new kernelReplace new kernel
Replace kernel [5]Replace kernel [5]
1. Plug USB to netbook1. Plug USB to netbook
2. Copy new image (vmlinuz-2.6.35+) to /boot2. Copy new image (vmlinuz-2.6.35+) to /boot
3. Copy new lib (2.6.35+) to /lib/module/3. Copy new lib (2.6.35+) to /lib/module/
4. Edit file /boot/extlinux/extlinux.conf4. Edit file /boot/extlinux/extlinux.conf
RootFs in host machineRootFs in host machine