Difference between revisions of "Samsung Galaxy Mini 2 (samsung-s6500d)"

From postmarketOS
Jump to: navigation, search
m (Removed info about old fork, added more precise RAM info)
m
 
(25 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
| manufacturer = Samsung
 
| manufacturer = Samsung
 
| name =  Galaxy Mini 2
 
| name =  Galaxy Mini 2
| codename = s6500d, s6500, jena
+
| codename = samsung-s6500d, s6500, jena
 
| image = File:samsung-s6500d.jpg
 
| image = File:samsung-s6500d.jpg
 
| imagecaption = Samsung s6500d
 
| imagecaption = Samsung s6500d
Line 8: Line 8:
 
| originalsoftware = Android 2.3.4
 
| originalsoftware = Android 2.3.4
 
| pmoskernel= 3.4 from Cyanogen
 
| pmoskernel= 3.4 from Cyanogen
| chipset =  Snapdragon S1 / MSM7227A
+
| chipset =  Qualcomm MSM7227A Snapdragon S1
 
| cpu = ARM Cortex-A5 800 Mhz
 
| cpu = ARM Cortex-A5 800 Mhz
 
| gpu = Adreno 200
 
| gpu = Adreno 200
 
| storage = 4GB
 
| storage = 4GB
 
| display = 320×480
 
| display = 320×480
| memory = physically 512MiB, limited by kernel to ~385MiB (faulty dices?)
+
| memory = physically probably 512MiB, limited by kernel to ~385MiB (faulty dices/Java something?)
 +
| architecture = armhf
 +
| status_usbnet = Y
 +
| status_flashing = Y
 +
| status_touch = P
 +
| status_screen = Y
 +
| status_wifi =
 +
| status_xwayland =
 +
| status_fde =
 +
| status_mainline = N
 +
| status_battery =
 +
| status_3d =
 +
| status_accel =
 +
| status_audio =
 +
| status_bluetooth =
 +
| status_camera =
 +
| status_gps =
 +
| status_mobiledata =
 +
| status_sms =
 +
| status_calls =
 +
| booting = yes
 +
 
 +
<!-- you can also use these lines:
 +
| pmoskernel = Version of the kernel that pmos is running
 +
| whet_dhry = see Unixbench page on wiki
 +
| status_otg = Is OTG available, not used in wiki
 +
-->
 
}}
 
}}
  
 
== Contributors ==
 
== Contributors ==
 
* [[user:Halamix2|Halamix2]]
 
* [[user:Halamix2|Halamix2]]
 +
 +
== Maintainer(s) ==
 +
* also [[user:Halamix2|Halamix2]]
 +
 +
== Users owning this device ==
 +
{{Device owners}}
 +
 
== What works ==
 
== What works ==
 
* Boots
 
* Boots
Line 42: Line 75:
 
* SMS
 
* SMS
 
* Voice
 
* Voice
 +
 +
