Reply
Thread Tools
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#21
So, i now successfully made a combined.bin file.
Now how do i perform the spell of endless possibilities in booting?
Im only familiar with booting kernels, not binaries...
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#22
Originally Posted by Nokia 5700 View Post
So, i now successfully made a combined.bin file.
Now how do i perform the spell of endless possibilities in booting?
As a first test try booting it without flashing (flasher -k combined.bin -l -b). If it works you can make it more permanent later.
 
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#23
i think it worked. When it rebooted, the phone had a commandline with tux on top left and it said loading kernel image or similar.
So, all i need to do now is find a suitable OS to try boot?
I have been thinking about it.
And this is my conclusion:
To use the OmniaHD version of Symbian would be the closest, hardware-wise. It has same hardware, and all OSs based on Symbian support a regular keyboard and arrows. The only thing i see missing is something to act as a menu-key.
But thats just a thought...
Important is: it works like a charm, at least the first part.
 
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#24
Well, we have some kind of liftoff on u-boot N8x0 (from serial console) - this is all thanks to ali1234, I'm just testing:

Receiving kernel (length 128256)
Image successfully received
SETUP: WR VND DEVICE req 82 value 0000 index 0000 length 0000
SETUP: WR STD INTERFACE SET_INTERFACE value 0000 index 0002 length 0000
Boot requested


U-Boot 2010.06-00700-ge564557-dirty (Sep 17 2010 - 14:27:44)

I2C: ready
OMAP2420-GP revision 5
TI H4 SDP Base Board + Menelaus Daughter Board + mDDR
DRAM: 128 MiB
## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB
## Unknown FLASH on Bank 2 - Size = 0x00000000 = 0 MB
Flash: 0 Bytes
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: LAN91C95-0
OMAP242x H4 #
__________________
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.
 

The Following 8 Users Say Thank You to Stskeeps For This Useful Post:
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#25
More magic on N800 from ali1234:

__________________
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.
 

The Following 7 Users Say Thank You to Stskeeps For This Useful Post:
Posts: 237 | Thanked: 274 times | Joined on Jul 2010
#26
couple of days ago , i had a problem with u-boot , basically after flashing the combined image , maemo won't boot , the phone turns off after u-boot attempts to load the kernel , if no mmc was in.
later i discovered that this problem was with the combined image that i flashed , i don't know what is wrong exactly , i used the power kernel image v40 for the combined image
http://maemo.org/packages/package_in....6.28-maemo40/
extracted the zImage from the .deb and ran builder script .
the resulting image is 2 MB so it should be fine , and it gets flashed fine also..
well since the phone was useless , i had to reflash the kernel to the combined image using pr1.2 kernel .
it was hard to get the phone to flash , pressing u , while the usb cable is plugged in on reboot , did nothing , the phone still loaded u-boot .
after several tries , i got it to work , by removing the battery , plug in the usb cable while the battery is removed ,(yellow led flashes once) , press and hold u on the keyboard , put the battery back in .
the phone went into flashing mode , i flashed the new combined image and everything went fine.
i hope this helps somebody .
if someone got u-boot working using the power kernel image , please share how .
 

The Following User Says Thank You to ivyking For This Useful Post:
Posts: 15 | Thanked: 48 times | Joined on Nov 2009 @ United Kingdom
#27
I have had other reports that power kernel does not work. I suspect this happens because the old old kernel used on N900 does not fully initialize the hardware itself. It relies on NOLO to do most of it. Anything that u-boot touches has the potential to be in a "wrong" state when the kernel boots. This can cause all kinds of problems. For example, it is the reason why usbtty is disabled. There are two ways to fix this, the right way, and the work-around which is necessary when dealing with vendor kernels:

The right way is to fix the kernel so it will reset hardware from an unknown state without crashing. The new new kernel used in MeeGo does this, and I have not had any problems with it.

If you can't fix the kernel, then the workaround is to make sure u-boot puts all the hardware back exactly as it found it. This can be tricky if you are trying to boot from MMC...
 

The Following 4 Users Say Thank You to ali1234 For This Useful Post:
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#28
Originally Posted by ivyking View Post
if someone got u-boot working using the power kernel image , please share how .
I just did, and it works without any issues. I created the image manually, not using the builder script. Did you try that:

padding u-boot to 262144 bytes.

Converting zImage to uImage

Concatenating both files together.

Perhaps you forgot to convert zImage to uImage? The builder.py script does not do this.
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.
 
Posts: 256 | Thanked: 92 times | Joined on Oct 2010
#29
hi ali,

is there a way to give the watchdog from uboot a signal every once in a while(eg with every keystroke) so that it won't reset when not in r&d?
 
Posts: 107 | Thanked: 74 times | Joined on Jan 2010
#30
How to pass custom parameters to the the kernel located on the SD card?
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:05.