Jump to content


Photo

[WIP] Install Linux on NAND


  • Please log in to reply
45 replies to this topic

#21 doragasu

doragasu

    Member

  • Jr. Member
  • PipPip
  • 19 posts

Posted 24 May 2012 - 01:36 AM

¡Good work!

It would be great to get JFFS2 support. Maybe the tools for making the filesystem (mkfs.jffs2) are in the Angstrom repository, but I'm suspecting JFFS2 maybe isn't supported by the kernel...

#22 netomx

netomx

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 35 posts

Posted 24 May 2012 - 11:51 AM

¡Good work!

It would be great to get JFFS2 support. Maybe the tools for making the filesystem (mkfs.jffs2) are in the Angstrom repository, but I'm suspecting JFFS2 maybe isn't supported by the kernel...



I can almost guarantee that there's jffs2 support on the kernel, because I recall that Android uses it. So I just need the utility to format it.

#23 doragasu

doragasu

    Member

  • Jr. Member
  • PipPip
  • 19 posts

Posted 24 May 2012 - 01:59 PM

I can almost guarantee that there's jffs2 support on the kernel, because I recall that Android uses it. So I just need the utility to format it.


Have you tried installing mtd-utils from the Angstrom repo? IIRC, mkfs.jffs2 is in that package.

#24 netomx

netomx

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 35 posts

Posted 24 May 2012 - 05:54 PM

Have you tried installing mtd-utils from the Angstrom repo? IIRC, mkfs.jffs2 is in that package.

I havent made it because I'm testing right now the Raspberry Pi =P

#25 subrina

subrina

    Newbie

  • Jr. Member
  • Pip
  • 4 posts

Posted 04 June 2012 - 06:13 PM

Wonder if the wifi and touch screen will work alright.

#26 netomx

netomx

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 35 posts

Posted 04 June 2012 - 06:39 PM

i tried the touch with no success, maybe I needed something. Wifi works

#27 farva

farva

    Newbie

  • Jr. Member
  • Pip
  • 8 posts

Posted 12 July 2012 - 03:07 PM

Is it any faster to boot linux off NAND rather than SD?
Project: Emulators for WM8650. Includes GNUBoySDL (Gameboy/Gameboy Color), gpFCE (NES/Famicom), and PicoDrive (Genesis/Megadrive & Sega/Mega CD).

#28 netomx

netomx

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 35 posts

Posted 12 July 2012 - 03:35 PM

Is it any faster to boot linux off NAND rather than SD?


I dont really know, but the advantage is that you have a free SD slot

#29 farva

farva

    Newbie

  • Jr. Member
  • Pip
  • 8 posts

Posted 12 July 2012 - 03:51 PM

I dont really know, but the advantage is that you have a free SD slot


If you run the OS off ramdrive (initrd; of course this would have to be a compact system using busybox and such), you can also have a free SD slot, as soon as its done booting. NAND may still be faster, I'm a bit wary of testing that personally though (after I get another netbook as a backup though...) I'm lazy so what I've been doing if I need an extra slot is to use USB. Also I haven't written off Windows CE entirely yet so I keep it around on NAND to try things on (FWIW CE boots in 30 seconds, and I think linux could too with some work).

Edited by farva, 12 July 2012 - 03:56 PM.

Project: Emulators for WM8650. Includes GNUBoySDL (Gameboy/Gameboy Color), gpFCE (NES/Famicom), and PicoDrive (Genesis/Megadrive & Sega/Mega CD).

#30 yuku9

yuku9

    Newbie

  • Jr. Member
  • Pip
  • 6 posts

Posted 05 February 2013 - 07:37 PM

My wm8650 netbook comes with WINCE and shows 4gb NAND but I check with linux and dont find that amount on mtd??

#31 netomx

netomx

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 35 posts

Posted 05 February 2013 - 07:43 PM

Please send cat /proc/mtd and /proc/partition

#32 yuku9

yuku9

    Newbie

  • Jr. Member
  • Pip
  • 6 posts

Posted 06 February 2013 - 06:22 PM

I have now Android in NAND and use Linux with SD and USB.
I want to get use of the 4gb and , If posible to boot form NAND without SD?
Podemos hablar en castellano tambien.


Here its the info , first mtd then partitions



From Linux:

dev: size erasesize name
mtd0: 00080000 00080000 "w-load-NAND"
mtd1: 00480000 00080000 "u-boot env. cfg. 1-NAND"
mtd2: 00480000 00080000 "u-boot-NAND"
mtd3: 00800000 00080000 "kernel-NAND"
mtd4: 00600000 00080000 "initrd-NAND"
mtd5: 10000000 00080000 "filesystem-NAND"
mtd6: 00200000 00080000 "u-boot-logo"
mtd7: 00400000 00080000 "kernel-logo"
mtd8: 20000000 00080000 "android-data"
mtd9: 08000000 00080000 "android-cache"
mtd10: 46280000 00080000 "LocalDisk"
major minor #blocks name

