Author Topic: C3000 can't update when the microdrive is missing  (Read 709 times)

DiTBho

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
C3000 can't update when the microdrive is missing
« on: May 16, 2025, 09:13:34 am »
hi
I am developing my own bootloader, supporting
- C1000
- C3000

yesterday I prepared an SD card
- PC partition FAT16
- mkfs.fat

then I copied
- update.sh
- zImage <----- my application

I followed the instruction to enter the Sharp Menu.
As result:
- C1000 perfectly flashed, now it boots my bootloader
- C3000 says it can't update anything "because the microdrive is missing". No option.

I removed the microdrive because it was faulty, the C3K is designed to boot completely from the SD card. I still need to find and buy a replacement for the internal MD.

It's absurd that update.sh refuses to flash because the microdrive is missing ...

Any workarounds?

Varti

  • Administrator
  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
Re: C3000 can't update when the microdrive is missing
« Reply #1 on: June 24, 2025, 09:36:54 am »
I guess the simplest way to fix this is to by editing the update.sh script to remove the need for the microdrive. The file itself is encoded with a simple character substitution algorithm, here's a simple program to encode/decode it: endecsh.c at the bottom of this page:
https://web.archive.org/web/20160505230130/http://www.h5.dion.ne.jp/~rimemoon/zaurus/memo_008.htm

I have tried to make a mirror of the page with httrack but it was unsuccessful, I'll try again.

Varti
Planet Gemini PDA WiFi/LTE with Mediatek x27
SL-C1000 running Arch Linux ARM May2017, K30225 Wi-Fi CF Card, 64GB SDXC card
and many other Zauruses!

DiTBho

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: C3000 can't update when the microdrive is missing
« Reply #2 on: Today at 10:08:08 am »
I guess the simplest way to fix this is to by editing the update.sh script to remove the need for the microdrive. The file itself is encoded with a simple character substitution algorithm, here's a simple program to encode/decode it: endecsh.c at the bottom of this page:
https://web.archive.org/web/20160505230130/http://www.h5.dion.ne.jp/~rimemoon/zaurus/memo_008.htm

Code: [Select]
### Check model ###
/sbin/writerominfo
MODEL=`cat /proc/deviceinfo/product`
case "$MODEL" in
    SL-B500|SL-5600)
        ZAURUS='poodle'
        ;;
    SL-6000)
        ZAURUS='tosa'
        ;;
    SL-C1000)
        ZAURUS='akita'
        ;;
    SL-C700|SL-C750|SL-7500|SL-C760|SL-C860)
        ZAURUS='c7x0'
        ;;
    SL-C3000|SL-C3100|SL-C3200)
        ZAURUS='c3x00'
        check_for_hdd
        check_for_tar
        ;;
    *)
        echo 'MODEL: '$MODEL 'is unsupported'
        echo ''
        echo 'Please reset'
        while true
        do
        done
        ;;
esac

I wonder what the point is in coding a script that absurdly...
In any case, this is where it probes for the microdrive.