== Devices ==
 +
{|class="wikitable feature-colors"
 +
|-
 +
! Component
 +
! Hardware
 +
! Downstream
 +
! Downstream driver/firmware
 +
! Upstream
 +
! Upstream driver/firmware
 +
! Notes
 +
 +
|-
 +
| Touchscreen || unknown || P || unknown || - || - || it doesn't seem very responsive in some situations; contains menu and back touch keys, event0
 +
|-
 +
| Display || msmfb30_30001 || Y || unknown || - || - || works, /sys/class/graphics/fb0/name is weird, oh well, Qualcomm
 +
|-
 +
| Wi-Fi || AR6003? || N || unknown || - || - ||
 +
|-
 +
| Bluetooth || unknown || N || unknown || - || - ||
 +
|-
 +
| Battery || bq27425 || N || unknown || - || - || <!--wrong percentage, always shows 50, not sure if charging even works-->
 +
|-
 +
| 3D || Adreno200 || N || unknown || - || - || should be able to use freedreno
 +
|-
 +
| Camera || sr300pc20? || N || unknown || - || - ||
 +
|-
 +
| Audio || unknown || N || unknown || - || - || AFAIK none of the Qualcomm-based devices have working audio yet :(
 +
|-
 +
| Magnetometer || bma222(e)? || N || unknown || - || - || event2
 +
|-
 +
| Accelerometer || bma222(e) || N || unknown || - || - || event4
 +
|-
 +
| Orientation || bma222(e) || N || unknown || - || - || event3
 +
|-
 +
| Proximity || Sharp gp2a? || N || unknown || - || - || event5
 +
|-
 +
| Temperature || unknown || N || unknown || - || - || there should be one, right??
 +
|-
 +
<!-- Illuminance || unknown || N || unknown || - || - || does this even exist here?
 +
|- -->
 +
| FM Radio || unknown || N || unknown || - || - || Android sees this as radio-tavarua under /sys/class/video4linux/radio0
 +
|-
 +
| Vibrations || unknown || N || unknown || - || - ||
 +
|-
 +
| Buttons || unknown || N || unknown || - || - || contains home and volume buttons, 7x27a_kp, event1
 +
|-
 +
| Audio buttons || unknown || N || unknown || - || - || contains power button as well, event6
 +
|-
 +
| GPS || unknown || N || unknown || - || - ||
 +
|-
 +
| Mobile data || unknown || N || unknown || - || - ||
 +
|-
 +
| SMS || unknown || N || unknown || - || - ||
 +
|-
 +
| Calls || unknown || N || unknown || - || - ||
 +
|-
 +
| OTG || FSA9280 || N || unknown || - || - || not supported by phone, theoretically supported by SoC, maybe possible wih external power source; That chip is responsible for switching USB functionality with UART etc.
 +
|-
 +
| FDE || - || P || - || - || - || osk-sdl works, partition is unlocked and then phone is stuck, no screen, no ssh, no telnet
 +
|-
 +
| Mainline || - || - || - || N || - || No existing dtb for device and SoC
 +
|-
 +
| XWayland || - || N || - || - || - || not tested yet, can be tested with xeyes, I hope this is enough
 +
|-
 +
<!--
 +
| thing || unknown || N || unknown || - || - ||
 +
|-
 +
-->
 +
|}
 +
=== Chips ===
 +
<pre>
 +
cat /sys/bus/i2c/devices/*/name
 +
sr300pc20 #camera? CMOS image sensor
 +
sx1508q
 +
sc628a
 +
marimba
 +
marimba
 +
sx1509q
 +
sec_touch
 +
FSA9280 # USB multiplexer
 +
bma222 #accel
 +
bma222e #accel
 +
hscd_i2c
 +
gp2a
 +
pn544 #NFC controller, s6500 uses this, s6500d doesn't, don't know why it's there
 +
bq27425 #battery gauge
 +
</pre>
 +
  
 
== To do ==
 
== To do ==
Line 57: Line 179:
 
It displays some sort of animation when pressing buttons in postmarket demos window in weston but only for first press or two.
 
It displays some sort of animation when pressing buttons in postmarket demos window in weston but only for first press or two.
 
''weston-calibrate'' does not work
 
''weston-calibrate'' does not work
 
  
 
Home button and volume buttons are ''/dev/input/event1'', where power button is recognised as ''/dev/input/event6''
 
Home button and volume buttons are ''/dev/input/event1'', where power button is recognised as ''/dev/input/event6''
  
 
=== Mainline ===
 
=== Mainline ===
Currently we have working 2.6 kernel, no DTS files for qcom-msm7227a.
+
Currently we have working 3.4 kernel, no DTS files for qcom-msm7227a.
  
 
Get data form all over the kernel source code (mainly ''arch/mach-msm/board-<board name>.c'' for starters and recreate it in .dts file(s).
 
Get data form all over the kernel source code (mainly ''arch/mach-msm/board-<board name>.c'' for starters and recreate it in .dts file(s).
 +
 +
Get UART working, then test basic DTS with just basics to get earlycon/earlyprintk working:
 +
 +
* used voltage is 1.8V
 +
* needed resistor is *probably* 619kΩ
 +
* unknown name of the port in original kernel, candidates are ttyMSM0, tty0, ttyHS0, ttyHSL0 and ttyGS0
 +
* trying to get UART on 0xa9a00000 (ttyMSM0)
 +
* dtb probably misses clocks, maybe interrupts and other things
 +
{{note|This dtb file goal is to get working UART, nothing more, rest of the work will be continued on regular git repository when/if UART starts working}}
 +
 +
[https://gist.github.com/Halamix2/a21195b4cc589bf7af2fadc32aad6292 Unfinished, not working dtb]
  
 
==== Useful links (mainly dts stuff) ====
 
==== Useful links (mainly dts stuff) ====
Line 70: Line 202:
  
 
[[Qualcomm_mainline_porting|Qualcomm mainline porting]] — our sparse docs about Qualcomm mainlining
 
[[Qualcomm_mainline_porting|Qualcomm mainline porting]] — our sparse docs about Qualcomm mainlining
 
[https://events.static.linuxfound.org/sites/events/files/slides/presentation_3.pdf Device Tree – The Disaster so Far](pdf) – introduction to DT and basic knowledge how to move from board files do DT
 
 
[https://free-electrons.com/pub/conferences/2014/elc/petazzoni-device-tree-dummies/petazzoni-device-tree-dummies.pdf Device Tree for dummies](pdf) – a little bit more complex infoa bout DT files
 
 
[http://docs.halium.org/en/latest/supplementary/hardware-enablement.html Halium project docs on mainlining] – has a nice list where to look for ready solutions
 
  
 
[https://elinux.org/Qualcomm_SOC_Mainlining_Project Qualcomm SOC Mainlining Project] – sadly no MSM7227a
 
[https://elinux.org/Qualcomm_SOC_Mainlining_Project Qualcomm SOC Mainlining Project] – sadly no MSM7227a
 
[http://linux-sunxi.org/Linux_mainlining_effort Allwinner SOC Mainlining Project] – not useful for this phone
 
 
[https://github.com/devicetree-org/devicetree-specification/releases Devicetree.org specification]
 
  
 
''Documentation/devicetree/'' inside linux kernel files, should contain newest documentation about dts files, should be most reliable source of information
 
''Documentation/devicetree/'' inside linux kernel files, should contain newest documentation about dts files, should be most reliable source of information
  
 
== How to enter flash mode ==
 
== How to enter flash mode ==
Press power button and hold home button and VOL-
+
Press power button and hold home button and VOL-, then press VOL+ to continue
  
 
Alternatively, plug in microUSB plug with GND and ID pins connected through 300KΩ resistor. (so-called USB jig)
 
Alternatively, plug in microUSB plug with GND and ID pins connected through 300KΩ resistor. (so-called USB jig)
Line 105: Line 227:
 
Disk identifier: 0x00000000
 
Disk identifier: 0x00000000
  
Device          Boot  Start    End Sectors  Size Id Type
+
Device          Boot  Start    End Sectors  Size Id Type                 PIT name              read-writeable?
/dev/mmcblk0p1  *          1      40      40  20K 4d QNX4.x
+
/dev/mmcblk0p1  *          1      40      40  20K 4d QNX4.x               CFG_DATA
/dev/mmcblk0p2            41    340    300  150K 45 unknown
+
/dev/mmcblk0p2            41    340    300  150K 45 unknown             QCSBL
/dev/mmcblk0p3          341  41300  40960  20M  c W95 FAT32 (LBA)
+
/dev/mmcblk0p3          341  41300  40960  20M  c W95 FAT32 (LBA)     FAT                    RW
/dev/mmcblk0p4        41301 7634943 7593643  3.6G  5 Extended
+
/dev/mmcblk0p4        41301 7634943 7593643  3.6G  5 Extended             ? / partition.bin
/dev/mmcblk0p5        49152  51151    2000 1000K 46 unknown
+
/dev/mmcblk0p5        49152  51151    2000 1000K 46 unknown             OEMSBL
/dev/mmcblk0p6        51152  53151    2000 1000K 47 unknown
+
/dev/mmcblk0p6        51152  53151    2000 1000K 47 unknown             APPSBL
/dev/mmcblk0p7        53152  57151    4000    2M 5d unknown
+
/dev/mmcblk0p7        53152  57151    4000    2M 5d unknown             SSD                    RW
/dev/mmcblk0p8        57152  81727  24576  12M 48 unknown
+
/dev/mmcblk0p8        57152  81727  24576  12M 48 unknown             APPS / boot partition  RW
/dev/mmcblk0p9        81728  87871    6144    3M 4a unknown
+
/dev/mmcblk0p9        81728  87871    6144    3M 4a unknown             MODEM_ST1
/dev/mmcblk0p10        87872  94015    6144    3M 4b unknown
+
/dev/mmcblk0p10        87872  94015    6144    3M 4b unknown             MODEM_ST2
/dev/mmcblk0p11        94016  110399  16384    8M 90 unknown
+
/dev/mmcblk0p11        94016  110399  16384    8M 90 unknown             PERSIST                RW
/dev/mmcblk0p12      110400  134975  24576  12M 91 unknown
+
/dev/mmcblk0p12      110400  134975  24576  12M 91 unknown             RECOVERY              RW
/dev/mmcblk0p13      134976  143167    8192    4M 92 unknown
+
/dev/mmcblk0p13      134976  143167    8192    4M 92 unknown             PARAMETER              RW
/dev/mmcblk0p14      143168  151359    8192    4M 93 Amoeba
+
/dev/mmcblk0p14      143168  151359    8192    4M 93 Amoeba               SECURE                RW
/dev/mmcblk0p15      151360  152383    1024  512K 95 unknown
+
/dev/mmcblk0p15      151360  152383    1024  512K 95 unknown             PIT                    RW
/dev/mmcblk0p16      152384 1176383 1024000  500M 82 Linux swap / Solaris
+
/dev/mmcblk0p16      152384 1176383 1024000  500M 82 Linux swap / Solaris SYSTEM                RW
/dev/mmcblk0p17      1176384 1483583  307200  150M 94 Amoeba BBT
+
/dev/mmcblk0p17      1176384 1483583  307200  150M 94 Amoeba BBT           CACHE                  RW
/dev/mmcblk0p18      1483584 3396415 1912832  934M 83 Linux
+
/dev/mmcblk0p18      1483584 3396415 1912832  934M 83 Linux               USERDATA              RW
/dev/mmcblk0p19      3396416 3420991  24576  12M 65 Novell Netware 386
+
/dev/mmcblk0p19      3396416 3420991  24576  12M 65 Novell Netware 386   EFS
/dev/mmcblk0p20      3420992 3470143  49152  24M 9a unknown
+
/dev/mmcblk0p20      3420992 3470143  49152  24M 9a unknown             IMG_BACKUP            RW
/dev/mmcblk0p21      3470144 3478335    8192    4M 63 GNU HURD or SysV
+
/dev/mmcblk0p21      3470144 3478335    8192    4M 63 GNU HURD or SysV     MISC                  RW
/dev/mmcblk0p22      3478336 3580735  102400  50M 67 unknown
+
/dev/mmcblk0p22      3478336 3580735  102400  50M 67 unknown             HIDDEN                RW
/dev/mmcblk0p23      3580736 7429803 3849068  1.9G 64 Novell Netware 286
+
/dev/mmcblk0p23      3580736 7429803 3849068  1.9G 64 Novell Netware 286   UMS(user files)        RW
/dev/mmcblk0p24      7429804 7437995    8192    4M 58 unknown
+
/dev/mmcblk0p24      7429804 7437995    8192    4M 58 unknown             MODEM_BKP              RW
 
</source>
 
</source>
 +
 +
==Downstream kernel==
 +
<!--===Basic info===
 +
<source lang="bash">
 +
samsung-s6500d:~$ neofetch
 +
user@samsung-s6500d
 +
-------------------
 +
OS: postmarketOS 1.0.3 armv7l
 +
Kernel: 3.4.105-caf-kk_2.7-stable
 +
Uptime: 2 mins
 +
Packages: 245 (apk)
 +
Shell: ash
 +
WM: catwm
 +
Terminal: /dev/pts/0
 +
CPU: QCT MSM7x27a FFA (1) @ 1.008GHz
 +
Memory: 45MiB / 385MiB
 +
 +
samsung-s6500d:~$ sudo lshw
 +
samsung-s6500d             
 +
    description: Computer
 +
    width: 256 bits
 +
  *-core
 +
      description: Motherboard
 +
      physical id: 0
 +
    *-memory
 +
          description: System memory
 +
          physical id: 0
 +
          size: 385MiB
 +
    *-cpu
 +
          physical id: 1
 +
          bus info: cpu@0
 +
          size: 1008MHz
 +
          capacity: 1008MHz
 +
          capabilities: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 cpufreq
 +
  *-network:0 DISABLED
 +
      description: Ethernet interface
 +
      physical id: 1
 +
      logical name: rmnet6
 +
      serial: 52:b2:c7:40:d1:2d
 +
      capabilities: ethernet physical
 +
      configuration: broadcast=yes multicast=yes
 +
  *-network:1 DISABLED
 +
      description: Ethernet interface
 +
      physical id: 2
 +
      logical name: rmnet1
 +
      serial: de:a7:d7:27:66:c7
 +
      capabilities: ethernet physical
 +
      configuration: broadcast=yes multicast=yes
 +
  *-network:2
 +
      description: Ethernet interface
 +
      physical id: 3
 +
      logical name: usb0
 +
      serial: 6e:78:d2:86:86:26
 +
      capabilities: ethernet physical
 +
      configuration: broadcast=yes driver=g_ether driverversion=29-May-2008 firmware=msm72k_udc ip=172.16.42.1 link=yes multicast=yes
 +
  *-network:3 DISABLED
 +
      description: Ethernet interface
 +
      physical id: 4
 +
      logical name: rmnet5
 +
      serial: 32:a3:3f:56:62:1c
 +
      capabilities: ethernet physical
 +
      configuration: broadcast=yes multicast=yes
 +
  *-network:4 DISABLED
 +
      description: Ethernet interface
 +
      physical id: 5
 +
      logical name: rmnet0
 +
      serial: 06:d7:c2:e5:15:85
 +
      capabilities: ethernet physical
 +
      configuration: broadcast=yes multicast=yes
 +
  *-network:5 DISABLED
 +
      description: Ethernet interface
 +
      physical id: 6
 +
      logical name: rmnet4
 +
      serial: da:df:9e:86:b7:9f
 +
      capabilities: ethernet physical
 +
      configuration: broadcast=yes multicast=yes
 +
  *-network:6 DISABLED
 +
      description: Ethernet interface
 +
      physical id: 7
 +
      logical name: rmnet3
 +
      serial: 3e:25:2a:c7:0f:76
 +
      capabilities: ethernet physical
 +
      configuration: broadcast=yes multicast=yes
 +
  *-network:7 DISABLED
 +
      description: Ethernet interface
 +
      physical id: 8
 +
      logical name: rmnet7
 +
      serial: 86:bc:19:51:a1:dd
 +
      capabilities: ethernet physical
 +
      configuration: broadcast=yes multicast=yes
 +
  *-network:8 DISABLED
 +
      description: Ethernet interface
 +
      physical id: 9
 +
      logical name: rmnet2
 +
      serial: 9a:d9:81:bb:8e:9e
 +
      capabilities: ethernet physical
 +
      configuration: broadcast=yes multicast=yes
 +
</source>-->

Latest revision as of 19:16, 7 June 2019

Samsung Galaxy Mini 2
Samsung s6500d
Samsung s6500d
Manufacturer Samsung
Name Galaxy Mini 2
Codename samsung-s6500d, s6500, jena
Released 2012
Original software Android 2.3.4
postmarketOS kernel 3.4 from Cyanogen
Hardware
Chipset Qualcomm MSM7227A Snapdragon S1
CPU ARM Cortex-A5 800 Mhz
GPU Adreno 200
Display 320×480
Storage 4GB
Memory physically probably 512MiB, limited by kernel to ~385MiB (faulty dices/Java something?)
Architecture armhf
Features
USB Networking
Works
Flashing
Works
Touchscreen
Partial
Display
Works
WiFi
Xwayland
FDE
Mainline
Broken
Battery
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG



Contributors

Maintainer(s)

Users owning this device

  • Halamix2 (Notes: SD card slot may be broken)


What works

  • Boots
  • SSH through USB
  • display
  • flashing

What does not work

  • Restart after ~2 minutes 22 seconds
  • No input (keys and screen)
  • osk-keyboard
  • Wi-Fi
  • XWayland
  • FDE
  • Not mainlined
  • No charging with turned off phone (is it even supported?)
  • 3D acceleration
  • Accelerometers and other sensors
  • Audio
  • Bluetooth
  • Camera
  • GPS
  • Mobile data
  • SMS
  • Voice

Devices

Component Hardware Downstream Downstream driver/firmware Upstream Upstream driver/firmware Notes
Touchscreen unknown P unknown - - it doesn't seem very responsive in some situations; contains menu and back touch keys, event0
Display msmfb30_30001 Y unknown - - works, /sys/class/graphics/fb0/name is weird, oh well, Qualcomm
Wi-Fi AR6003? N unknown - -
Bluetooth unknown N unknown - -
Battery bq27425 N unknown - -
3D Adreno200 N unknown - - should be able to use freedreno
Camera sr300pc20? N unknown - -
Audio unknown N unknown - - AFAIK none of the Qualcomm-based devices have working audio yet :(
Magnetometer bma222(e)? N unknown - - event2
Accelerometer bma222(e) N unknown - - event4
Orientation bma222(e) N unknown - - event3
Proximity Sharp gp2a? N unknown - - event5
Temperature unknown N unknown - - there should be one, right??
FM Radio unknown N unknown - - Android sees this as radio-tavarua under /sys/class/video4linux/radio0
Vibrations unknown N unknown - -
Buttons unknown N unknown - - contains home and volume buttons, 7x27a_kp, event1
Audio buttons unknown N unknown - - contains power button as well, event6
GPS unknown N unknown - -
Mobile data unknown N unknown - -
SMS unknown N unknown - -
Calls unknown N unknown - -
OTG FSA9280 N unknown - - not supported by phone, theoretically supported by SoC, maybe possible wih external power source; That chip is responsible for switching USB functionality with UART etc.
FDE - P - - - osk-sdl works, partition is unlocked and then phone is stuck, no screen, no ssh, no telnet
Mainline - - - N - No existing dtb for device and SoC
XWayland - N - - - not tested yet, can be tested with xeyes, I hope this is enough

Chips

cat /sys/bus/i2c/devices/*/name
sr300pc20 #camera? CMOS image sensor
sx1508q
sc628a
marimba
marimba
sx1509q
sec_touch
FSA9280 # USB multiplexer
bma222 #accel
bma222e #accel
hscd_i2c
gp2a
pn544 #NFC controller, s6500 uses this, s6500d doesn't, don't know why it's there
bq27425 #battery gauge


To do

informations below may be chaotic and change often

SMSM_RESET

Most annoying problem sunce everything on the phone has to be done within 2 minutes. After about 2mins 22secs phone reboots with dmesg showing SMSM: Modem SMSM state changed to SMSM_RESET This message is hardcoded into arch/arm/mach-msm/smd.c

Probably caused my modem, check all MODEM and MSM*_MODEM_* related options in menuconfig (there is one called reset, one reboot and one just modem) or find binary blobs if possible.

Touch screen

The screen as well as two touch buttons (menu and back) are combined together as /dev/input/event1. It displays some sort of animation when pressing buttons in postmarket demos window in weston but only for first press or two. weston-calibrate does not work

Home button and volume buttons are /dev/input/event1, where power button is recognised as /dev/input/event6

Mainline

Currently we have working 3.4 kernel, no DTS files for qcom-msm7227a.

Get data form all over the kernel source code (mainly arch/mach-msm/board-<board name>.c for starters and recreate it in .dts file(s).

Get UART working, then test basic DTS with just basics to get earlycon/earlyprintk working:

  • used voltage is 1.8V
  • needed resistor is *probably* 619kΩ
  • unknown name of the port in original kernel, candidates are ttyMSM0, tty0, ttyHS0, ttyHSL0 and ttyGS0
  • trying to get UART on 0xa9a00000 (ttyMSM0)
  • dtb probably misses clocks, maybe interrupts and other things
This dtb file goal is to get working UART, nothing more, rest of the work will be continued on regular git repository when/if UART starts working

Unfinished, not working dtb

Useful links (mainly dts stuff)

The Mainline Kernel – our docs about mainlining

Qualcomm mainline porting — our sparse docs about Qualcomm mainlining

Qualcomm SOC Mainlining Project – sadly no MSM7227a

Documentation/devicetree/ inside linux kernel files, should contain newest documentation about dts files, should be most reliable source of information

How to enter flash mode

Press power button and hold home button and VOL-, then press VOL+ to continue

Alternatively, plug in microUSB plug with GND and ID pins connected through 300KΩ resistor. (so-called USB jig)

Installation

For now see Installation Guide and Flashing on Porting to a new device

Partitions

fdisk -l /dev/mmcblk0
omitting empty partition (25)
Disk /dev/mmcblk0: 3.7 GiB, 3909091328 bytes, 7634944 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device          Boot   Start     End Sectors  Size Id Type                 PIT name               read-writeable?
/dev/mmcblk0p1  *          1      40      40   20K 4d QNX4.x               CFG_DATA
/dev/mmcblk0p2            41     340     300  150K 45 unknown              QCSBL
/dev/mmcblk0p3           341   41300   40960   20M  c W95 FAT32 (LBA)      FAT                    RW
/dev/mmcblk0p4         41301 7634943 7593643  3.6G  5 Extended             ? / partition.bin
/dev/mmcblk0p5         49152   51151    2000 1000K 46 unknown              OEMSBL
/dev/mmcblk0p6         51152   53151    2000 1000K 47 unknown              APPSBL
/dev/mmcblk0p7         53152   57151    4000    2M 5d unknown              SSD                    RW
/dev/mmcblk0p8         57152   81727   24576   12M 48 unknown              APPS / boot partition  RW
/dev/mmcblk0p9         81728   87871    6144    3M 4a unknown              MODEM_ST1
/dev/mmcblk0p10        87872   94015    6144    3M 4b unknown              MODEM_ST2
/dev/mmcblk0p11        94016  110399   16384    8M 90 unknown              PERSIST                RW
/dev/mmcblk0p12       110400  134975   24576   12M 91 unknown              RECOVERY               RW
/dev/mmcblk0p13       134976  143167    8192    4M 92 unknown              PARAMETER              RW
/dev/mmcblk0p14       143168  151359    8192    4M 93 Amoeba               SECURE                 RW
/dev/mmcblk0p15       151360  152383    1024  512K 95 unknown              PIT                    RW
/dev/mmcblk0p16       152384 1176383 1024000  500M 82 Linux swap / Solaris SYSTEM                 RW
/dev/mmcblk0p17      1176384 1483583  307200  150M 94 Amoeba BBT           CACHE                  RW
/dev/mmcblk0p18      1483584 3396415 1912832  934M 83 Linux                USERDATA               RW
/dev/mmcblk0p19      3396416 3420991   24576   12M 65 Novell Netware 386   EFS
/dev/mmcblk0p20      3420992 3470143   49152   24M 9a unknown              IMG_BACKUP             RW
/dev/mmcblk0p21      3470144 3478335    8192    4M 63 GNU HURD or SysV     MISC                   RW
/dev/mmcblk0p22      3478336 3580735  102400   50M 67 unknown              HIDDEN                 RW
/dev/mmcblk0p23      3580736 7429803 3849068  1.9G 64 Novell Netware 286   UMS(user files)        RW
/dev/mmcblk0p24      7429804 7437995    8192    4M 58 unknown              MODEM_BKP              RW

Downstream kernel