Author Topic: Append Nand Flash Partiton Info  (Read 9003 times)

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Append Nand Flash Partiton Info
« Reply #15 on: June 17, 2007, 12:40:33 pm »
Quote
Can it be a kernel source trick? The values are dependent on what you enter during installation, and there's no compilation going on then.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163319\"][{POST_SNAPBACK}][/a][/div]
Text inside kernel can be changed (with precautions) witout recompiling ... anyway something is done during installation that ither has to do with boot loader or with kernel without recompiling .... do you know exactly what ?
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

johnsutton

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://
Append Nand Flash Partiton Info
« Reply #16 on: June 19, 2007, 07:19:43 am »
Here are two extracts from dmesg for beta1 running on c1000:

Kernel command line: console=ttyS0 root=/dev/mtdblock2 mtdparts=sharpsl-nand:7168k@0k(smf),59392k@7168k(root),-(home) jffs2_orphaned_inodes=delete EQUIPMENT=0 LOGOLANG=1 DEFYEAR=2006 LOGO=1 LAUNCH=q

Sharp SL series flash device: 1000000 at 0
Using static partision definition
Creating 1 MTD partitions on "sharpsl-flash":
0x00140000-0x007f0000 : "Filesystem"
NAND device: Manufacture ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MB 3,3V)
Creating 3 MTD partitions on "NAND 128MB 3,3V":
0x00000000-0x00700000 : "smf"
0x00700000-0x04100000 : "root"
0x04100000-0x08000000 : "home"
C1000 running beta1, Ambicom WL1100C-CF WiFi card, infrared connection to Nokia 6310i for GPRS (ssh, vnc client) and GSM (minicom) comms.

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Append Nand Flash Partiton Info
« Reply #17 on: June 19, 2007, 10:56:26 am »
Quote
I'd like to get a comprehensive understanding of the boot process, so any comments are welcome!
Quite some time ago I attempted to grab fragments of information concerning how the Z boot. Not sure how accurate that is but if anyone has any hints, corrections, info or links concerning this I'll be glad to update the doc.

I'll put up the cxx0_boot.txt document on my home page as soo as possible. If you don't find the doc avalible in the "Zaurus" (left menu) and "Documentation" on the top bar please try later.
« Last Edit: June 19, 2007, 03:05:53 pm by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Append Nand Flash Partiton Info
« Reply #18 on: June 21, 2007, 05:17:54 pm »
Ok there is good chances that we could have kernel loaded from MMC fat formated partition.
Not sure if this is possible with the 2006-04-18-1106 version of u-boot.
I've managed to get the newest u-boot sources patched with the zaurus stuff but unfortunatly although it builds it will not boot anything.

Need a serial cable for Z to do some debugging ...

Anyone have a serial cable ... or know where I can get one for an honest proce ?
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

johnsutton

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://
Append Nand Flash Partiton Info
« Reply #19 on: June 24, 2007, 01:25:50 pm »
Where would you plug in a serial cable?  On a C1000, for instance?

PS Thanks for the document re boot process, very useful.
C1000 running beta1, Ambicom WL1100C-CF WiFi card, infrared connection to Nokia 6310i for GPRS (ssh, vnc client) and GSM (minicom) comms.

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Append Nand Flash Partiton Info
« Reply #20 on: June 24, 2007, 01:58:48 pm »
Quote
Where would you plug in a serial cable?  On a C1000, for instance?

PS Thanks for the document re boot process, very useful.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163646\"][{POST_SNAPBACK}][/a][/div]
The c1k should have a sharp io connector in the back covered by a grey rubber cap (more or less where the Cx60 has the SD/MMC slot.
I've never used it because the rubber caps looks as if it will brake if I pull it out so I'll do all my debugging with my c760 ;-)
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Append Nand Flash Partiton Info
« Reply #21 on: June 25, 2007, 12:18:44 am »
The cxxxx's io port cap won't break if you pull it out, but it probably isn't strong enough to withstand repeated use without getting loose. Not that it matters so much, ZThinCable's don't seem to work with the newer models.

That means I could probably sell my ZThinCable-M; I have to see if the guy who I gave my 860 to wants it first though.
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Append Nand Flash Partiton Info
« Reply #22 on: June 25, 2007, 02:56:13 pm »
Quote
The cxxxx's io port cap won't break if you pull it out, but it probably isn't strong enough to withstand repeated use without getting loose.
Well when I'll really need to pull it out I'll try again ... but so fat every time I tryed without actually neading to connect anything I stopped because it really loked like I'd end up with 2 pieces of rubber in my hands.
Quote
Not that it matters so much, ZThinCable's don't seem to work with the newer models.
Never Mind ... I was able to build a serial interface cable for my C760 out of some scrap electronics material (a ICL232 and a cd4069) taken out of some junk I recovered from scrap at work.
ASAP I'll document the work on my home page "ZElectronics" section.
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Append Nand Flash Partiton Info
« Reply #23 on: July 01, 2007, 05:08:03 am »
Ok I've documented the cable on my home page and I'va also tested it successfully on my SL-5500, C760 and C1000. I've not tryed it out on my C860 because I assume if it works on the C760 it will also work on the C860 ;-)
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing