EliasKotlyar / Xiaomi-Dafang-Hacks

4.18k stars 1k forks source link

nexHT IPC360 clone thingy - Ingenic T21N #1810

Open Nico1320 opened 2 years ago

Nico1320 commented 2 years ago

I've gained root access and dumped everything via CH341a. During the boot process, UART no longer works. I've had to enable telnet in /etc/init.d/rcS by uncommenting. Pretty much followed #1741 since it was similar enough.

printenv

HWID=0000000000000000000000000000000000000000
ID=0000000000000000000000000000000000
IP=192.168.1.101
MAC=40:6A:8E:26:06:2B
SENSOR=F23
SSID_NAME=QC9
SSID_VALUE=12345678
TYPE=T21N
WIFI=8188FTV
baudrate=115200
bootargs=console=ttyS1,115200n8 mem=39M@0x0 rmem=25M@0x2700000 init=/linuxrc rootfstype=squashfs root=/dev/mtdblock2 rw mtdparts=jz_sfc:512K(boot),1600k(kernel),2816k(root),1536k(user),832k(web),896k(mtd)
bootcmd=sf probe;sf read 0x80600000 0x80000 0x280000; bootm 0x80600000
bootdelay=1
ethact=Jz4775-9161
ethaddr=40:6A:8E:26:06:2B
gatewayip=193.169.4.1
ipaddr=193.169.4.81
ipncauto=1
ipncuart=1
loads_echo=1
netmask=255.255.255.0
serverip=193.169.4.2
stderr=serial
stdin=serial
stdout=serial

cat /etc/proc/mtd

[root@puwell:etc]# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00080000 00008000 "boot"
mtd1: 00190000 00008000 "kernel"
mtd2: 002c0000 00008000 "root"
mtd3: 00180000 00008000 "user"
mtd4: 000d0000 00008000 "web"
mtd5: 000e0000 00008000 "mtd"

lsmod

[root@puwell:etc]# lsmod
sensor_jxf23_t21 8000 0 [permanent], Live 0xc0594000 (O)
tx_isp_t21 597200 1 sensor_jxf23_t21,[permanent], Live 0xc04f9000 (O)
audio 62848 2 - Live 0xc0437000 (O)
sample_pwm_hal 3088 0 - Live 0xc0417000 (O)
sample_pwm_core 2432 2 - Live 0xc0410000 (O)
steppermotor 7456 1 - Live 0xc0408000 (O)
8188fu 1113728 0 - Live 0xc0280000 (O)

CH341a dump

What are the next procedures? From what I can understand, I have to test if it can boot via sd card. Do I have to flash the bootloader etc?