Jump to content

Samsung Z1 (samsung-kiran): Difference between revisions

From postmarketOS Wiki
Peremen (talk | contribs)
Created page with "{{Infobox device | manufacturer = Samsung | name = Z1 | codename = samsung-kiran | image = | imagecaption = | releaseyear = 2015 | originalsoftware = Tizen 2.4.0 (Magnolia)..."
 
Peremen (talk | contribs)
Line 58: Line 58:


== Installation/Problems ==
== Installation/Problems ==
Technically similar as Samsung's Android counterparts, however, there are some caveats. The stock Tizen boot image uses dzImage, basically vmlinuz + Spreadtrum dtb binary (can generate using dtbtool-sprd) with custom header. Because Tizen kernel does not enable initramfs, and S-BOOT seems to lack support of it, there is no way to boot initramfs of postmarketOS. Booting using dzImage generated during pmbootstrap + Tizen rootfs boots but there is no display with this combination.
Technically similar as Samsung's Android counterparts, however, there are some caveats. The stock Tizen boot image uses dzImage, basically vmlinuz + Spreadtrum dtb binary (can generate using dtbtool-sprd) with custom header. Because Tizen kernel does not enable initramfs, and S-BOOT seems to lack support of it, usage of isorec is required. Booting using dzImage generated during pmbootstrap + Tizen rootfs boots but there is no display with this combination.


As a result of missing initramfs and kpartx, the kernel does not boot yet:
The kernel does not completely boot yet.
<pre>
[  11.826652]  [0:      swapper/0:    1] [c0] printing data of superblock-bh
[  11.826667]  [0:      swapper/0:    1] [c0]  print_bh: bh ee52c0c0, bh->b_size 1024, bh->b_data effec400
[  11.826678]  [0:      swapper/0:    1] [c0] As EXT4-fs error, printing data in hex
[  11.826689]  [0:      swapper/0:    1] [c0]  [partition info] s_id : mmcblk0p24, start block# : 5779456
[  11.826702]  [0:      swapper/0:    1] [c0]  dump block# : 1, start offset(byte) :
[  11.826710]  [0:      swapper/0:    1]  0, length(byte) : 1024
[  11.826720]  [0:      swapper/0:    1] [c0] -------------------------------------------------
[  11.826739]  [0:      swapper/0:    1] [c0] 0x0000 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
...
[  11.827952]  [0:      swapper/0:    1] [c0] 0x03f0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
[  11.827962]  [0:      swapper/0:    1] [c0] ---------------------------------------------------
[  11.828059]  [0:      swapper/0:    1] [c0] List of all partitions:
[  11.828083]  [0:      swapper/0:    1] [c0] b300        3817472 mmcblk0  driver: mmcblk
[  11.828099]  [0:      swapper/0:    1] [c0]  b301            1024 mmcblk0p1 52444e41-494f-2044-4649-584e56310000
[  11.828116]  [0:      swapper/0:    1] [c0]  b302            1024 mmcblk0p2 52444e41-494f-2044-4649-584e56320000
[  11.828132]  [0:      swapper/0:    1] [c0]  b303            1024 mmcblk0p3 52444e41-494f-2044-5255-4e54494d454e
[  11.828148]  [0:      swapper/0:    1] [c0]  b304            1024 mmcblk0p4 52444e41-494f-2044-5255-4e54494d454e
[  11.828163]  [0:      swapper/0:    1] [c0]  b305            1024 mmcblk0p5 52444e41-494f-2044-5743-4e4649584e56
[  11.828178]  [0:      swapper/0:    1] [c0]  b306            1024 mmcblk0p6 52444e41-494f-2044-5743-4e4649584e56
[  11.828193]  [0:      swapper/0:    1] [c0]  b307            1024 mmcblk0p7 52444e41-494f-2044-5743-4e52554e5449
[  11.828209]  [0:      swapper/0:    1] [c0]  b308            1024 mmcblk0p8 52444e41-494f-2044-5743-4e52554e5449
[  11.828224]  [0:      swapper/0:    1] [c0]  b309            8192 mmcblk0p9 52444e41-494f-2044-4353-410000000000
[  11.828240]  [0:      swapper/0:    1] [c0]  b30a            9216 mmcblk0p10 52444e41-494f-2044-5052-4f444e560000
[  11.828255]  [0:      swapper/0:    1] [c0]  b30b            2048 mmcblk0p11 52444e41-494f-2044-424f-544130000000
[  11.828271]  [0:      swapper/0:    1] [c0]  b30c            2048 mmcblk0p12 52444e41-494f-2044-424f-544131000000
[  11.828286]  [0:      swapper/0:    1] [c0]  b30d            2048 mmcblk0p13 52444e41-494f-2044-5342-4f4f54000000
[  11.828302]  [0:      swapper/0:    1] [c0]  b30e            8192 mmcblk0p14 52444e41-494f-2044-5041-52414d000000
[  11.828317]  [0:      swapper/0:    1] [c0]  b30f            8192 mmcblk0p15 52444e41-494f-2044-4b45-524e454c0000
[  11.828332]  [0:      swapper/0:    1] [c0]  b310            8192 mmcblk0p16 52444e41-494f-2044-5245-434f56455259
[  11.828348]  [0:      swapper/0:    1] [c0]  b311            8192 mmcblk0p17 52444e41-494f-2044-5241-4d4449534b00
[  11.828363]  [0:      swapper/0:    1] [c0]  b312            8192 mmcblk0p18 52444e41-494f-2044-4d4f-44454d000000
[  11.828379]  [0:      swapper/0:    1] [c0]  b313            4096 mmcblk0p19 52444e41-494f-2044-4453-500000000000
[  11.828394]  [0:      swapper/0:    1] [c0]  b314            2048 mmcblk0p20 52444e41-494f-2044-5743-4e4d4f44454d
[  11.828410]  [0:      swapper/0:    1] [c0]  b315          32768 mmcblk0p21 52444e41-494f-2044-4353-430000000000
[  11.828425]  [0:      swapper/0:    1] [c0]  b316          131072 mmcblk0p22 52444e41-494f-2044-5359-5354454d2d44
[  11.828441]  [0:      swapper/0:    1] [c0]  b317        2641920 mmcblk0p23 52444e41-494f-2044-5553-455200000000
[  11.828456]  [0:      swapper/0:    1] [c0]  b318          917504 mmcblk0p24 52444e41-494f-2044-524f-4f5446530000
[  11.828476]  [0:      swapper/0:    1] [c0] b360            512 mmcblk0rpmb  (driver?)
[  11.828492]  [0:      swapper/0:    1] [c0] b340            4096 mmcblk0boot1  (driver?)
[  11.828507]  [0:      swapper/0:    1] [c0] b320            4096 mmcblk0boot0  (driver?)
[  11.828519]  [0:      swapper/0:    1] [c0] No filesystem could mount root, tried:  ext4
[  11.828535]  [0:      swapper/0:    1] [c0] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,24)
[  11.828547]  [0:      swapper/0:    1] [c0] Modules linked in:
[  11.828563]  [0:      swapper/0:    1] [c0] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W    3.10.17 #1-postmarketOS-Tizen
[  11.828598]  [0:      swapper/0:    1] [c0] [<c0014338>] (unwind_backtrace+0x0/0x118) from [<c001240c>] (show_stack+0x10/0x14)
[  11.828621]  [0:      swapper/0:    1] [c0] [<c001240c>] (show_stack+0x10/0x14) from [<c0618170>] (panic+0x88/0x1d0)
[  11.828645]  [0:      swapper/0:    1] [c0] [<c0618170>] (panic+0x88/0x1d0) from [<c090bf00>] (mount_block_root+0x250/0x290)
[  11.828668]  [0:      swapper/0:    1] [c0] [<c090bf00>] (mount_block_root+0x250/0x290) from [<c090c0bc>] (prepare_namespace+0x118/0x178)
[  11.828688]  [0:      swapper/0:    1] [c0] [<c090c0bc>] (prepare_namespace+0x118/0x178) from [<c090bb60>] (kernel_init_freeable+0x180/0x1c8)
[  11.828708]  [0:      swapper/0:    1] [c0] [<c090bb60>] (kernel_init_freeable+0x180/0x1c8) from [<c0612ec4>] (kernel_init+0x8/0xe8)
[  11.828729]  [0:      swapper/0:    1] [c0] [<c0612ec4>] (kernel_init+0x8/0xe8) from [<c000efb8>] (ret_from_fork+0x14/0x3c)
[  12.962074]  [0:      swapper/0:    1] [c0] SMP: failed to stop secondary CPUs
[  12.962087]  [0:      swapper/0:    1] [c0] (sec_debug_hw_reset) rebooting...
</pre>


