掌機 - FunKey S - 焊接UART



參考資訊:
https://github.com/FunKey-Project/FunKey-S-Hardware

UART腳位位於PCB上方


連接到電腦


Baudrate 115200bps

U-Boot 2020.10-funkey (Sep 24 2023 - 12:31:02 +0200) FunKey

DRAM:  64 MiB
MMC:   mmc@01c0f000: 0
Loading Environment from MMC... OK
Hit any key to stop autoboot:  0 
Valid chip addresses: 76
f8ff
13378 bytes read in 2 ms (6.4 MiB/s)
3538568 bytes read in 162 ms (20.8 MiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Using Device Tree in place at 41800000, end 41806441

Starting kernel ...


 _______               __  __              
|    ___|.--.--.-----.|  |/  |.-----.--.--.
|    ___||  |  |     ||     < |  -__|  |  |
|___|    |_____|__|__||__|\__||_____|___  |
         FUN ON A KEYCHAIN          |_____|
 -----------------------------------------------------
 Version 2.3.0
 -----------------------------------------------------

Running sysctl: OK
Starting rc.local: OK
mkdir: can't create directory 'Atari lynx': File exists
mkdir: can't create directory 'Game Boy': File exists
mkdir: can't create directory 'Game Boy Color': File exists
mkdir: can't create directory 'Game Boy Advance': File exists
mkdir: can't create directory 'Game Gear': File exists
mkdir: can't create directory 'Neo Geo Pocket': File exists
mkdir: can't create directory 'NES': File exists
mkdir: can't create directory 'PS1': File exists
mkdir: can't create directory 'Sega Genesis': File exists
mkdir: can't create directory 'Sega Master System': File exists
mkdir: can't create directory 'SNES': File exists
mkdir: can't create directory 'WonderSwan': File exists
mkdir: can't create directory 'PCE-TurboGrafx': File exists
mkdir: can't create directory 'Libretro': File exists
mkdir: can't create directory 'Native games': File exists
mkdir: can't create directory 'Main': File exists
Starting share: OK
Starting FunKey GPIO daemon: OK
Starting low_bat_check: OK
Starting system_stats: OK
Starting ALSA: OK
Restore saved volume
Restore saved brightness
Start frontend

root@FunKey:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.14-funkey (root@DAVID-QA-LAPTOP) (gcc version 10.2.0 (Buildroot 2020.11-341-g1f59bd3b48)) #1 SMP Sun Sep 24 12:50:50 CEST 2023
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: FunKey
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat c093cbc0, node_mem_map c3f7a000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] random: fast init done
[    0.000000] percpu: Embedded 14 pages/cpu @c3f60000 s25484 r8192 d23668 u57344
[    0.000000] pcpu-alloc: s25484 r8192 d23668 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait fbcon=map:10 fbcon=font:VGA8x8 vt.global_cursor_default=0 root=/dev/mmcblk0p2 rootfstype=ext4 rootflags=commit=120,t
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 56172K/65536K available (5120K kernel code, 245K rwdata, 1080K rodata, 1024K init, 193K bss, 9364K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xc4800000 - 0xff800000   ( 944 MB)
                   lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc0600000   (6112 kB)
                     .init : 0xc0800000 - 0xc0900000   (1024 kB)
                     .data : 0xc0900000 - 0xc093d720   ( 246 kB)
                      .bss : 0xc093f000 - 0xc096f57c   ( 194 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000016] Switching to timer-based delay loop, resolution 41ns
[    0.000189] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000418] Console: colour dummy device 80x30
[    0.000453] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000466] pid_max: default: 32768 minimum: 301
[    0.000617] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000627] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001300] CPU: Testing write buffer coherency: ok
[    0.001704] CPU0: update cpu_capacity 1024
[    0.001713] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002171] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002333] Hierarchical SRCU implementation.
[    0.002819] smp: Bringing up secondary CPUs ...
[    0.002827] smp: Brought up 1 node, 1 CPU
[    0.002835] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002840] CPU: All CPU(s) started in SVC mode.
[    0.003595] devtmpfs: initialized
[    0.006911] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.007244] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007268] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007481] pinctrl core: initialized pinctrl subsystem
[    0.008195] NET: Registered protocol family 16
[    0.008597] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009551] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009562] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.020326] SCSI subsystem initialized
[    0.020443] usbcore: registered new interface driver usbfs
[    0.020508] usbcore: registered new interface driver hub
[    0.020588] usbcore: registered new device driver usb
[    0.021002] Advanced Linux Sound Architecture Driver Initialized.
[    0.022015] clocksource: Switched to clocksource arch_sys_counter
[    0.032458] NET: Registered protocol family 2
[    0.033132] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.033161] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.033181] TCP: Hash tables configured (established 1024 bind 1024)
[    0.033313] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.033359] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.033551] NET: Registered protocol family 1
[    0.035809] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.040908] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.045968] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.045983] io scheduler noop registered
[    0.045988] io scheduler deadline registered
[    0.046291] io scheduler cfq registered (default)
[    0.046300] io scheduler mq-deadline registered
[    0.046304] io scheduler kyber registered
[    0.050582] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.127167] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.129940] console [ttyS0] disabled
[    0.150219] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A
[    0.150299] console [ttyS0] enabled
[    0.152616] loop: module loaded
[    0.154249] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.154260] ehci-platform: EHCI generic platform driver
[    0.154545] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.154590] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.154760] ehci-platform 1c1a000.usb: irq 25, io mem 0x01c1a000
[    0.182042] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.183142] hub 1-0:1.0: USB hub found
[    0.183215] hub 1-0:1.0: 1 port detected
[    0.183823] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.183831] ohci-platform: OHCI generic platform driver
[    0.184129] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.184202] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.184333] ohci-platform 1c1a400.usb: irq 26, io mem 0x01c1a400
[    0.257094] hub 2-0:1.0: USB hub found
[    0.257174] hub 2-0:1.0: 1 port detected
[    0.258234] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    0.260102] sun6i-rtc 1c20400.rtc: registered as rtc0
[    0.260114] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.260289] i2c /dev entries driver
[    0.261449] axp20x-i2c 0-0034: AXP20x variant AXP209 found
[    0.270564] axp20x-gpio axp20x-gpio: AXP209 GPIO driver loaded
[    0.271469] ldo1: supplied by regulator-dummy
[    0.271709] ldo2: supplied by regulator-dummy
[    0.272827] ldo3: supplied by regulator-dummy
[    0.273468] ldo4: supplied by regulator-dummy
[    0.273643] ldo5: supplied by regulator-dummy
[    0.274257] dcdc2: supplied by regulator-dummy
[    0.274901] dcdc3: supplied by regulator-dummy
[    0.276316] axp20x-i2c 0-0034: AXP20X driver loaded
[    0.278215] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.332059] sunxi-mmc 1c0f000.mmc: base:0xc486f000 irq:23
[    0.332609] fbtft_of_value: height = 240
[    0.332620] fbtft_of_value: buswidth = 8
[    0.332627] fbtft_of_value: debug = 0
[    0.332633] fbtft_of_value: rotate_soft = 270
[    0.332638] fbtft_of_value: fps = 100
[    0.332658] fbtft_probe_dt: te-irq = GPIO33
[    0.332668] fbtft_probe_dt: TE GPIO33 => IRQ id = 38
[    0.478473] Console: switching to colour frame buffer device 30x30
[    0.480198] graphics fb0: fb_st7789v frame buffer, 240x240 used res out of 320x240 driver full res, 112 KiB video memory, 3 back buffers, fps=100, spi0.0 at 75 MHz, SPI mode async
[    0.486179] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    0.488815] NET: Registered protocol family 10
[    0.490258] Segment Routing with IPv6
[    0.490352] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.491152] NET: Registered protocol family 17
[    0.491206] Key type dns_resolver registered
[    0.491300] Registering SWP/SWPB emulation handler
[    0.504104] mmc0: host does not support reading read-only switch, assuming write-enable
[    0.507790] mmc0: new high speed SDHC card at address e624
[    0.508532] mmcblk0: mmc0:e624 SL16G 14.8 GiB 
[    0.511841]  mmcblk0: p1 p2 p3 p4
[    0.531136] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:34:10 UTC (2050)
[    0.535301] PM: Image not found (code -22)
[    0.536957] ALSA device list:
[    0.536967]   #0: V3s Audio Codec
[    0.542259] EXT4-fs (mmcblk0p2): barriers disabled
[    0.544992] EXT4-fs (mmcblk0p2): mounted filesystem with writeback data mode. Opts: commit=120,data=writeback,barrier=0,journal_async_commit
[    0.545083] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    0.546046] devtmpfs: mounted
[    0.547585] Freeing unused kernel memory: 1024K
[    0.648737] FAT-fs (mmcblk0p4): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[    0.715417] Adding 131068k swap on /dev/mmcblk0p3.  Priority:-2 extents:1 across:131068k SS
[    1.060335] Mass Storage Function, version: 2009/09/11
[    1.060357] LUN: removable file: (no medium)
[    1.187561] input: ample as /devices/virtual/input/input0
[    1.323493] Starting ALSA: 
[    1.404307] OK
[    1.543049] configfs-gadget gadget: high-speed config #1: FunKey
[    3.979270] random: crng init done