Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DiTBho

Pages: 1 2 [3] 4 5
31
Zaurus - Arch Linux ARM support / Re: Update: C1000 / Akita support
« on: April 27, 2025, 01:21:30 pm »
hi
I applied all the patches found in Void, to vanilla kernel { 5.0-rc3, 5.4.229 }.
Code: [Select]
~ arch/arm/mach-pxa/spitz.c
~ drivers/mmc/core/slot-gpio.c
~ drivers/mmc/host/pxamci.c
~ drivers/mmc/host/mmc_spi.c
~ drivers/mmc/host/of_mmc_spi.c
~ drivers/ata/pata_pcmcia.c
~ drivers/pcmcia/soc_common.c
~ drivers/pcmcia/soc_common.h
~ include/linux/mmc/slot-gpio.h
~ include/linux/platform_data/mmc-pxamci.h
~ include/linux/spi/mmc_spi.h
(patches, modified these files)

Tested on my c1k, both k5 kernels boot find, but the suspend does not work at all.
When I press the suspend button, the screen makes a bright flash.
Sometimes the screen even goes white, and I can't see the text console anymore.

32
Zaurus - Void Linux support / Re: kernel patches? to Vanilla
« on: April 26, 2025, 03:32:54 pm »
5.4.229?

33
Zaurus - Void Linux support / Re: kernel patches? to Vanilla
« on: April 26, 2025, 03:26:27 pm »
to exactly which kernel 5.4.? version?

34
isn't there a collection of datasheets about the chips and components used in C1000, C3000?

35
anyone?

36
Is there any datasheet of the Zaurus LCD?
Pintout? detailed datasheet?
Otherwise is just speculation.

37
Dunno, which part?

38
Zaurus - Void Linux support / kernel patches? to Vanilla
« on: February 25, 2025, 08:22:07 am »
hi
I am in the process of resurrecting my old Gentoo Catalyst arm-v5.
Zaurus is one of the two targets.
I'd like to write some overlays for emerging the kernel, in this case I'd like to use a Vanilla kernel + patches.

Is there a repo with the patches, or do I have to extract them by comparing a "modified/hacked" kernel with a "vanilla" kernel?

39
Zaurus - Void Linux support / Re: Alpha Testing - Netsurf Browser
« on: February 25, 2025, 08:18:16 am »
is it based only on SDL?

40
Zaurus - Hardware discussion / Zaurus C1000, C3000, components datasheet?
« on: February 25, 2025, 07:40:38 am »
hi
I remember there were datasheets and partial schematics about the components used in Zaurus C1000 and C3000.

Unfortunately I am not able to find them.

I am going to repair a dead C3000 motherboard
+ flash to be desolder and replaced
+ dead microdrive
in the process I will also desolder the IRda port, and reuse the serial contacts for something else.

Let me know  :)

41
Zaurus - Hardware discussion / Re: microdrive compatibility
« on: February 22, 2025, 06:12:01 am »
Sure, but it's not the point here

42
hi
I am looking for a Hitachi HMS360404D5CF00 known to be working with Zaurus PDA or in a 3.3V CF machine (e.g. Mikrotik rb532a router).
Let me know if you have one, or if you know what I have exactly to search.

Thanks  :D

43
Zaurus - Hardware discussion / Re: microdrive compatibility
« on: February 17, 2025, 08:30:35 am »
A friend lent me an Hitachi HMS360404D5CF00 microdrive.
Same Hitachi model, and this time it responds to the ATA identify command and to every ATA sector_read command

Code: [Select]
# disk_probe2
pATA drive probing ... true
00000000: 84 8a 1f 00 00 00 00 10 7e 00 02 00 00 3f 00 7a | .............?.z
00000010: 10 00 00 00 20 20 20 20 20 20 20 20 20 20 20 20 | ....
00000020: 4e 32 4c 48 55 45 59 41 00 03 01 00 00 04 44 4e | N2LHUEYA......DN
00000030: 34 4f 43 41 32 41 48 4d 53 33 36 30 34 30 34 44 | 4OCA2AHMS360404D
00000040: 35 43 46 30 30 20 20 20 20 20 20 20 20 20 20 20 | 5CF00
00000050: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 80 20 |               .
00000060: 00 00 0e 00 00 00 02 00 00 00 00 03 1f 00 00 10 | ................
00000070: 00 3f 10 00 00 7a 01 00 10 00 00 7a 00 00 00 00 | .?...z.....z....
00000080: 00 03 00 00 00 00 00 78 00 78 00 00 00 00 00 00 | .......x.x......
00000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000000a0: 00 1e 00 12 70 68 50 0c 40 00 70 48 10 0c 40 00 | ....phP.@.pH..@.
000000b0: 00 00 00 00 00 00 40 60 00 00 00 00 00 00 00 00 | ......@`........
000000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000000d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000000e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000100: 00 00 00 02 00 00 01 11 00 00 00 00 00 00 00 00 | ................
00000110: 00 00 00 00 00 64 00 00 00 00 00 00 00 00 00 00 | .....d..........
00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000130: 00 00 00 00 00 00 00 00 00 00 00 00 04 b0 00 01 | ................
00000140: 81 00 80 01 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000001a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000001b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000001c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000001d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000001e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000001f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
LBA28={0..7999487} blocks
disk_blocks=7999488
disk_size~=3G 834M
block_n=7M 644K
model number : HMS360404D5CF00
adv PIO mode 00000300
Features/Command sets supported(1) 00006870
Features/Command sets supported(2) 00000c50
Features/Command sets supported(3) 00000040
Features/Command sets supported(4) 00004870
Features/Command sets supported(5) 00000c10
Features/Command sets supported(6) 00000040
Ultra DMA support and current mode 00000000
Advanced power management value 00006040
CFA power mode(1) 00000081
Capabilities bits 00000e00 -> is_LBA_capable=true
block_size=512byte

Code: [Select]
# disk_parts
found mac-part, blocksize=512, scanning ... done

Partition map..................... 32bit  1  63  31K 512
bootstrap......................... 32bit  64  1600  800K
kernel............................ 32bit  1664  65536  32M
swap.............................. 32bit  67200  524288  256M
rootfs............................ 32bit  591488  7408000  3G 545M 192K
(added mac-part to my monitor, it reads 64 sectors!)

This unit works perfectly, and yet... same label, same model number ...
I don't see any aesthetic differences comparing the two labels ...


44
Zaurus - Hardware discussion / microdrive compatibility
« on: February 17, 2025, 08:20:35 am »
hi,
after 10 years of service, my Hitachi microdrive died.
  • Hitachi HMS360404D5CF00, 4GB
No problem, I have the full backup of the rootfs, the problem is just replacing the broken disk with a new one.

I bought exactly the same model on eBay, but... surprise surprise it is not recognized by my C1000.
Then I returned the drive to the seller and tried a new one. Same behavior, HMS360404D5CF00 not recognized.
Then I tried a Seagate ST1, ST650211CF, which exhibits even stranger behavior:
it responds correctly to the ATA identify command, but panics on every ATA sector read command

Code: [Select]
my-mon/mips, v3.1, Feb 2025

# disk_probe
pATA drive probing ... true
00000000: 84 8a 25 da 00 00 00 10 7e 00 02 00 00 3f 00 95 | ..%..........?..
00000010: 0a 60 00 00 20 20 20 20 20 20 20 20 20 20 33 4d | .`..          3M
00000020: 45 34 4e 58 59 43 20 20 00 03 01 00 00 04 33 2e | E4NXYC  ......3.
00000030: 30 34 20 20 20 20 53 54 36 35 30 32 31 31 43 46 | 04    ST650211CF
00000040: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |
00000050: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 80 10 |               ..
00000060: 00 00 0a 00 00 00 02 00 00 00 00 03 25 da 00 10 | ............%...
00000070: 00 3f 0a 60 00 95 01 00 0a 60 00 95 00 00 01 00 | .?.`.....`......
00000080: 00 03 00 00 00 00 00 78 00 78 00 00 00 00 00 00 | .......x.x......
00000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000000a0: 00 00 00 00 70 69 50 0c 40 00 70 69 10 0c 40 00 | ....piP.@.pi..@.
000000b0: 00 00 00 00 00 00 40 40 00 00 40 0d 80 80 00 00 | ......@@..@.....
000000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000000d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000000e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000140: 81 4a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .J..............
00000150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000001a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000001b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000001c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000001d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000001e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
000001f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
LBA28={0..9767519} blocks
disk_blocks=9767520
disk_size~=4G 673M
model number : ST650211CF

# disk_read 0
disk_ata_read(),LBA=0
disk_ans=false

# disk_probe
no sign of life from CF drive
(this is a firmware I wrote for a MIPS32/le router, it has a 3.3V CF, exposing the same behavior I see on my C1000)

Quote
Some "OEM Only" drives use the CompactFlash form factor but only provide a 5V IDE/ATA interface.
These will not work in readers or devices which expect a 3.3V interface and full CompactFlash functionality

looking at the Seagate ST1 datasheet, I verified it's LBA28 capable.
I don't see any weird pre-init ATA commands.

Code: [Select]
macmini2-intel ~ # badblocks -svw /dev/sdd
Checking for bad blocks in read-write mode
From block 0 to 4883759
Testing with pattern 0xaa: done
Reading and comparing: done
Testing with pattern 0x55: done
Reading and comparing: done
Testing with pattern 0xff: done
Reading and comparing: done
Testing with pattern 0x00: done
Reading and comparing: done
Pass completed, 0 bad blocks found. (0/0/0 errors)
(The Seagate 5GB on the CF_usb adapter passed all the badblocks tests!)

So I put both the two new MicroDrive into a USB_CF adapter, to check them with GNU/Linux, and ... surprise both perfectly worked with the USB_CF adapter, which operates at 5V. Badblocks passed, zero error reported!

My guess...the Zaurus C1000 CF module must be 3.3V, while these two microdrives only operate at 5V!

The Seagate datasheet vaguely says 3.3V/5V, however ... on the back of the Seagate microdrive it clearly says "+5V", and in fact it does not work on machines with CF powered at 3.3V.

There is no extra label on the Hitachi HMS360404D5CF00

Comparing the microdrive that worked for 10 years on the C1000 with the new one that is not even recognized (does not respond to the Identify command), no difference is noticeable, same production number, same label...

My guess is there are actually two versions
  • Hitachi HMS360404D5CF00, 4GB, 3.3V/5V
  • Hitachi HMS360404D5CF00, 4GB, 5V-only
According to Google, not only there are also OEM versions ... but also custom IBM-made versions for their MIPS WinCE-v1.0 laptop (only sold in Japan), marked "IBM Microdrive" but made with Hitachi parts, who also made the Apple iPod drive, and whatever Apple, IBM or Hitachi microdrive you look at ...
... they are not easy to identify as "OEM" or "non-OEM", as there is no indication on the label!

Some Hitachi microdrives made for Apple iPod have a log on the front, usually the Apple logo, which means it is an OEM drive, 5V only, True-IDE only,
but other Hitachi microdrives have no indication at all.

- - -

is there a list or something about the microdrive compatibility with Zaurus PDA?

45
For Sale / Wanted / Re: wtb: 68HC11 "tiny" board
« on: February 28, 2021, 02:01:04 pm »
Yes, there smaller ones, with less components and features.
As "plan B", I can design my PCB and assemble my board if I can't find anything around  :D

Pages: 1 2 [3] 4 5