Posts: 2,175 | Thanked: 8,269 times | Joined on Mar 2010 @ Sofia,Bulgaria
#181
Originally Posted by pali View Post
and what is this installer doing? sorry but why to create something which create system image? this sounds like windows installation process
It is installing some additional packages , Nemo kernel and stuff like that. I don't think Ubuntu(stock image) has been tested on n900 anytime soon, that is why it does not boot at all if image is just dd'ed to sd card.

Originally Posted by pali View Post
I unpacked files from this image
http://repository.maemo.org/meego/Ne...cblk0p.raw.bz2
to one SD card partition and created bootmenu item file
It is not enought?
just boot it with run sdboot

EDIT:
copying files to a partition won't work, you have to use image and dd it to sdcard
 

The Following 6 Users Say Thank You to freemangordon For This Useful Post:
Posts: 1,590 | Thanked: 6,084 times | Joined on May 2010
#182
Originally Posted by freemangordon View Post
It is installing some additional packages , Nemo kernel and stuff like that. I don't think Ubuntu(stock image) has been tested on n900 anytime soon, that is why it does not boot at all if image is just dd'ed to sd card.
ah, ok. but I think that somebody could publish working image. it is really not good idea to have installer for arm devices...

Originally Posted by freemangordon View Post
just boot it with run sdboot

EDIT:
copying files to a partition won't work, you have to use image and dd it to sdcard
what dd my sd card? no!
Needs nemo image fixed partition? Then it is bad too! I want to have reparitioned my SD card as I want. And I want to have more OS.
So I cannot test nemo image...
 

The Following 8 Users Say Thank You to pali For This Useful Post:
Posts: 237 | Thanked: 270 times | Joined on Jul 2010
#183
I was able to boot ubuntu 12.04 using unknown's kernel and the new u-boot, no errors upon start up, hopefully it stays that way.

attached is item file I used..

some notes:

ITEM_DEVICE="${EXT_CARD}p1"
ITEM_FSTYPE="vfat"

refer to where the uImage is stored rather than where the root device is.

ITEM_KERNEL="uImage"

refer to the uImage name on the first partition of the sdcard, no need to copy the uImage to /boot for regenerating the boot menu.

ITEM_USEATAG=1 is used instead of ITEM_REUSEATAG=1, the system won't boot using the later.(this happens even when booting maemo with kp if ITEM_REUSEATAG=1 is used in KP item file)

remove the .txt extension from the file, copy it to /etc/bootmenu.d/

then run u-boot-update-bootmenu
Attached Files
File Type: txt 30-ubuntu-2.6.37.item.txt (259 Bytes, 51 views)
 

The Following 9 Users Say Thank You to ivyking For This Useful Post:
Posts: 71 | Thanked: 154 times | Joined on Oct 2011 @ Hungary
#184
 

The Following 5 Users Say Thank You to PanzerSajt For This Useful Post:
Posts: 59 | Thanked: 33 times | Joined on Jul 2010
#185
Originally Posted by ivyking View Post
I was able to boot ubuntu 12.04 using unknown's kernel and the new u-boot, no errors upon start up, hopefully it stays that way.

attached is item file I used..

some notes:

ITEM_DEVICE="${EXT_CARD}p1"
ITEM_FSTYPE="vfat"

refer to where the uImage is stored rather than where the root device is.

ITEM_KERNEL="uImage"

refer to the uImage name on the first partition of the sdcard, no need to copy the uImage to /boot for regenerating the boot menu.

ITEM_USEATAG=1 is used instead of ITEM_REUSEATAG=1, the system won't boot using the later.(this happens even when booting maemo with kp if ITEM_REUSEATAG=1 is used in KP item file)

remove the .txt extension from the file, copy it to /etc/bootmenu.d/

then run u-boot-update-bootmenu
Thanks for reporting.
I'm about to give it a try here. (repartitioning the emmc atm)

So all thats left is for unknown obvious to recompile the kernel for armhf and we're set?
 
preflex's Avatar
Posts: 75 | Thanked: 70 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#186
Originally Posted by ivyking View Post
I was able to boot ubuntu 12.04 using unknown's kernel and the new u-boot, no errors upon start up, hopefully it stays that way.

attached is item file I used..

some notes:

ITEM_DEVICE="${EXT_CARD}p1"
ITEM_FSTYPE="vfat"

refer to where the uImage is stored rather than where the root device is.

ITEM_KERNEL="uImage"

refer to the uImage name on the first partition of the sdcard, no need to copy the uImage to /boot for regenerating the boot menu.

ITEM_USEATAG=1 is used instead of ITEM_REUSEATAG=1, the system won't boot using the later.(this happens even when booting maemo with kp if ITEM_REUSEATAG=1 is used in KP item file)

remove the .txt extension from the file, copy it to /etc/bootmenu.d/

then run u-boot-update-bootmenu
This worked great for me with kubuntu 11.10. Then I tried to install the powervr drivers but dkms failed and broke stuff.

it seems there are some files missing in /usr/src/linux-headers-2.6.37-n900/arch/arm/include/asm/mach/ I believe dkms was complaining about memory.h.

According to what I read here: http://www.powerdeveloper.org/forums...ic.php?p=14532 it should be fixable by copying in the files from the unknown.obvious's source package in /usr/src/linux-source-2.6.37-n900/arch/arm/plat-mxc/include/mach/ to /usr/src/linux-headers-2.6.37-n900/mach/

I'll let you guys know how that worked. It would be pretty groovy to get kwin with GLES working. Unfortunately, according to https://wiki.ubuntu.com/ARM/OMAP/Graphics , Ti doesn't compile the sgx drivers for armhf, so 12.04 may be a no-go in that department.

