maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   SDHC Support for 3.2007.10-7 has arrived (https://talk.maemo.org/showthread.php?t=5559)

d800 2007-03-30 18:57

SDHC Support for 3.2007.10-7 has arrived
 
http://www.gossamer-threads.com/list...velopers/20400

Thanks Kalle !

d800

YoDude 2007-03-30 19:04

Re: SDHC Support for 3.2007.10-7 has arrived
 
Thanks for the heads up d800 http://www.clicksmilies.com/auswahl/ernaehrung004.gif

BTW, was there ever any reason given for why it was not available in the 3.2007.10-7 upgrade to begin with?

Are there any known issues?

timsamoff 2007-03-30 19:14

Re: SDHC Support for 3.2007.10-7 has arrived
 
Ummm...

http://www.internettablettalk.com/fo...ead.php?t=5558

I still haven't been able to get it to install. Of course, I just read the install notes and... Wow. I don't know if I'm ready for that! :D

T.

T.

Void_Ptr 2007-03-30 23:11

Re: SDHC Support for 3.2007.10-7 has arrived
 
Woohoo!

Exactly what I was waiting for.

I updated to the latest firmware and then flashed this new kernel, and voila! My two 8gb Adata SDHC cards work!

Success!

SeRi@lDiE 2007-03-30 23:20

Re: SDHC Support for 3.2007.10-7 has arrived
 
Quote:

Originally Posted by timsamoff (Post 42030)
Ummm...

http://www.internettablettalk.com/fo...ead.php?t=5558

I still haven't been able to get it to install. Of course, I just read the install notes and... Wow. I don't know if I'm ready for that! :D

T.

T.

The way I think you are trying to install it is for scratchbox which is use in the development enviroment...
Thats what the instructions are showing you and how you can do it from apt-get....

If you want to use the latest firmware flash your N800 with the latest bin file.

RX-34_2007SE_3[1].2007.10-7_PR_COMBINED_MR0_ARM.bin

iball 2007-03-30 23:48

Re: SDHC Support for 3.2007.10-7 has arrived
 
SeRi, just where is that [1] bin file? It's not on the official download site. (Yet?)
Or are you talking about just reflashing the ptached kernel?

SeRi@lDiE 2007-03-30 23:51

Re: SDHC Support for 3.2007.10-7 has arrived
 
I reply to your original post I am not going to keep double posting... ;)

johsua 2007-03-31 03:40

Re: SDHC Support for 3.2007.10-7 has arrived
 
You can download the patched kernel from the link in that thread posted above, and patch your existing new OS using fanoush's kernel flasher on the n800. i.e., you don't have to totally reflash, nor do you have to use flasher on a linux box. make sense? it's really straight forward, and the updated sdhc kernel works with my 8gb adata card.

I can give you more instructions if u wish...

download the following to your home dir /home/user/

http://iki.fi/zuh/n800_defconf_shdc_kernel
http://fanoush.wz.cz/maemo/kernel_flasher.tgz

in xterm as root:
tar -zxf kernel_flasher.tgz
./kernel_flasher/kernel_flash sdhc-kernel.bin

type yes if prompted
reboot

see also:
http://www.internettablettalk.com/forums/showthread.php?p=40786

Milhouse 2007-03-31 16:50

Re: SDHC Support for 3.2007.10-7 has arrived
 
Phil Langdale, the kernel developer who created the SDHC and MMC patches for the main Linux kernel has also created a new N800 kernel using the 3.2007.10-7 source.

It's binary different to the kernel created by Kalle - different file size - so I've gone with Phils kernel as his previous kernels worked like a charm in the past. And he is also the originator for the SDHC patches! :)

http://intr.overt.org/blog/?p=50

johsua 2007-03-31 16:56

Re: SDHC Support for 3.2007.10-7 has arrived
 
i am guessing that I would have to reflash the os to use that version.... perhaps i will...

Milhouse 2007-03-31 18:08

Re: SDHC Support for 3.2007.10-7 has arrived
 
Just reflash the kernel to use either version.

Nik1 2007-03-31 18:36

Re: SDHC Support for 3.2007.10-7 has arrived
 
What must I exactly do to install this kernal? (running windows xp)

johsua 2007-03-31 22:06

Re: SDHC Support for 3.2007.10-7 has arrived
 
M-

you were correct. i just reflashed, and that worked.

luketoh 2007-04-01 04:53

Re: SDHC Support for 3.2007.10-7 has arrived
 
Hi All,

