Re: Ubuntu 12.04 on N900 with U-Boot
Quote:
Seems to be beyond my confidence levels, haven't plucked up the courage to put U-Boot on yet.:confused: |
Re: Ubuntu 12.04 on N900 with U-Boot
@freemangordon: I can only mount the root partition on my uSD with your 2.6.37+ kernel. Would you please comment on the patches you have applied over nemo's kernel that lead to 2.6.37+?
|
Re: Ubuntu 12.04 on N900 with U-Boot
Interessting set of scripts. https://github.com/trapd00r/n900 (but seem to be for maemo)
EDIT & PROPOSAL: Found this: https://github.com/robertcnelson/netinstall I must say, that looks good. I propose we use this and add the n900 to this script. This would make it simply more comfortable to install Ubuntu. This would also add Debian as a choice. I'd do it myself but scripting is not exactly my strong point. |
Re: Ubuntu 12.04 on N900 with U-Boot
sorry to continue the window manager discussion but I believe this is a bit more relevant. Until 11.04 and maybe 11.10 hildon-desktop (the diablo one) was part of the official ubuntu repos. There is also a launchpad repository with cordia for ubuntu.
|
Re: Ubuntu 12.04 on N900 with U-Boot
this is a somewhat unrelated but nice to see what else is going on (notice the chroot): http://jeffhoogland.blogspot.com.br/...ry-online.html
|
Re: Ubuntu 12.04 on N900 with U-Boot
cloned some repos for backup. http://code.google.com/p/n900/source/browse/
|
Re: Ubuntu 12.04 on N900 with U-Boot
There's a small typo in the install.sh script which turns two arguments into one:
=== modified file 'install.sh' *** install.sh 2012-06-28 02:57:10 +0000 --- install.sh 2012-07-15 20:39:48 +0000 *************** *** 306,312 **** [[ -f "$image_name_raw" ]] || ( [[ -f $image_name ]] && zcat $image_name > "$image_name_raw" ) || (wget "$url" && zcat "$image_name" > "$image_name_raw" ) || exit 1 mkdir -p "$mountpoint_ubuntu" skip="$(parted -m $image_name_raw unit B print | grep '^2' | cut -d: -f2 | sed 's/B//')" ! mount -o "loop,offset=${skip}" -t auto "$image_name_raw $mountpoint_ubuntu" || exit 1 rm "${mountpoint_ubuntu}SWAP.swap" cp -av "$mountpoint_ubuntu"* "$mountpoint_target" umount "$mountpoint_ubuntu" --- 306,312 ---- [[ -f "$image_name_raw" ]] || ( [[ -f $image_name ]] && zcat $image_name > "$image_name_raw" ) || (wget "$url" && zcat "$image_name" > "$image_name_raw" ) || exit 1 mkdir -p "$mountpoint_ubuntu" skip="$(parted -m $image_name_raw unit B print | grep '^2' | cut -d: -f2 | sed 's/B//')" ! mount -o "loop,offset=${skip}" -t auto $image_name_raw $mountpoint_ubuntu || exit 1 rm "${mountpoint_ubuntu}SWAP.swap" cp -av "$mountpoint_ubuntu"* "$mountpoint_target" umount "$mountpoint_ubuntu" |
Re: Ubuntu 12.04 on N900 with U-Boot
Has anyone tried the install script of late?
I'm currently going with the basic debian installation and the nemo kernel but, alas, it doesn't seem to work since there is no initrd.img in the kernel-adaptation-n900-2.6.37 rpm. Does anyone have a work-around? (I saw earlier in the thread that you don't actually need the ramdisk to boot but it wasn't clear from the post what changes to make in order to do that.) |
Re: Ubuntu 12.04 on N900 with U-Boot
Quote:
|
Re: Ubuntu 12.04 on N900 with U-Boot
I guess I am mainly trying to figure out which options work for people. I tried choosing:
# grep . options/selected_* | cut -c-80 options/selected_firmware_source:meego options/selected_image_source:ubuntu-core options/selected_kernel:nemo options/selected_target:/dev/sdc options/selected_target_type:disk but that just yields a boot directory looking like: total 5084 -rw-r--r-- 1 root root 300 Jul 18 20:49 boot.script -rw-r--r-- 1 root root 62453 Jun 26 14:33 config-2.6.37-10.7.Nemo.Adaptation.N900-adaptation-n900 -rw-r--r-- 1 root root 1170840 Jun 26 14:33 System.map-2.6.37-10.7.Nemo.Adaptation.N900-adaptation-n900 -rw-r--r-- 1 root root 1972136 Jun 26 14:33 uImage -rwxr-xr-x 1 root root 1972072 Jun 26 14:33 vmlinuz-2.6.37-10.7.Nemo.Adaptation.N900-adaptation-n900 i.e. no ramdisk. If folks have options which seem to work out-of-the box then that would be great. Else I'll work through the permutations :) [EDIT] I ended up creating a ramdisk with: update-initramfs -c -k 2.6.37-10.7.Nemo.Adaptation.N900-adaptation-n900 ln -s initrd.img-2.6.37-10.7.Nemo.Adaptation.N900-adaptation-n900 initrd.img mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d /initrd.img /uInitrd |
All times are GMT. The time now is 11:42. |
vBulletin® Version 3.8.8