31 0 512 mtdblock0
31 1 4608 mtdblock1
31 2 4608 mtdblock2
31 3 8192 mtdblock3
31 4 6144 mtdblock4
31 5 262144 mtdblock5
31 6 2048 mtdblock6
31 7 4096 mtdblock7
31 8 524288 mtdblock8
31 9 131072 mtdblock9
31 10 1149440 mtdblock10
179 0 7778304 mmcblk0
8 0 2116800 sda
8 1 2115584 sda1

From Android :

dev: size erasesize name
mtd0: 00d00000 00010000 "filesystem-SF"
mtd1: 00280000 00010000 "kernel-SF"
mtd2: 00050000 00010000 "u-boot-SF"
mtd3: 00010000 00010000 "u-boot env. cfg. 1-SF"
mtd4: 00010000 00010000 "u-boot env. cfg. 2-SF"
mtd5: 00010000 00010000 "w-load-SF"
mtd6: 00080000 00080000 "w-load-NAND"
mtd7: 00480000 00080000 "u-boot env. cfg. 1-NAND"
mtd8: 00480000 00080000 "u-boot-NAND"
mtd9: 00800000 00080000 "kernel-NAND"
mtd10: 00600000 00080000 "initrd-NAND"
mtd11: 20000000 00080000 "filesystem-NAND"
mtd12: 00800000 00080000 "u-boot-logo"
mtd13: 00400000 00080000 "kernel-logo"
mtd14: 20000000 00080000 "android-data"
mtd15: 08000000 00080000 "android-cache"
mtd16: 35c80000 00080000 "LocalDisk"
major minor #blocks name

31 0 13312 mtdblock0
31 1 2560 mtdblock1
31 2 320 mtdblock2
31 3 64 mtdblock3
31 4 64 mtdblock4
31 5 64 mtdblock5
31 6 512 mtdblock6
31 7 4608 mtdblock7
31 8 4608 mtdblock8
31 9 8192 mtdblock9
31 10 6144 mtdblock10
31 11 524288 mtdblock11
31 12 8192 mtdblock12
31 13 4096 mtdblock13
31 14 524288 mtdblock14
31 15 131072 mtdblock15
31 16 881152 mtdblock16
179 0 7778304 mmcblk0

#33 netomx

netomx

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 35 posts

Posted 06 February 2013 - 06:49 PM

well, the 4GB NAND is really divided in several partitions, as you can see.

mtdblock10 is the "Local Disk", ~1.2gb free for you.

you can install it on nand, please use the 1st page instructions.


Tmb hablo espaniol pues :)

#34 yuku9

yuku9

    Newbie

  • Jr. Member
  • Pip
  • 6 posts

Posted 07 February 2013 - 12:20 AM

ok , but I dont understand the step of the SD card or the wmt.. file and the uzimage (kernel) .... Where I put that on the NAND mtd partition?? or ...

Gracias !

#35 netomx

netomx

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 35 posts

Posted 11 February 2013 - 01:59 AM

ok , but I dont understand the step of the SD card or the wmt.. file and the uzimage (kernel) .... Where I put that on the NAND mtd partition?? or ...

Gracias !


que parte no entiendes

#36 yuku9

yuku9

    Newbie

  • Jr. Member
  • Pip
  • 6 posts

Posted 11 February 2013 - 05:49 PM

Lo que no entiendo bien es si se puede subir todo desde el NAND o se necesita la SD para subirlo junto con la NAND ? y si es sin la tarjeta como se hace?

Gracias!

#37 netomx

netomx

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 35 posts

Posted 14 February 2013 - 04:44 PM

Lo que no entiendo bien es si se puede subir todo desde el NAND o se necesita la SD para subirlo junto con la NAND ? y si es sin la tarjeta como se hace?

Gracias!



ocupas la sd por que ahi viene la info que necesitas.

#38 maestrodan

maestrodan

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 38 posts

Posted 23 March 2013 - 09:57 AM

Everybody can make a software for SD card to boot and format /data partition into native FS?
I try to install linux(debian) to /data (format into ext2and copy files), but then it can't boot, and I cannot install stock firmware. Can it be becouse I have broken TS?

Edited by maestrodan, 23 March 2013 - 10:00 AM.


#39 netomx

netomx

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 35 posts

Posted 23 March 2013 - 10:49 PM

Everybody can make a software for SD card to boot and format /data partition into native FS?
I try to install linux(debian) to /data (format into ext2and copy files), but then it can't boot, and I cannot install stock firmware. Can it be becouse I have broken TS?


no luck?

#40 maestrodan

maestrodan

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 38 posts

Posted 24 March 2013 - 04:30 PM

no luck?

It's about TS?:) Yes, my tablet falls and it is broken, now I remove TS from it.