So this SDHC version of the kernal can support all SD cards from normal ones to SDHC ones? Or only SDHC ones?


Luke

Milhouse 2007-04-01 07:52

Re: SDHC Support for 3.2007.10-7 has arrived
 
SD and SDHC. The kernel linked in my earlier post also adds low-voltage, wide-bus and high-frequency support for MMC/SD/SDHC - I'm not sure if Kalle used the very latest patches for his kernel.

remjax 2007-04-01 13:23

Re: SDHC Support for 3.2007.10-7 has arrived
 
I've read and re-read the post on flashing to the SDHC kernal but it won't sink in. As a VERY BIG LINUX NEWBIE, can someone give me a quick understanding on the difference between flashing the operating system and this new kernal?

How do you FLASH to the new kernal from Windows XP and just WHAT files are needed.

I know some of you more experenced operators may get tired of explaning what to you is a simple thing, but making changes to a new EXPENSIVE computer is making me nervious.

By the way I did manage to get the new operating system flashed with no problems. This "kernal" thing is what I dont understand.

Thanks in advance and I'll say up front "Sorry for having you repeat it so many times" but my brain can't seem to "Get" it.:confused:

REMJAX

Milhouse 2007-04-01 20:16

Re: SDHC Support for 3.2007.10-7 has arrived
 
Most modern operating systems these days have a kernel - even Windows. Think of it as the core of the OS, and it provides much of the low level functionality (such as device drivers) that is made available to applications and higher-level parts of the operating system.

When "flashing the operating system" using an image (ie. the 100Mb+ download available from Nokia) you are actually flashing the device with several different filesystems and components - initfs, rootfs, kernel, a secondary boot loader etc. The large image you download from Nokia (called a FIASCO image) simply contains all of these components and will update all of them for you automatically. rootfs, by the way, is the filesystem that contains all your applications etc. - flash a new rootfs on to your device and you'll lose all your previously installed applications.

The Linux flasher allows you to flash these components individually by specifying the correct command line arguments. This functionality is NOT available on Windows XP, so if you only have a Windows PC then download and use a Linux LiveCD or obtain a VMWare image.

To flash only the kernel you would download the kernel binary (which isn't very big at 1.3MBMb) and flash it on to the device as follows:
Code:

./flasher-3.0 -k <path to kernel binary> -f -R
-k instructs the flasher app to expect only the kernel as input
-f instructs the flasher app to flash whatever is used as input onto the device
-R instructs the flasher app to reboot the device when flashing is complete

Having reflashed your device with this new kernel, your device will restart exactly as before - all applications intact - but now your device will have high-speed SDHC support.

Hope this helps.

remjax 2007-04-01 21:04

Re: SDHC Support for 3.2007.10-7 has arrived
 
THANKS!

That makes it easier to understand. I didn't realize the NOKIA download consisted of those individual parts. I wondered why the SDHC upgrade was so small in relation to the Nokia upgrade, now I know!

NOW to try the upgrade.

REMJAX

Nanocore 2007-04-02 21:48

Re: SDHC Support for 3.2007.10-7 has arrived
 
Having not done this before either and not finding documentation for how to do this all together, would the steps be:
1) flash the new firmware that was published last week
2) after it comes up, take this new kernel and flash it?

..Implying that this patched kernel doesn't include all the things that came from the release that Nokia published last week. ..sorry for being a newbie.

Keyser.Soze 2007-04-03 04:24

Re: SDHC Support for 3.2007.10-7 has arrived
 
Hi Milhouse,

Thanks for your detailed instructions. I am interested in flashing the kernel of my N800 for SDHC support but I have been booting my system from the SD card. Is there an easy way to update the kernel on the SD card after flashing the kernel on the device? I hope I don't have re-format the ext2 partition and rebuild the whole SD OS image. Thanks in advance!

johsua 2007-04-03 05:34

Re: SDHC Support for 3.2007.10-7 has arrived
 
I have no idea if this is compatible with booting from an SD card, but... I just wrote this in the wiki:

http://www.internettablettalk.com/wi..._to_a_computer

I am guessing it will work with SD booting, but you may want to confirm this with someone else.

Keyser.Soze 2007-04-03 05:56

Re: SDHC Support for 3.2007.10-7 has arrived
 
Quote:

Originally Posted by johsua (Post 42551)
I have no idea if this is compatible with booting from an SD card, but... I just wrote this in the wiki:

http://www.internettablettalk.com/wi..._to_a_computer

