x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

Netbook Pro I've found a working linux distro!

« Prev 1 2 3 4 5 6 7 8 9 10 11 ... Next »
oldman Page Icon Posted 2007-10-27 11:14 AM
#
Avatar image of oldman
H/PC Newbie

Posts:
22
Status:
I build a minimalistic kernel 2.6.17-nbp0 using the patches on http://linuxtogo.org/~koen/index.php . Minimalistic means without any support for modules, usb, network, initrd and so on. The sources looked to me like if the touch screen could be used as the console, instead of serial. I configured a while with the physical addresses, so that the kernel is build for the start address A0408000 (can be checked in system.map), because the RAM seems to start at A0000000 and the image is loaded at offset 00408000 by header paremeter. I managed to pack the kernel into a nBkProOs.img manually without any special tools (using cksum, zpipe, dd and a hex editor - hard work). The result: image loads, but then the machine stops - black screen.

@Eddie: Did you try different jffs2 images? Here are some links:
http://www.angstrom-distribution.org/unstable/images/netbook-pro/20...
http://linuxtogo.org/~florian/index.php?path=netbook/

But maybe it's better to wait for answers from Jon.
 Top of the page
cmonex Page Icon Posted 2007-10-27 11:57 AM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
Quote
oldman - 2007-10-27 5:14 PM

I build a minimalistic kernel 2.6.17-nbp0 using the patches on http://linuxtogo.org/~koen/index.php . Minimalistic means without any support for modules, usb, network, initrd and so on. The sources looked to me like if the touch screen could be used as the console, instead of serial. I configured a while with the physical addresses, so that the kernel is build for the start address A0408000 (can be checked in system.map), because the RAM seems to start at A0000000 and the image is loaded at offset 00408000 by header paremeter. I managed to pack the kernel into a nBkProOs.img manually without any special tools (using cksum, zpipe, dd and a hex editor - hard work). The result: image loads, but then the machine stops - black screen.



what is this cksum?


chiark: we would sure appreciate that utility.

Edited by cmonex 2007-10-27 11:57 AM
 Top of the page
oldman Page Icon Posted 2007-10-27 3:32 PM
#
Avatar image of oldman
H/PC Newbie

Posts:
22
Status:
Quote
what is this cksum?

It was installed by default in my SuSE Linux through the coreutils package.
The source is here: http://www.gnu.org/software/coreutils/
 Top of the page
cmonex Page Icon Posted 2007-10-27 3:54 PM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
thanks for the info
 Top of the page
salmonito Page Icon Posted 2007-10-28 9:14 AM
#
Avatar image of salmonito
Factor Fanatic

Posts:
61
Location:
Vermont
Status:
I ended up in the place where computers don't have a COM port, i have an Ethernet card (PCMCIA) on my NB PRO, you think it will work connected to Windows Hyperterminal, to see the output? I was trying but without any results...
Eddie any more progress?
 Top of the page
cmonex Page Icon Posted 2007-10-28 6:06 PM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
no, if it is sending the text over serial then it is sending over serial (probably direct hard coded addresses), ethernet wont work
 Top of the page
Eddie
Eddie Page Icon Posted 2007-10-28 10:18 PM
#
Status:
I tried all the other JFFS2 files suggested by oldman. All had the same result. I looked over the output again, and it finally hit me: it appears that the image that got loaded into NAND is also trying to load the JFFS2 info from NAND rather than the CF. Here's the specific line from the output:

JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. 


Or am I interpreting that wrong? Anyway... I'm guessing that I'm going to need to clear the NAND and start over again. Don't think I'm going to get anywhere from this point.

Anyone else have any luck?

@salmonito: you can get a serial/usb adapter that should do the trick. Here's one: http://www.usbgear.com/computer_cable_details.cfm?sku=U232-P9AP&cat...

but you can probably find them a bit cheaper elsewhere.
 Top of the page
chiark Page Icon Posted 2007-10-29 7:11 AM
#
Avatar image of chiark
H/PC Sensei

Posts:
1,330
Location:
North of England
Status:
Quote
chiark: we would sure appreciate that utility.


and so would I, my dear Cmonex, so would I...

As soon as I have it, so shall the board.
 Top of the page
salmonito Page Icon Posted 2007-10-29 7:48 AM
#
Avatar image of salmonito
Factor Fanatic

Posts:
61
Location:
Vermont
Status:
SUCCESS!!!!!!!!!!!
I took three unmodified files from http://www.linuxtogo.org/~anonymous/ . They were script *sh, and both image files *.img , then I took 14.7 Mb gpe-image-3.5.4.1-netbook-pro.rootfs.jffs2 file from http://linuxtogo.org/~florian/index.php. Put them all on Fat16 single partition CF. Booted NB to superuser mode(regular Ctrl + D + turn on will probably do too) inserted card and boom, after 10 seconds of black screen i had warning message (on my NB Screen) that this is wrong kernel and and it wants another, then it went to sleep and after a minute I had GPE running. I am having some issues installing driver for my Cisco Aironet 350 when I do I will post screenshots. I am planning to try other jffs2 later, one 20 Mb from Florian's website and another from Angstrom unstable. Sorry for typos I'm in a hurry. Wow, it is pretty fast and looks great. If only i will be able to put software on it Cheers
 Top of the page
chiark Page Icon Posted 2007-10-29 8:53 AM
#
Avatar image of chiark
H/PC Sensei

Posts:
1,330
Location:
North of England
Status:


Congratulations

cmonex, regarding the checksum it's a simple thing, apparently - just use the cksum command from linux, convert to hex and paste into the file...
 Top of the page
cmonex Page Icon Posted 2007-10-29 11:12 AM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
chiark: i don't want to run linux now just to do this command, oh well

what algo does the cksum command do?

ohh, congratulations!!!

Edited by cmonex 2007-10-29 11:12 AM
 Top of the page
Eddie
Eddie Page Icon Posted 2007-10-29 12:11 PM
#
Status:
Woo-hoo! Great news! Now I just have to make it through work today so I can try this at home myself.

Will post results (or lack thereof) tonight.
 Top of the page
Eddie
Eddie Page Icon Posted 2007-10-29 12:13 PM
#
Status:
@salmonito:

Quick question... did you have to enter the "super" BooSt mode and clear/reset the NAND before doing this?
 Top of the page
salmonito Page Icon Posted 2007-10-29 12:30 PM
#
Avatar image of salmonito
Factor Fanatic

Posts:
61
Location:
Vermont
Status:
Quote
Eddie - 2007-10-29 12:13 PM

@salmonito:

Quick question... did you have to enter the "super" BooSt mode and clear/reset the NAND before doing this?

I did it a day ago while a was playing without serial connection, problem is i am not sure. In superuser mode there is such command as to Erase NAND, I'm sure it will not hurt it, I did erase command without any parameters... This successful result came to me by surprise, I did not document properly what I did. Eddie, once you see a WARNING in a square of red asterisks you are in a good shape.
 Top of the page
salmonito Page Icon Posted 2007-10-29 12:32 PM
#
Avatar image of salmonito
Factor Fanatic

Posts:
61
Location:
Vermont
Status:
LInux looks and feels greart, but will it give me the same functionality as WinCE we will find out. Where is the book on cross compiling?
 Top of the page
« Prev 1 2 3 4 5 6 7 8 9 10 11 ... Next »
Jump to forum:
Seconds to generate: 0.203 - Cached queries : 67 - Executed queries : 11