EDIT: Nope. still getting /usr/src/linux-headers-2.6.37-n900/arch/arm/include/asm/memory.h:18:25: fatal error: mach/memory.h: No such file or directory

also tried copying files to /usr/src/linux-headers-2.6.37-n900/mach and /usr/src/linux-headers-2.6.37-n900/arch/arm/mach


i think i need this stuff:
usr/src/linux-source-2.6.37-n900/arch/arm/mach-omap2/include/mach/ the board-rx51.h looks promising.

Last edited by preflex; 05-07-2012 at 10:13 PM. Reason: clarification
 

The Following 6 Users Say Thank You to preflex For This Useful Post:
preflex's Avatar
Posts: 75 | Thanked: 70 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#187
Ok, I added /usr/src/linux-source-2.6.37-n900/arch/arm/plat-omap/include/plat/ to headers in /usr/src/linux-headers-2.6.37-n900/plat/

Dkms still isn't making it, but getting closer.

Unfortunately, here i'm a bit stuck.

Code:
# cat build.log 
DKMS make.log for powervr-omap3-4.00.00.01 for kernel 2.6.37-n900 (armel)
Tue May  8 04:32:29 UTC 2012
make -C /lib/modules/2.6.37-n900/build M=`pwd` 
make[1]: Entering directory `/usr/src/linux-headers-2.6.37-n900'
  LD      /var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/built-in.o
  CC [M]  /var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.o
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c:133:5: warning: initialization from incompatible pointer type [enabled by default]
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c:133:5: warning: (near initialization for ‘bc_cat_fops.unlocked_ioctl’) [enabled by default]
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c: In function ‘OpenBCDevice1’:
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c:150:36: warning: array subscript is above array bounds [-Warray-bounds]
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c: In function ‘OpenBCDevice2’:
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c:150:36: warning: array subscript is above array bounds [-Warray-bounds]
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c: In function ‘OpenBCDevice3’:
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c:150:36: warning: array subscript is above array bounds [-Warray-bounds]
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c: In function ‘OpenBCDevice4’:
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c:150:36: warning: array subscript is above array bounds [-Warray-bounds]
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c: In function ‘OpenBCDevice5’:
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c:150:36: warning: array subscript is above array bounds [-Warray-bounds]
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c: In function ‘OpenBCDevice6’:
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c:150:36: warning: array subscript is above array bounds [-Warray-bounds]
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c: In function ‘OpenBCDevice7’:
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c:150:36: warning: array subscript is above array bounds [-Warray-bounds]
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c: In function ‘OpenBCDevice8’:
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c:150:36: warning: array subscript is above array bounds [-Warray-bounds]
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c: In function ‘OpenBCDevice9’:
/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.c:150:36: warning: array subscript is above array bounds [-Warray-bounds]
scripts/basic/fixdep: 1: Syntax error: "(" unexpected
make[3]: *** [/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti/bc_cat.o] Error 2
make[2]: *** [/var/lib/dkms/powervr-omap3/4.00.00.01/build/services4/3rdparty/bufferclass_ti] Error 2
make[1]: *** [_module_/var/lib/dkms/powervr-omap3/4.00.00.01/build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.37-n900'
make: *** [all] Error 2
 

The Following 3 Users Say Thank You to preflex For This Useful Post:
preflex's Avatar
Posts: 75 | Thanked: 70 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#188
Doesn't look good.

I managed to get some of those errors straightened out, but I'm stuck here:

error: implicit declaration of function ‘console_lock’ [-Werror=implicit-function-declaration]

As I understand what I read here: http://irclogs.ubuntu.com/2011/06/01...untu-devel.txt , it's not going to fly on 2.6.37, as console_lock isn't in the kernel until 2.6.38.

Bummer.
Perhaps an older version?
 

The Following User Says Thank You to preflex For This Useful Post:
qwazix's Avatar
Posts: 2,261 | Thanked: 4,048 times | Joined on Jan 2010
#189
Maybe ubuntu could be the solution to flashing usb-less N900's. I haven't tried it but maybe it would work if we copied the maemo binary flasher from rootfs and used it booting from ubuntu. Fortunately my usb's are still in place but I thought maybe putting this idea on record here might help a poor fellow who's usb is out.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 –– contactlaunch –– timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following 2 Users Say Thank You to qwazix For This Useful Post:
Posts: 53 | Thanked: 195 times | Joined on Apr 2012
#190
Originally Posted by preflex View Post
Doesn't look good.

I managed to get some of those errors straightened out, but I'm stuck here:

error: implicit declaration of function ‘console_lock’ [-Werror=implicit-function-declaration]

As I understand what I read here: http://irclogs.ubuntu.com/2011/06/01...untu-devel.txt , it's not going to fly on 2.6.37, as console_lock isn't in the kernel until 2.6.38.

Bummer.
Perhaps an older version?
The thing is, TI doesn't provide hard float libs of powervr. I read, that n900 is the only device supporting hart float because of meego. Maybe this http://build.meego.com/package/files...-oss%3ATesting or this https://build.pub.meego.com/project/...%3AN9xx-common ? I do not have any expirience there, so I can't help. Maybe this won't work if Xorg in Ubuntu is different than Meego or the thumb compiled userspace that meego doesn't have but it would be interessting to see if you can get somwhere.

Last edited by unknown.obvious; 05-08-2012 at 05:46 AM.
 

The Following 3 Users Say Thank You to unknown.obvious For This Useful Post:
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 
Forum Jump


All times are GMT -4. The time now is 01:12 PM.