Jump to content

Samsung Galaxy A12 Nacho (samsung-a127f): Difference between revisions

From postmarketOS Wiki
User0 (talk | contribs)
close code tag
Famfo (talk | contribs)
Add image; Update boot status
Line 4: Line 4:
| codename = samsung-a127f
| codename = samsung-a127f
| model = SM-A127F/DSN, SM-A127F/DS, SM-A127F, SM-A127M, SM-A127U
| model = SM-A127F/DSN, SM-A127F/DS, SM-A127F, SM-A127M, SM-A127U
| image = File:CHANGE_ME_TO_DEVICE_CODENAME.jpg
| image = File:Samsung-a127f.jpeg
| imagecaption = CHANGE_ME
| imagecaption = A127F booting to a kernel panic, 8 cores are recognized
| releaseyear = 2021
| releaseyear = 2021
| category = testing
| category = testing
Line 28: Line 28:
| status_3d =  
| status_3d =  
| status_fde =
| status_fde =
| status_emmc =
| status_emmc = N
| status_wifi =  
| status_wifi =  
| status_mainline = N
| status_mainline = N
Line 78: Line 78:
* ported uniLoader
* ported uniLoader
* wrote an initial device tree
* wrote an initial device tree
* crashes on boot
* loads into initramfs
 