Building downstream kernel using GCC 10 does not boot, you need to use GCC 4. Booting non-stock kernel image will trip the KNOX bit, and show a red exclamation mark on the top left of boot screen.
Building downstream kernel using GCC 10 does not boot, you need to use GCC 4. Booting non-stock kernel image will trip the KNOX bit, and show a red exclamation mark on the top left of boot screen.

Revision as of 01:04, 10 June 2022

This device is marked as not booting.
Samsung Z1
Manufacturer Samsung
Name Z1
Codename samsung-kiran
Released 2015
Hardware
Chipset Spreadtrum SC7727S
CPU 2x ARM Cortex-A7
GPU Mali-400
Display 480x800 TFT
Storage 4 GB
Memory 768 MB
Architecture armv7
Software
Original software Tizen 2.4.0 (Magnolia)
postmarketOS
Category testing
Pre-built images no
Mainline no
postmarketOS kernel 3.10.17


Contributors

  • peremen

Maintainer(s)

Users owning this device

How to enter flash mode

Similar as Samsung's Android counterparts:

  • Hold Power + Home + Volume Down buttons to enter flash mode.
  • Hold Power + Home + Volume Up buttons to enter recovery mode.

Installation/Problems

Technically similar as Samsung's Android counterparts, however, there are some caveats. The stock Tizen boot image uses dzImage, basically vmlinuz + Spreadtrum dtb binary (can generate using dtbtool-sprd) with custom header. Because Tizen kernel does not enable initramfs, and S-BOOT seems to lack support of it, usage of isorec is required. Booting using dzImage generated during pmbootstrap + Tizen rootfs boots but there is no display with this combination.

The kernel does not completely boot yet.

Building downstream kernel using GCC 10 does not boot, you need to use GCC 4. Booting non-stock kernel image will trip the KNOX bit, and show a red exclamation mark on the top left of boot screen.

Components

See also