I am guessing it will work with SD booting, but you may want to confirm this with someone else.

Thanks for the wiki entry, it surely will help many around here. I have a thought: Since the SD card doesn't need to be "flashed", is it possible to simply replace the kernel files on the SD card to get SDHC support? It would be more risk-free that way compared with flashing the flash memory on the N800.

johsua 2007-04-03 06:04

Re: SDHC Support for 3.2007.10-7 has arrived
 
Not sure... I think that you can apply the patches rather than use the compiled kernel. They are here:

http://intr.overt.org/n800-sdhc-kernel/

Check out the readme.

fanoush 2007-04-03 11:57

Re: SDHC Support for 3.2007.10-7 has arrived
 
Quote:

Originally Posted by Keyser.Soze (Post 42554)
Since the SD card doesn't need to be "flashed", is it possible to simply replace the kernel files on the SD card to get SDHC support?

Kernel is always in internal flash memory. There is no SD card with kernel files to replace. Also if your idea was real this would be chicken and egg problem (i.e having only SDHC card how SDHC support stored on that card would be useful?)

As for the wiki page, it is good, I have added few confusing links to it :-)

Keyser.Soze 2007-04-03 15:42

Re: SDHC Support for 3.2007.10-7 has arrived
 
Quote:

Originally Posted by fanoush (Post 42576)
Kernel is always in internal flash memory. There is no SD card with kernel files to replace. Also if your idea was real this would be chicken and egg problem (i.e having only SDHC card how SDHC support stored on that card would be useful?)

Thanks fanoush! Sorry I forgot this important thing, if the kernel can't read SDHC card, how could it boot from there? :) So flashing the kernel will SDHC support will not affect my current booting from SD setup right? I mean the kernel in the internal flash memory always loads before I choose booting from SD in the bootmenu? Do I understand it correctly this time? Thanks for your help.

TA-t3 2007-04-03 16:08

Re: SDHC Support for 3.2007.10-7 has arrived
 
I just can't help thinking of the origin for the term "boot".. which is to lift yourself by the boots.. it's like a chicken-and-egg thing.. :)

fanoush 2007-04-03 19:23

Re: SDHC Support for 3.2007.10-7 has arrived
 
Quote:

Originally Posted by Keyser.Soze (Post 42608)
I mean the kernel in the internal flash memory always loads before I choose booting from SD in the bootmenu? Do I understand it correctly this time?

Yes, the order is bootloader->linux kernel->initfs (all in flash, mtd0,2,3 partitions, see /proc/mtd file on device), bootmenu lives in modified initfs (hooked into /linuxrc file) and then the boot sequence jumps to rootfs in flash (mtd4 partition) or to the mmc card (mmcbklXpY partition).

Maltereso 2007-05-13 18:34

Re: SDHC Support for 3.2007.10-7 has arrived
 
This is GREAT. I have owned my N800 less than week, newer use linux before but with these helps I managed to flash new sdhc kernel and my 4G card works great. thx to everybody.
Next step is java :)

homer_j 2007-06-02 15:43

Re: SDHC Support for 3.2007.10-7 has arrived
 
I just dont get it.

i have a N800 and a windows pc. I want to flash the kernel that i can use my 8GB SDHC card.
I already loaded the kernel_flasher and the sdhs-kernel-3.2007.10.bin file to the N800. I also installed dropbear and know how to get to red pile mode. But I dont bring the pieces together. Can anyone give a step by step description, especially what i need to enter in xterm, also installed. Thanks a lot!!

I can bring the n800 in xterm to # but how do i change to the directory with the files? (mydoc)

noyz 2007-06-02 16:28

Re: SDHC Support for 3.2007.10-7 has arrived
 
I really wish I could talk to someone live and get a little walkthrough help. I know this may sound frustrating, but being a complete Linux newbie as well I have almost NO understanding of what to do. Right now I'm downloading VMware, and from there I'm gonna keep struggling and re-reading until it begins to click. Hopefully someone will make a post giving a bit of a dumbed down explanation of what to do. I don't even know what questions to ask. :-(

fanoush 2007-06-02 19:03

Re: SDHC Support for 3.2007.10-7 has arrived
 
What's wrong with the guide here?
http://www.internettablettalk.com/wi..._to_a_computer

noyz 2007-06-02 22:19

Re: SDHC Support for 3.2007.10-7 has arrived
 