* crashes in initramfs on clock init
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px; overflow:auto;">
<div style="font-weight:bold;line-height:1.6;">Kernel log</div>
<div class="mw-collapsible-content">
<pre>
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd051]
[    0.000000] Linux version 6.14.0-rc2-00259-g7ff71e6d9239-dirty (famfo@duna) (aarch64-unknown-linux-gnu-gcc (GCC) 14.2.1 20241116, GNU ld (GNU Binutils) 2.43.1) #5 SMP PREEMPT Sun Feb 16 03:30:34 CET 2025
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: Samsung Galaxy A12 Nacho (A127F)
[    0.000000] earlycon: exynos4210 at MMIO 0x0000000013820000 (options '')
[    0.000000] printk: legacy bootconsole [exynos4210] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[    0.000000] OF: reserved mem: invalid alignment property in 'ion_crypto' node.
[    0.000000] OF: reserved mem: invalid alignment property in 'ion_video_fw' node.
[    0.000000] OF: reserved mem: invalid alignment property in 'ion_video_stream' node.
[    0.000000] OF: reserved mem: invalid alignment property in 'ion_video_frame' node.
[    0.000000] OF: reserved mem: invalid alignment property in 'ion_video_scaler' node.
[    0.000000] OF: reserved mem: invalid alignment property in 'ion_video_nfw' node.
[    0.000000] OF: reserved mem: invalid alignment property in 'ion_ext_ui' node.
[    0.000000] OF: reserved mem: invalid alignment property in 'ion_tui_buf' node.
[    0.000000] OF: reserved mem: 0x00000008ff400000..0x00000008ffffffff (12288 KiB) map non-reusable wifibt_if
[    0.000000] OF: reserved mem: 0x00000000bff80000..0x00000000bfffffff (512 KiB) map non-reusable el3mon_reserve
[    0.000000] OF: reserved mem: 0x00000000fd000000..0x00000000fd04ffff (320 KiB) map non-reusable chub_rmem
[    0.000000] OF: reserved mem: 0x0000000080000000..0x0000000080000fff (4 KiB) map non-reusable sec_debug_magic
[    0.000000] OF: reserved mem: 0x00000000ed310000..0x00000000ed311fff (8 KiB) map non-reusable teegris_rmem
[    0.000000] OF: reserved mem: 0x00000000d0000000..0x00000000d87fffff (139264 KiB) map non-reusable cp_rmem
[    0.000000] OF: reserved mem: 0x00000000ee000000..0x00000000ee5fffff (6144 KiB) map non-reusable gnss_rmem
[    0.000000] OF: reserved mem: 0x00000000c3000000..0x00000000c307ffff (512 KiB) map non-reusable seclog_mem
[    0.000000] OF: reserved mem: 0x00000000ec000000..0x00000000ec3fffff (4096 KiB) map non-reusable abox_dbg@0xE9400000
[    0.000000] OF: reserved mem: 0x00000000e6c00000..0x00000000e93fffff (40960 KiB) map non-reusable abox-slog
[    0.000000] OF: reserved mem: 0x00000000ed210000..0x00000000ed30ffff (1024 KiB) map non-reusable camera_rmem
[    0.000000] OF: reserved mem: 0x00000000fa000000..0x00000000facfffff (13312 KiB) map non-reusable bootloader_fb
[    0.000000] OF: reserved mem: 0x00000000e1900000..0x00000000e2e1ffff (21632 KiB) map non-reusable secure_camera
[    0.000000] OF: reserved mem: 0x00000000db900000..0x00000000dc3fffff (11264 KiB) map non-reusable camera_contig
[    0.000000] OF: reserved mem: 0x00000000e2e20000..0x00000000e359ffff (7680 KiB) map non-reusable secure_camera_ext
[    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000008ffffffff]
[    0.000000] NODE_DATA(0) allocated [mem 0x8febec740-0x8febeed7f]
[    0.000000] Zone ranges:
[    0.000000]  DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]  DMA32    empty
[    0.000000]  Normal  [mem 0x0000000100000000-0x00000008ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]  node  0: [mem 0x0000000080000000-0x00000000bc8fffff]
[    0.000000]  node  0: [mem 0x00000000c0000000-0x00000000dfffffff]
[    0.000000]  node  0: [mem 0x00000000e0d00000-0x00000000ffffffff]
[    0.000000]  node  0: [mem 0x0000000880000000-0x00000008ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
[    0.000000] On node 0, zone DMA: 14080 pages in unavailable ranges
[    0.000000] On node 0, zone DMA: 3328 pages in unavailable ranges
[    0.000000] cma: Reserved 32 MiB at 0x00000000fe000000 on node -1
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 24 pages/cpu s59480 r8192 d30632 u98304
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS0,115200 console=tty0 earlycon=exynos4210,0x13820000
[    0.000000] printk: log buffer data + meta data: 131072 + 458752 = 589824 bytes
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1031168
[    0.000000] Policy zone: Normal
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 8.
[    0.000000] software IO TLB: mapped [mem 0x00000000f6000000-0x00000000fa000000] (64MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: RCU event tracing is enabled.
[    0.000000] rcu: RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=8.
[    0.000000] Trampoline variant of Tasks RCU enabled.
[    0.000000] Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[    0.000000] RCU Tasks: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=8.
[    0.000000] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=8.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: frequency not available
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: CPU: 0 PID: 0 at kernel/time/clockevents.c:38 cev_delta2ns+0xac/0xc8
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.14.0-rc2-00259-g7ff71e6d9239-dirty #5
[    0.000000] Hardware name: Samsung Galaxy A12 Nacho (A127F) (DT)
[    0.000000] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    0.000000] pc : cev_delta2ns+0xac/0xc8
[    0.000000] lr : clockevents_config.part.0+0x68/0xb4
[    0.000000] sp : ffff80008173bba0
[    0.000000] x29: ffff80008173bba0 x28: ffff800081741fb0 x27: 0000000000000077
[    0.000000] x26: 0000000000000000 x25: 0000000000000001 x24: 0000000000000000
[    0.000000] x23: ffff8007fd499000 x22: ffffffffffffffff x21: ffff8000814b1368
[    0.000000] x20: ffff800081687fc0 x19: ffff00087eb26380 x18: 0000000000000000
[    0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[    0.000000] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[    0.000000] x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000
[    0.000000] x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000
[    0.000000] x5 : 0000000000000020 x4 : 0000000000000000 x3 : 0000000f00000000
[    0.000000] x2 : 0000000000000000 x1 : ffff00087eb26380 x0 : 000000000000000f
[    0.000000] Call trace:
[    0.000000]  cev_delta2ns+0xac/0xc8 (P)
[    0.000000]  clockevents_config_and_register+0x24/0x60
[    0.000000]  arch_timer_starting_cpu+0x178/0x398
[    0.000000]  cpuhp_invoke_callback+0x154/0x280
[    0.000000]  cpuhp_issue_call+0x1dc/0x1f8
[    0.000000]  __cpuhp_setup_state_cpuslocked+0x10c/0x2f0
[    0.000000]  __cpuhp_setup_state+0x50/0x90
[    0.000000]  arch_timer_register+0x170/0x200
[    0.000000]  arch_timer_of_init+0x120/0x168
[    0.000000]  timer_probe+0x6c/0x12c
[    0.000000]  time_init+0x18/0x60
[    0.000000]  start_kernel+0x4fc/0x68c
[    0.000000]  __primary_switched+0x88/0x90
[    0.000000] ---[ end trace 0000000000000000 ]---
[    0.000000] arch_timer: cp15 timer(s) running at 0.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffffff max_cycles: 0x0, max_idle_ns: 0 ns
[    0.000000] sched_clock: 64 bits at 0 Hz, resolution 0ns, wraps every 0ns
[    0.000000] clocksource: mct-frc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 73510017198 ns
[    0.000000] sched_clock: 32 bits at 26MHz, resolution 38ns, wraps every 82595524588ns
[    0.008040] Kernel panic - not syncing: Unable to initialise architected timer.
[    0.015116] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G        W          6.14.0-rc2-00259-g7ff71e6d9239-dirty #5
[    0.025710] Tainted: [W]=WARN
[    0.028660] Hardware name: Samsung Galaxy A12 Nacho (A127F) (DT)
[    0.034654] Call trace:
[    0.037085]  show_stack+0x18/0x3c (C)
[    0.040734]  dump_stack_lvl+0x60/0x94
[    0.044380]  dump_stack+0x18/0x30
[    0.047680]  panic+0x168/0x360
[    0.050720]  time_init+0x30/0x60
[    0.053934]  start_kernel+0x4fc/0x68c
[    0.057582]  __primary_switched+0x88/0x90
[    0.061584] ---[ end Kernel panic - not syncing: Unable to initialise architected timer. ]---
</pre>
</div>
</div>


== How to enter flash mode ==
== How to enter flash mode ==

Revision as of 15:40, 16 February 2025

Samsung Galaxy A12 Nacho
A127F booting to a kernel panic, 8 cores are recognized
A127F booting to a kernel panic, 8 cores are recognized
Manufacturer Samsung
Name Galaxy A12 Nacho
Codename samsung-a127f
Model SM-A127F/DSN, SM-A127F/DS, SM-A127F, SM-A127M, SM-A127U
Released 2021
Type handset
Hardware
Chipset Samsung Exynos 850
CPU 4x2.0 GHz Cortex-A55 & 4x2.0 GHz Cortex-A55
GPU Mali-G52
Display 720 x 1600 LCD
Storage 32/64/128GB
Memory 3/4GB
Architecture aarch64
Software
Original software Android (One UI)
Original version 11
FOSS bootloader partial
postmarketOS
Category testing
Pre-built images no
Mainline no
postmarketOS kernel 6.14.0-rc2
Unixbench Whet/Dhry score 0.0
Features
Flashing
No data
USB Networking
No data
Internal storage
Broken
SD card
No data
Battery
No data
Screen
No data
Touchscreen
No data
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
IR TX
No data
Connectivity
WiFi
No data
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Haptics
No data
Power Sensor
No data


Contributors

Users owning this device

Current status

  • ported uniLoader
  • wrote an initial device tree
  • loads into initramfs
  • crashes in initramfs on clock init

How to enter flash mode

Press both volume up and volume down while booting the device to enter Odin.

Installation

Using pmbootstrap

Follow Installation/Using pmbootstrap. When asked for the device's vendor/codename, select FIXME as the vendor and FIXME as the codename.

To flash the image to the device:

  • Enter flashing mode (see #How to enter flash mode)
  • Run pmbootstrap flasher flash_kernel to flash the kernel
  • Run pmbootstrap flasher flash_rootfs


See also