Installation / Removal > Other - Installation/Removal

Surfans F20 v3.4 - jztool doesn't seem to activate the screen

<< < (4/4)

speachy:

--- Quote from: speachy on October 10, 2024, 10:14:11 AM ---Lovely, they renamed that.  Easy enough to fix.

--- End quote ---

This build should solve the "shutting down immediately" problem:

   https://build.rockbox.org/data/rockbox-aigoerosq.zip

Give it a try!   We still need the requested info, especially if something still doesn't work.

jdharper:
Ah ha, success! Rockbox starts correctly now! I'll test it out and let you know if anything else weird happens.

Thanks for your help! Here's the requested output:

PS C:\Users\JD\Downloads\platform-tools-latest-windows\platform-tools> .\adb shell dmesg
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.14 (fkp@Android-Server) (gcc version 4.7.2 (Ingenic 2015.02) ) #1 PREEMPT Fri Aug 23 15:38:35 CST 2024
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 RESET ERROR PC:801E7F24
[    0.000000] [<801e7f24>] __delay+0x4/0x10
[    0.000000] CPU0 revision is: 2ed1024f (Ingenic Xburst)
[    0.000000] FPU revision is: 00330000
[    0.000000] CCLK:1008MHz L2CLK:504Mhz H0CLK:200MHz H2CLK:200Mhz PCLK:100Mhz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 004d5000 @ 00010000 (usable)
[    0.000000]  memory: 0003b000 @ 004e5000 (usable after init)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 804e2c20, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Primary instruction cache 16kB, 4-way, VIPT, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS2,115200n8 mem=32M@0x0 no_console_suspend lpj=5009408 ip=off init=/linuxrc ubi.mtd=4 root=ubi0:rootfs ubi.mtd=5 rootfstype=ubifs sn_no=00000000000000000000000000000000 bt_mac=425430003412 wifi_mac=xxxxxxxxxxxx rw
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 26628k/32768k available (3820k kernel code, 6140k reserved, 1124k data, 236k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:410
[    0.000000] clockevents_config_and_register success.
[    0.000000] Console: colour dummy device 80x25
[    0.004648] Calibrating delay loop (skipped) preset value.. 1001.88 BogoMIPS (lpj=5009408)
[    0.013031] pid_max: default: 32768 minimum: 301
[    0.018054] Mount-cache hash table entries: 512
[    0.023848] Initializing cgroup subsys devices
[    0.028433] Initializing cgroup subsys freezer
[    0.032863] Initializing cgroup subsys blkio
[    0.042210] regulator-dummy: no parameters
[    0.046988] NET: Registered protocol family 16
[    0.069164] bio: create slab <bio-0> at 0
[    0.075442] jz-dma jz-dma: JZ SoC DMA initialized
[    0.080967] SCSI subsystem initialized
[    0.084862] usbcore: registered new interface driver usbfs
[    0.090669] usbcore: registered new interface driver hub
[    0.096385] usbcore: registered new device driver usb
[    0.101725]  (null): set:999  hold:1000 dev=100000000 h=2000 l=2000
[    0.108684]  (null): set:249  hold:250 dev=100000000 h=500 l=500
[    0.821339] sa ok
[    0.823456] Advanced Linux Sound Architecture Driver Initialized.
[    0.830466] Bluetooth: Core ver 2.16
[    0.834139] NET: Registered protocol family 31
[    0.838681] Bluetooth: HCI device and connection manager initialized
[    0.845093] Bluetooth: HCI socket layer initialized
[    0.850001] Bluetooth: L2CAP socket layer initialized
[    0.855198] Bluetooth: SCO socket layer initialized
[    0.860279] The GPIO 85 is request
[    0.863669] The GPIO 85 is request
[    0.867164] The GPIO 85 is request
[    0.870693] axp20x-i2c 2-0034: AXP20x variant AXP2101 found
[    0.880217] axp20x-i2c 2-0034: AXP20X driver loaded
[    0.885423] Switching to clocksource jz_clocksource
[    0.890836] FS-Cache: Loaded
[    0.901207] jz-dwc2 jz-dwc2: regulator vbus get error
[    0.906337] DWC IN OTG MODE
[    1.060733] dwc2 dwc2: Keep PHY ON
[    1.064111] dwc2 dwc2: Using Buffer DMA mode
[    1.068440] dwc2 dwc2: Core Release: 3.00a
[    1.072699] dwc2 dwc2: DesignWare USB2.0 High-Speed Host Controller
[    1.079023] dwc2 dwc2: new USB bus registered, assigned bus number 1
[    1.086761] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.093758] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.101034] usb usb1: Product: DesignWare USB2.0 High-Speed Host Controller
[    1.108076] usb usb1: Manufacturer: Linux 3.10.14 dwc2-hcd
[    1.113658] usb usb1: SerialNumber: dwc2
[    1.118247] hub 1-0:1.0: USB hub found
[    1.122119] hub 1-0:1.0: 1 port detected
[    1.126421] dwc2 dwc2: DWC2 Host Initialized
[    1.131594] dwc2 dwc2: enter dwc2_gadget_plug_change:2690: plugin = 1 pullup_on = 0 suspend = 0
[    1.140778] NET: Registered protocol family 1
[    1.145935] 359,init_ddr_proc
[    1.157252] NTFS driver 2.1.30 [Flags: R/O].
[    1.162186] fuse init (API version 7.22)
[    1.166803] exFAT: Version 1.2.9
[    1.170247] msgmni has been set to 52
[    1.178582] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    1.186336] io scheduler noop registered
[    1.190236] io scheduler deadline registered
[    1.194990] io scheduler cfq registered (default)
[    1.200008]  gpio_request GPIO 45 , name lcd rst
[    1.204929]  gpio_request GPIO 89 , name BL PWR
[    1.209566] pwm-backlight pwm-backlight.0: unable to request PWM, trying legacy API
[    1.221215] jz-fb jz-fb: Frame buffer size: 307200 bytes
[    1.222543] DCDC1: 1500 <--> 3400 mV at 3300 mV
[    1.228471] DCDC2: 500 <--> 1540 mV at 1200 mV
[    1.234443] DCDC3: 500 <--> 3400 mV at 2800 mV
[    1.240485] DCDC4: 500 <--> 1840 mV at 1800 mV
[    1.246235] DCDC5: 1200 <--> 1630 mV at 1400 mV
[    1.251831] LDO1: 1800 mV
[    1.254776] LDO2: 1800 mV
[    1.258184] LDO3: 500 <--> 3500 mV at 2500 mV
[    1.264104] LDO4: 500 <--> 3500 mV at 3300 mV
[    1.269882] LDO5: 500 <--> 3500 mV at 3300 mV
[    1.275710] LDO6: 500 <--> 3500 mV at 3300 mV
[    1.281474] LDO7: 500 <--> 3500 mV at 3300 mV
[    1.287209] LDO8: 500 <--> 3500 mV at 3300 mV
[    1.293063] LDO9: 500 <--> 3300 mV at 2500 mV
[    1.298877] LDO10: 500 <--> 1400 mV at 1250 mV
[    1.304737] LDO11: 500 <--> 1400 mV at 500 mV
[    1.313294] jz-uart.0: ttyS0 at MMIO 0x10030000 (irq = 59) is a uart0
[    1.320133] jz-uart.2: ttyS2 at MMIO 0x10032000 (irq = 57) is a uart2
[    1.328254] console [ttyS2] enabled, bootconsole disabled
[    1.340035] register vprivilege driver OK! Major = 252
[    1.345613] register vprivilege driver OK! Major = 251
[    1.351526]  gpio_request GPIO 82 , name bt_reg_on
[    1.356583]  gpio_request GPIO 84 , name bt_wake_host
[    1.361985]  gpio_request GPIO 83 , name host_wake_bt
[    1.367750] usb_tcs1421_gpio_probe
[    1.371386]  gpio_request GPIO 62 , name USB_TCS1421_CFG1
[    1.377042]  gpio_request GPIO 101 , name USB_TCS1421_CFG0
[    1.392774] default mode:NormalDRP
[    1.397900] nand_magic=0x6e616e64sfcnand num=9
[    1.402686] Scanning device for bad blocks
[    1.492456] Creating 6 MTD partitions on "sfc_nand":
[    1.497590] 0x000000000000-0x000000080000 : "uboot"
[    1.503384] ftl_cs: FTL header not found.
[    1.508448] 0x000000080000-0x000000300000 : "logo"
[    1.514608] ftl_cs: FTL header not found.
[    1.519592] 0x000000300000-0x000000900000 : "kernel"
[    1.525930] ftl_cs: FTL header not found.
[    1.531012] 0x000000900000-0x000001000000 : "recovery"
[    1.537378] ftl_cs: FTL header not found.
[    1.542478] 0x000001000000-0x000005000000 : "rootfs"
[    1.548706] ftl_cs: FTL header not found.
[    1.553826] 0x000005000000-0x000008000000 : "data"
[    1.559854] ftl_cs: FTL header not found.
[    1.565225] usbcore: registered new interface driver usb-storage
[    1.572344]  gpio_request GPIO 55 , name ring1_gpio
[    1.577618]  gpio_request GPIO 56 , name ring2_gpio
[    1.583257] input: sa-ring-keys as /devices/platform/sa-ring-keys/input/input0
[    1.591960] jz-rtc jz-rtc.0: rtc core: registered jz-rtc as rtc0
[    1.601826] pdata->chgtermcur:125
[    1.605253] prop:125
[    1.610743] axp2101_charger: read chipid = 4a
[    1.610743]
[    1.644350] Bluetooth: HCI UART driver ver 2.2
[    1.649315] Bluetooth: HCI H4 protocol initialized
[    1.654463] Bluetooth: HCI BCSP protocol initialized
[    1.659628] Bluetooth: HCILL protocol initialized
[    1.664779] jzmmc_probe,1864 pdata=81868f80
[    1.669468] jzmmc_gpio_init 1753 card_gpio->cd.num =43
[    1.675037]  gpio_request GPIO 42 , name mmc_power
[    1.692062] drivers/mmc/host/jzmmc_v12.c,jzmmc_power_on,355
[    1.697824] drivers/mmc/host/jzmmc_v12.c,jzmmc_power_on,367
[    1.703682] jzmmc_v1.2 jzmmc_v1.2.0: card inserted, state=0
[    1.709916] drivers/mmc/host/jzmmc_v12.c,jzmmc_power_on,369
[    1.850417] jzmmc_v1.2 jzmmc_v1.2.0: register success!
[    1.856161] usbcore: registered new interface driver usbhid
[    1.862024] usbhid: USB HID core driver
[    1.866392] sa_information_init success
[    1.870928] usbcore: registered new interface driver snd-usb-audio
[    1.878096] jz-asoc-dma jz-asoc-aic-dma: Audio dma platfrom probe success
[    1.885316] jz-asoc-dma jz-asoc-pcm-dma: Audio dma platfrom probe success
[    1.893348] jz-asoc-aic jz-asoc-aic: Aic core probe success
[    1.899370] jz-asoc-aic-i2s jz-asoc-aic-i2s: i2s platform probe success
[    1.906674] jz-asoc-pcm jz-asoc-pcm: pcm platform probe success
[    1.913438]  gpio_request GPIO 46 , name headphone
[    1.918563]  gpio_request GPIO 54 , name lineout
[    1.923545] SWITCH: init OK
[    1.927936] dma dma0chan4: Channel 4 have been requested.(phy id 3,type 0x06 desc a1a8d000)
[    1.954016] ingenic-erosq ingenic-erosq.0:  es9018_k2m-hifi <-> jz-asoc-aic-i2s mapping ok
[    1.963282] dma dma0chan2: Channel 2 have been requested.(phy id 5,type 0x20 desc a1a90000)
[    1.989084] ingenic-erosq ingenic-erosq.0:  es9018_k2m-hifi <-> jz-asoc-pcm mapping ok
[    1.998848]  gpio_request GPIO 40 , name hp mute
[    2.003848]  gpio_request GPIO 38 , name po pwr
[    2.008609]  gpio_request GPIO 47 , name lo mute
[    2.013475]  gpio_request GPIO 41 , name lo pwr
[    2.018234]  gpio_request GPIO 44 , name dac mute
[    2.023189]  gpio_request GPIO 53 , name spdif pwr
[    2.028217]  gpio_request GPIO 37 , name out select
[    2.033622] NET: Registered protocol family 17
[    2.038708] Bluetooth: RFCOMM TTY layer initialized
[    2.044085] Bluetooth: RFCOMM socket layer initialized
[    2.049391] Bluetooth: RFCOMM ver 1.11
[    2.053311] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.058784] Bluetooth: BNEP filters: protocol multicast
[    2.064195] Bluetooth: BNEP socket layer initialized
[    2.069311] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.075443] Bluetooth: HIDP socket layer initialized
[    2.085467] LDO7: incomplete constraints, leaving on
[    2.092126] LDO3: incomplete constraints, leaving on
[    2.098244] DCDC4: incomplete constraints, leaving on
[    2.104386] DCDC2: incomplete constraints, leaving on
[    2.110092] DCDC1: incomplete constraints, leaving on
[    2.116145] UBI: attaching mtd4 to ubi0
[    2.260889] UBI: scanning is finished
[    2.272143] UBI: attached mtd4 (name "rootfs", size 64 MiB) to ubi0
[    2.278623] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.285755] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.292681] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.299763] UBI: good PEBs: 512, bad PEBs: 0, corrupted PEBs: 0
[    2.305881] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[    2.313253] UBI: max/mean erase counter: 9/3, WL threshold: 4096, image sequence number: 66554484
[    2.322495] UBI: available PEBs: 0, total reserved PEBs: 512, PEBs reserved for bad PEB handling: 20
[    2.331942] UBI: background thread "ubi_bgt0d" started, PID 41
[    2.338018] UBI: attaching mtd5 to ubi1
[    2.446535] UBI: scanning is finished
[    2.457382] UBI: attached mtd5 (name "data", size 48 MiB) to ubi1
[    2.463830] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.470845] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.477749] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.484850] UBI: good PEBs: 384, bad PEBs: 0, corrupted PEBs: 0
[    2.490967] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[    2.498323] UBI: max/mean erase counter: 5/3, WL threshold: 4096, image sequence number: 4167983187
[    2.507661] UBI: available PEBs: 0, total reserved PEBs: 384, PEBs reserved for bad PEB handling: 20
[    2.517099] UBI: background thread "ubi_bgt1d" started, PID 42
[    2.523737] file system registered
[    2.528918] using random self ethernet address
[    2.533741] using random host ethernet address
[    2.538850] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    2.546077] android_usb gadget: Number of LUNs=1
[    2.550861]  lun0: LUN: removable file: (no medium)
[    2.556566] android_usb gadget: android_usb ready
[    2.562437] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    2.570013] jz-rtc jz-rtc.0: setting system clock to 2014-08-22 03:03:31 UTC (1408676611)
[    2.578572] ALSA device list:
[    2.581651]   #0: erosq
[    2.587887] UBIFS: background thread "ubifs_bgt0_0" started, PID 45
[    2.647408] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    2.653742] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    2.663175] UBIFS: FS size: 60567552 bytes (57 MiB, 477 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[    2.673138] UBIFS: reserved for root: 0 bytes (0 KiB)
[    2.678351] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 5A955288-026B-4B97-9034-0D2EF4C249B3, small LPT model
[    2.690181] VFS: Mounted root (ubifs filesystem) on device 0:11.
[    2.698493] Freeing unused kernel memory: 236K (804e5000 - 80520000)
[    2.751046] mmc0: new high speed SDHC card at address 0001
[    2.758369] mmcblk0: mmc0:0001 EITSD 29.1 GiB
[    2.768906]  mmcblk0:
[    3.334412] FAT-fs (mmcblk0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[    3.350307] FAT-fs (mmcblk0): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    3.540907] UBIFS: background thread "ubifs_bgt1_0" started, PID 76
[    3.622440] UBIFS: mounted UBI device 1, volume 0, name "data_vol"
[    3.628835] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    3.638462] UBIFS: FS size: 44441600 bytes (42 MiB, 350 LEBs), journal size 2285568 bytes (2 MiB, 18 LEBs)
[    3.648602] UBIFS: reserved for root: 2099086 bytes (2049 KiB)
[    3.654755] UBIFS: media format: w4/r0 (latest is w4/r0), UUID E48E93B2-9430-4E52-9816-86A35E020AD4, small LPT model
[    4.051373]  gpio_request GPIO 58 , name rtc32k
[    5.055135] clear SIGNATURE
[    5.338499] graphics fb0: open count : 1
[    5.373165] jz-fb jz-fb: the slcd  slcd_cfg_new is 00000200
[    6.750597] DWC USB connect
[    6.760631] dwc2 dwc2: enter dwc2_gadget_plug_change:2690: plugin = 1 pullup_on = 0 suspend = 0
[    6.801090] android_usb: already disabled
[    6.806747] adb_bind_config
[    6.971338] android_work: sent uevent USB_STATE=CONNECTED
[    6.986108] android_usb gadget: high-speed config #1: android
[    6.994502] android_work: sent uevent USB_STATE=CONFIGURED
[    7.020865] adb_open


