Thingino U-Boot for Ingenic T23N SPL 2013.07-g779c94b (Dec 19 2024 - 23:07:17 PST)
nf = 100 nr = 1 od0 = 1 od1 = 2

cppcr is 06405100

nf = 100 nr = 1 od0 = 1 od1 = 2

cppcr is 06405100

apll_freq = 1188000000

mpll_freq = 1200000000

sdram init start

DDR clk rate 600000000

image entry point: 0x80100000



Thingino U-Boot for Ingenic 2013.07-g779c94b (Dec 19 2024 - 23:07:17 PST)

Architecture: XBurst 1
Platform: ISVP
Built profile: T23N
SOC Model: T23N
DRAM:  64 MiB
Top of RAM usable for U-Boot at: 84000000
Reserving 701k for U-Boot at: 83f50000
Reserving 32800k for malloc() at: 81f48000
Reserving 32 Bytes for Board Info at: 81f47fe0
Reserving 124 Bytes for Global Data at: 81f47f64
Reserving 256k for boot params() at: 81f07f64
Stack Pointer at: 81f07f48
Now running in RAM - U-Boot at: 83f50000

MMC:   msc: 0
Net:   HW address for ETH: 02:4C:EA:2F:45:D5
Net:   HW address for WLAN: 02:4C:EA:2F:45:D6
In:    serial
Out:   serial
Err:   serial
KEY:   Reset button undefined
GPIO:  gpio_default: No GPIO env settings provided
ETH:   Searching for valid PHY
ETH:   Error: Invalid PHY configuration.
ETH:   PHY not found!
GPIO:  gpio_default_net: No GPIO env settings provided
GPIO:  gpio_mmc_power: No GPIO env settings provided
GPIO:  gpio_ircut: 52i 53i 49i 50i 57i 58i
GPIO:  gpio_user: No GPIO env settings provided
GPIO:  gpio_motor_v: No GPIO env settings provided
GPIO:  gpio_motor_h: No GPIO env settings provided
MMC:   Checking for autoupdate files... 
FAT:   loading autoupdate-full.done
FAT:   loading autoupdate-uboot.bin
FAT:   loading autoupdate-full.bin
JZSFC: Flash chip ID: 856017
SF:    Detected P25Q64H (85 60 17 85 00)
Erasing flash from address 0x0 to 0x800000 (length: 0x800000)
flash write...
writing autoupdate-full.done
MMC:   Flag file autoupdate-full.done created
MMC:   Auto-update completed successfully.
MMC:   Checking for kernel image from MMC... 
MMC:   Kernel file not found.
MMC:   Checking for boot/env files...
FAT:   loading boot.scr
FAT:   Unable to read file boot.scr **
FAT:   loading uEnv.txt
FAT:   Unable to read file uEnv.txt **
MMC:   Auto-update is set to 'full'. Resetting the device...
reset in 4ms

Thingino U-Boot for Ingenic T23N SPL 2013.07 (May 04 2026 - 23:11:25 UTC)
Probing SoC... T23N
nf = 100 nr = 1 od0 = 1 od1 = 2

cppcr is 06405100

nf = 100 nr = 1 od0 = 1 od1 = 2

cppcr is 06405100

apll_freq = 1188000000

mpll_freq = 1200000000

sdram init start

DDR clk rate 600000000

image entry point: 0x80100000



Thingino U-Boot for Ingenic 2013.07 (May 04 2026 - 23:11:25 UTC)

Architecture: XBurst@I
Platform: ISVP
Built profile: T23N
SOC Model: T23N
DRAM:  64 MiB
Top of RAM usable for U-Boot at: 84000000
Reserving 694k for U-Boot at: 83f50000
Reserving 32800k for malloc() at: 81f48000
Reserving 32 Bytes for Board Info at: 81f47fe0
Reserving 124 Bytes for Global Data at: 81f47f64
Reserving 256k for boot params() at: 81f07f64
Stack Pointer at: 81f07f48
Now running in RAM - U-Boot at: 83f50000