:O It says that becomeroot can brick the device. :-(, thats scary stuff for a newb.

noyz 2007-06-02 22:26

Re: SDHC Support for 3.2007.10-7 has arrived
 
When i flash the kernel will I lose any data? Should I backup stuff?

noyz 2007-06-02 22:45

Re: SDHC Support for 3.2007.10-7 has arrived
 
Mmk I can't get paste the part where your supposed to copy the files to the root or w/e.

The name of my n800 is "Noyz's n800" and I put the files inside that directory, not inside any folders. What would be the command string to cp from that directory?

i keep using "home/user/MyDocs/sdhc-kernel-3.2007.10.bin" and it says no such file/directory. >_< so frustrating.

noyz 2007-06-02 22:56

Re: SDHC Support for 3.2007.10-7 has arrived
 
Hooray, I think I just did it. Thank-you fanoush!!! HELP VERY MUCH APPRECIATED!!! Thank-you others who made attempts at explaining to us noobs. That guide REALLY helped.

xandor 2007-06-03 16:30

Re: SDHC Support for 3.2007.10-7 has arrived
 
Will this new OS/kernal be of any help in enabling a USB slave drive (I understand I'd have to provide my on USB power)?

I would REALLY love to be able to attach an external 2.5" drive, and be able to transfer photos from my camera to it via the tablet when on my travels ( amongst other things).

Meanwhile, being able to use 16 gigs of sdram sounds very impressive indeed!

(why...my old Commodore 64....)

PowerUser 2007-06-04 12:09

Re: SDHC Support for 3.2007.10-7 has arrived
 
> Meanwhile, being able to use 16 gigs of sdram sounds very impressive indeed!
Flash is not SDRAM. RAM loses data when power is lost, flash does not.RAM is very fast in read, write and rewrite.Flash is a slower in read, and slow\tricky in (re)write and number of rewrites is actually limited(but you're rarely have chances to encounter problems since guaranteed cycles is 100 000 to 10 000 000 for modern flash ICs, but RAM has "infinite" amount of rewrites).RAM is usually capable of executing code directly from it.Flash ... well, only certain kinds only, programs from SD\MMC have to be reloaded to RAM before execution begins.So, with 16G flash you're like having 16Gb fast HDD rather than like having 16G SDRAM.

TA-t3 2007-06-04 12:36

Re: SDHC Support for 3.2007.10-7 has arrived
 
@xandor: As far as I know the SDHC kernel doesn't include the patches for USB host support, that's a different project. It should be possible to bring the two sets of patches into one single combined kernel though. Someone has to do the actual work however.

orbitalcomp 2007-06-05 14:54

Re: SDHC Support for 3.2007.10-7 has arrived
 
Quote:

Originally Posted by fanoush (Post 50756)

That guide worked like a charm...thanks fanoush! I don't know if you did the wiki entry, but I know the flasher util is yours, so I'll give you full credit. If this wiki entry could be stickied somewhere, it should, because that is by far the easiest method I have come across. Plus, it's nice to be able to do the entire process from the N800.

I went down that list and did each item, and now my two Patriot 8GB (Class4) cards are working perfectly after a reboot. The control panel "Memory" applet reports each card as having 7.62 GB free right out of the box.

I just hope Nokia can add in native SDHC support in any future firmware updates, because it's obvious there is quite a demand for it, especially with the falling prices of SDHC cards...

fanoush 2007-06-05 15:26

Re: SDHC Support for 3.2007.10-7 has arrived
 
Quote:

Originally Posted by orbitalcomp (Post 51089)
I don't know if you did the wiki entry

Created by Joshua, there is a 'History' tab on the wiki page.


Quote:

Originally Posted by orbitalcomp (Post 51089)
If this wiki entry could be stickied somewhere, it should, because that is by far the easiest method I have come across. Plus, it's nice to be able to do the entire process from the N800.

Well, yes, but it is slightly more dangerous in the sense that if you flash wrong or incomplete kernel, you have device which doesn't boot and then you need to learn many relatively advanced things (i.e getting linux flasher working over usb) to get it working again. If you learn how to use nokia linux flasher before doing this, you just try again without any sweat. So basically with my flasher you can shoot yourself in the foot quite easily and then be surprised. But if everything goes ok (like kernel download being not corrupted or battery not going empty in the middle of flashing) it works just fine. In fact I need to implement at least kernel size checking to prevent incomplete kernels from flashing. It is in my TODO list for some time. I should do it or sooner or later someone may be very surprised.


All times are GMT. The time now is 20:56.

vBulletin® Version 3.8.8