PS C:\Users\JD\Downloads\platform-tools-latest-windows\platform-tools> .\adb shell amixer contents
numid=3,iface=MIXER,name='ES9018_K2M Digital Filter'
  ; type=INTEGER,access=rw------,values=1,min=0,max=4,step=0
  : values=0
numid=1,iface=MIXER,name='Left Playback Volume'
  ; type=INTEGER,access=rw------,values=1,min=0,max=255,step=0
  : values=0
numid=4,iface=MIXER,name='Output Port Switch'
  ; type=INTEGER,access=rw------,values=1,min=0,max=5,step=0
  : values=0
numid=2,iface=MIXER,name='Right Playback Volume'
  ; type=INTEGER,access=rw------,values=1,min=0,max=255,step=0
  : values=0
numid=5,iface=MIXER,name='isDSD'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off

dconrad:
:o  Lots of good info in there, it appears we may have a different AXP unit, and I didn't realize dmesg would print out gpio locations for us, I can double check them against what we already have to make sure they didnt change.

dconrad:
Looks like they have not changed the dac, that's good. The headphone/lineout detect lines may be direct to the processor now rather than going through the axp now...?

jdharper:
So far everything seems to be working correctly--loaded up the music database, and audio plays through both headphones and the Line Out port. Buttons all do what I expect them to do.

Navigation

[0] Message Index

[*] Previous page

Go to full version