MMC:   msc: 0
JZSFC: Flash chip ID: 856017
SF:    Detected P25Q64H 8MB (85 60 17 85 3d)
ENV:   Warning - bad CRC, using default environment
ENV:   Saving default environment...
ENV:   Erasing SPI flash...
ENV:   Writing to SPI flash... done
In:    serial
Out:   serial
Err:   serial
GPIO:  gpio_button: 14i
RST:   Reset button not pressed; skipping factory reset.
GPIO:  gpio_default: No GPIO env settings provided
GPIO:  gpio_usb_en: No GPIO env settings provided
Net:   MAC address for ETH based on device serial set
JZSFC: Flash chip ID: 856017
SF:    Detected P25Q64H 8MB (85 60 17 85 00)
ENV:   Erasing SPI flash...
ENV:   Writing to SPI flash... done
Net:   MAC address for WLAN based on device serial set
ENV:   Erasing SPI flash...
ENV:   Writing to SPI flash... done
Net:   Networking disabled (U-Boot)
GPIO:  gpio_default_net: No GPIO env settings provided
GPIO:  gpio_mmc_power: No GPIO env settings provided
GPIO:  gpio_ircut: 52i 53i 49i 50i 57i 58i
GPIO:  gpio_user: No GPIO env settings provided
GPIO:  gpio_motor_v: No GPIO env settings provided
GPIO:  gpio_motor_h: No GPIO env settings provided
JZSFC: Flash chip ID: 856017
SF:    Detected P25Q64H 8MB (85 60 17 85 00)
SF:    flash_size env set to 8192k
SF:    flash_sector env set to 4096k
SF:    probe-alt command completed in 14ms
SDU:   Checking for autoupdate files...
SDU:   Checking for u-boot update flag file...
FAT:   loading autoupdate-uboot.done
FAT:   Unable to read file autoupdate-uboot.done **
SDU:   Checking for u-boot update file...
FAT:   loading autoupdate-uboot.bin
FAT:   Unable to read file autoupdate-uboot.bin **
SDU:   U-boot update file not found
SDU:   Checking for full update flag file...
FAT:   loading autoupdate-full.done
1 bytes read in 5 ms (0 Bytes/s)
SDU:   Flag file autoupdate-full.done exists, skipping full update
MMC:   Checking for kernel image from MMC... 
MMC:   Kernel file not found.
MMC:   Checking for boot/env files...
FAT:   loading boot.scr
FAT:   Unable to read file boot.scr **
FAT:   loading uEnv.txt
FAT:   Unable to read file uEnv.txt **
KEY:   ###### Press Ctrl-C now to interrupt boot... loading in 1s ######
JZSFC: Flash chip ID: 856017
SF:    Detected P25Q64H 8MB (85 60 17 85 00)
SF:    probe command completed in 6ms
SF:    1540096 bytes @ 0x80000 Read: OK
SF:    read command completed in 496ms
## Booting kernel from Legacy Image at 0x80600000 ...
   Image Name:   Linux-3.10.14__isvp_pike_1.0__
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1512050 Bytes = 1.4 MiB
   Load Address: 80010000
   Entry Point:  80397290
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.14__isvp_pike_1.0__ (root@0ad7688725c3) (buildroot-gcc-15.2.0) #2 PREEMPT Mon May 4 23:04:44 UTC 2026
[    0.000000] CPU0 RESET ERROR PC:83F50644
[    0.000000] CPU0 revision is: 00d00100 (Ingenic Xburst)
[    0.000000] FPU revision is: 00b70000
[    0.000000] cgu_macphy clk should be opened!
[    0.000000] cgu_vpu clk should be opened!
[    0.000000] CCLK:1188MHz L2CLK:594Mhz H0CLK:200MHz H2CLK:200Mhz PCLK:100Mhz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 00448000 @ 00010000 (usable)
[    0.000000]  memory: 00038000 @ 00458000 (usable after init)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 02900000 @ 00000000 (usable)
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x028fffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x028fffff]
[    0.000000] Primary instruction cache 16kB, 8-way, VIPT, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 8-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] pls check processor_id[0x00d00100],sc_jz not support!
[    0.000000] MIPS secondary cache 64kB, 8-way, linesize 32 bytes.
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 10414
[    0.000000] Kernel command line: mem=41M@0x0 rmem=23M@0x2900000 console=ttyS1,115200n8 panic=10 root=/dev/mtdblock4 rootfstype=squashfs init=/init mtdparts=jz_sfc:256k(boot),32k(env),224k(config),1504k(kernel),5568k(rootfs),8800k@0x768000(extras),15872k@0x80000(upgrade),16384k@0(all)
[    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: 36304k/41984k available (3655k kernel code, 5680k reserved, 725k data, 224k 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:351
[    0.000000] clockevents_config_and_register success.
[    0.000018] Calibrating delay loop... 1185.38 BogoMIPS (lpj=5926912)
[    0.090018] pid_max: default: 32768 minimum: 301
[    0.090208] Mount-cache hash table entries: 512
[    0.090705] Initializing cgroup subsys debug
[    0.090726] Initializing cgroup subsys freezer
[    0.092800] devtmpfs: initialized
[    0.094781] regulator-dummy: no parameters
[    0.095158] NET: Registered protocol family 16
[    0.121834] bio: create slab <bio-0> at 0
[    0.131878] jz-dma jz-dma: JZ SoC DMA initialized
[    0.133799] usbcore: registered new interface driver usbfs
[    0.134072] usbcore: registered new interface driver hub
[    0.134406] usbcore: registered new device driver usb
[    0.134949]  (null): set:249  hold:250 dev=100000000 h=500 l=500
[    0.135290]  (null): set:249  hold:250 dev=100000000 h=500 l=500
[    0.138744] cfg80211: Calling CRDA to update world regulatory domain
[    0.140632] Switching to clocksource jz_clocksource
[    0.144560] jz-dwc2 jz-dwc2: cgu clk gate get error
[    0.144586] DWC IN OTG MODE
[    0.145446] dwc2 dwc2: Keep PHY ON
[    0.145462] dwc2 dwc2: Using Buffer DMA mode
[    0.145473] dwc2 dwc2: Core Release: 3.00a
[    0.145516] dwc2 dwc2: DesignWare USB2.0 High-Speed Host Controller
[    0.145554] dwc2 dwc2: new USB bus registered, assigned bus number 1
[    0.146808] hub 1-0:1.0: USB hub found
[    0.146856] hub 1-0:1.0: 1 port detected
[    0.146997] dwc2 dwc2: DWC2 Host Initialized
[    0.147444] dwc2 dwc2: enter dwc2_gadget_plug_change:2588: plugin = 1 pullup_on = 0 suspend = 0
[    0.147808] NET: Registered protocol family 2
[    0.148272] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.148300] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.148315] TCP: Hash tables configured (established 512 bind 512)
[    0.148370] TCP: reno registered
[    0.148386] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.148408] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.148626] NET: Registered protocol family 1
[    0.148980] RPC: Registered named UNIX socket transport module.
[    0.148994] RPC: Registered udp transport module.
[    0.149000] RPC: Registered tcp transport module.
[    0.149006] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.149783] freq_udelay_jiffys[0].max_num = 10
[    0.149793] cpufreq 	udelay 	loops_per_jiffy	
[    0.149800] 12000	 59867	 59867	
[    0.149806] 24000	 119735	 119735	
[    0.149813] 60000	 299338	 299338	
[    0.149819] 120000	 598677	 598677	
[    0.149826] 200000	 997796	 997796	
[    0.149832] 300000	 1496694	 1496694	
[    0.149838] 600000	 2993389	 2993389	
[    0.149845] 792000	 3951274	 3951274	
[    0.149851] 1008000	 5028895	 5028895	
[    0.149858] 1200000	 5986779	 5986779	
[    0.166143] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.167930] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
[    0.168718] msgmni has been set to 70
[    0.170592] io scheduler noop registered
[    0.170633] io scheduler cfq registered (default)
[    0.171371] wait stable.[288][cgu_vpu]
[    0.171385] cgu_vpu can not set to 450000000, will change!!!
[    0.182174] jz-uart.1: ttyS1 at MMIO 0x10031000 (irq = 58) is a uart1
[    0.249590] dwc2 dwc2: ID PIN CHANGED!
[    0.691769] console [ttyS1] enabled
[    0.696355] logger: created 256K log 'log_main'
[    0.704132] jz TCU driver register completed
[    0.709937] cgu_ssi can not set to 50000000, will change!!!
[    0.715818] usb 1-1: new full-speed USB device number 2 using dwc2
[    0.722449] the id code = 856017, the flash name is P25Q64H
[    0.728241] JZ SFC Controller for SFC channel 0 driver register
[    0.734711] mtd: jz_sfc: partitioning exceeds flash size, truncating
[    0.741370] mtd: jz_sfc: partitioning exceeds flash size, truncating
[    0.747961] mtd: jz_sfc: partitioning exceeds flash size, truncating
[    0.754628] 8 cmdlinepart partitions found on MTD device jz_sfc
[    0.760817] Creating 8 MTD partitions on "jz_sfc":
[    0.765783] 0x000000000000-0x000000040000 : "boot"
[    0.772263] 0x000000040000-0x000000048000 : "env"
[    0.778607] 0x000000048000-0x000000080000 : "config"
[    0.785319] 0x000000080000-0x0000001f8000 : "kernel"
[    0.792020] 0x0000001f8000-0x000000768000 : "rootfs"
[    0.798684] 0x000000768000-0x000000800000 : "extras"
[    0.805493] 0x000000080000-0x000000800000 : "upgrade"
[    0.812355] 0x000000000000-0x000000800000 : "all"
[    0.818683] SPI NOR MTD LOAD OK
[    0.822608] usbcore: registered new interface driver asix
[    0.828501] usbcore: registered new interface driver cdc_ether
[    0.834869] usbcore: registered new interface driver cdc_ncm
[    0.840968] i2c /dev entries driver
[    0.846139] jz-wdt: watchdog initialized
[    0.851184] TCP: cubic registered
[    0.856142] NET: Registered protocol family 10
[    0.861719] NET: Registered protocol family 17
[    0.867809] soc_vpu probe success,version:1.0.0-03203fd46d
[    0.874065] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    0.886611] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.898125] devtmpfs: mounted
[    0.901631] Freeing unused kernel memory: 224K (80458000 - 80490000)
[    0.940737] usb 1-1: device descriptor read/64, error -88
[    1.240746] usb 1-1: device descriptor read/64, error -88
[    1.309697] jffs2: notice: (413) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    1.361431] jffs2: notice: (425) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    1.540775] usb 1-1: new full-speed USB device number 3 using dwc2
[38;5;15mStarting watchdog[0m
[38;5;15mStarting LED daemon[0m
[    1.740783] usb 1-1: device descriptor read/64, error -88
[38;5;15mSetting initial system time[0m
[38;5;240m- Mon May  4 23:11:06 GMT 2026 (fail-safe)[0m
[    2.020744] usb 1-1: device descriptor read/64, error -88

[38;5;104mPress the [f] key to enter failsafe mode[0m

[    2.320705] usb 1-1: new full-speed USB device number 4 using dwc2
[    2.740696] usb 1-1: device not accepting address 4, error -88
[    2.930707] usb 1-1: new full-speed USB device number 5 using dwc2
[    3.350688] usb 1-1: device not accepting address 5, error -88
[    3.356772] hub 1-0:1.0: unable to enumerate USB device on port 1
[38;5;208mThingino firmware built for sonoff_s2_t23n_sc2336_atbm6012bx[0m
[38;5;208m[stable+3875a62, 2026-05-04 23:11:06 +0000][0m
sh: missing ]
[38;5;160mNo LED indicator GPIO found.[0m
[38;5;15mApplying sysctl settings[0m
[38;5;240m- Sysctl settings applied[0m
[38;5;15mStarting seedrng[0m
[38;5;15mStarting syslogd[0m
[38;5;142mRemote logging not configured[0m
[38;5;15mSetting timezone[0m
[38;5;240m- Timezone name: Etc/GMT[0m
[38;5;240m- Set TZ to GMT0[0m
[38;5;240m- Export TZ globally[0m
[38;5;15mGenerating SSL certificates[0m
Generating ECDSA certificate for ing-sonoff-s2 using mbedTLS...
mbedtls-certgen -h ing-sonoff-s2.local -c /etc/ssl/certs/uhttpd.crt -k /etc/ssl/private/uhttpd.key -s 256 -t ecdsa -f der 
SSL certificate generated successfully with mbedTLS
Running sysctl: OK
[38;5;15mConfiguring hostname[0m
[38;5;142mHostname ing-sonoff-s2 is default and should be generated[0m
[38;5;240m- Generated name: ing-sonoff-s2-45d6[0m
[38;5;240m- Setting hostname to ing-sonoff-s2-45d6 (auto-generated)[0m
[38;5;240m- Updating current hostname[0m
[38;5;240m- Hostname in /etc/hosts is ing-sonoff-s2[0m
[38;5;240m- Updating hostname in /etc/hosts[0m
[38;5;240m- Saving hostname in /etc/hostname[0m
[38;5;240m- Hostname set to ing-sonoff-s2-45d6[0m
[38;5;15mConfiguring DNS[0m
[38;5;240m- Using default DNS servers[0m
[38;5;15mSetting GPIOs[0m
[38;5;15mConfiguring LEDs[0m
[38;5;240m- Set GPIO 35 off (LED led_b)[0m
[38;5;15mConfiguring USB[0m
[38;5;142mUSB power GPIO is not set in thingino configuration[0m
[38;5;15mInitializing MMC[0m
Load jzmmc_v12 cd_gpio_pin=49
No MMC power GPIO sequence defined
[38;5;15mLoading kernel modules[0m
[38;5;240m- Loading exfat [0m
[38;5;240m- Loading tx_isp_t23 direct_mode=0 isp_memopt=1 print_level=1[0m
[38;5;240m- Loading sensor_sc2336_t23 [0m
[38;5;240m- Loading audio spk_gpio=7 spk_level=0[0m
[38;5;15mStarting Button service[0m
[38;5;15mStarting dropbear sshd[0m
Generating 256 bit ed25519 key, this may take a while...
Public key portion is:
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJdSekSJh/kbLdTtbojoqGwLc89J6rwgZMzv9Buu/FHc root@ing-sonoff-s2-45d6
Fingerprint: SHA256:aHHfYgvHiLani4GSeIMpIgPDg2xnb4xj5DHX9wVqu0g
[38;5;15mConfiguring mdev[0m
[38;5;15mStarting Prudynt[0m
[38;5;15mStarting wireless interface[0m
Wireless module GPIO is not set
Loading atbm6012bx module with parameters atbm_printk_mask=0
Set MAC address to 02:4c:ea:2f:45:d6
ip: SIOCGIFINDEX: No such device
WiFi password missing
[38;5;15mStarting WPA Supplicant[0m
Interface 'wlan0' does not exist.
Wireless interface wlan0 not found
[38;5;15mStarting network[0m
[38;5;142mEthernet GPIO does not need a toggle[0m
run-parts /etc/network/if-pre-up.d
[38;5;160meth0 does not exist or is a USB device, skipping MAC address setup[0m
ip link set eth0 up
ip: SIOCGIFFLAGS: No such device

run-parts /etc/network/if-pre-up.d
ip addr add 127.0.0.1/8 dev lo
ip link set lo up
run-parts /etc/network/if-up.d
[38;5;160mDHCPv6 disabled on lo[0m

run-parts /etc/network/if-pre-up.d
ip link set usb0 up
ip: SIOCGIFFLAGS: No such device

run-parts /etc/network/if-pre-up.d
WLAN disabled, no password
run-parts: /etc/network/if-pre-up.d/disable_wlan: exit status 1

[38;5;15mStarting WireGuard[0m
[38;5;160mNo WireGuard IP address configured[0m
[38;5;15mMount /mnt/nfs[0m
[38;5;240m- Mount share is not set[0m
[38;5;15mGenerating API key[0m
[38;5;15mStarting NTP daemon[0m
[38;5;240m- default configuration found[0m
[38;5;240m- use default configuration[0m
[38;5;240m- Sync time[0m
[38;5;15mStarting crond[0m
[38;5;15mStarting mdnsd[0m
[38;5;15mInitializing IR-CUT[0m
[38;5;15mStarting uhttpd[0m
SSL certificates found, attempting to start with SSL support...
/usr/bin/uhttpd -h /var/www -x /x -t 0 -T 15 -k 10 -n 20 -N 100 -s 443 -C /etc/ssl/certs/uhttpd.crt -K /etc/ssl/private/uhttpd.key -p 80 -E /x/legacy-url-recovery.cgi
uhttpd started successfully with SSL support
HTTPS: https://ing-sonoff-s2-45d6.local:443/
HTTP:  http://ing-sonoff-s2-45d6.local:80/ (redirects to HTTPS)
[38;5;15mStarting HA daemon[0m
Disabled
Starting Telegram Bot daemon
[38;5;15mStarting rc.local[0m
[38;5;15mStarting Recording Storage Manager[0m
Recording storage manager is disabled
[38;5;15mStarting ONVIF discovery[0m
[38;5;160mDisabled[0m
[38;5;15mStarting ONVIF Notify service[0m
[38;5;15mChecking sysupgrade[0m
[38;5;240m- Mark sysupgrade complete[0m
Queued: PLAY url=/usr/share/sounds/thingino.opus
[38;5;15mStarting Record service[0m
Autostart is not set
Heartbeat daemon already running


Welcome to Thingino!



ing-sonoff-s2-45d6 login: 
