Files
actionkamera/docs/reference/bootinfo.txt
T
BRNSystemsandClaude Opus 5.5 497c0758cc Research notes: hardware, flash layout, rooting
Notes on the AK3918AV130/SC3332 Tuya camera derived from a flash dump:
SoC, U-Boot, 8 MiB NOR layout, the three anti-root locks and how to get a
root shell. Boot logs are redacted (MAC addresses, device-derived AP name).
The dump itself is never committed (.gitignore): CONFIG holds per-device
Tuya keys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 22:01:43 +01:00

130 lines
4.1 KiB
Plaintext

=> NbFSak_fixed_clk_probe: parameters ok, nf=100 nr=1 nb=16 freq=400000000
pll2 frequency out: 400MHz
gclk frequency out: 200MHz
U-Boot 2019.10.0-V4.0.27 (Jan 19 2026 - 14:53:08 +0800)
CPU: 960MHz
Model: EVB_CBD_AK3918AV130_V1.0.0 board
DRAM: 64 MiB
ak_fixed_clk_probe: parameters ok, nf=100 nr=1 nb=16 freq=400000000
ak_fixed_clk_probe pll2 has inited!
pll2 frequency out: 400MHz
gclk frequency out: 200MHz
Flash: SF: Detected ZB25VQ64 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
8 MiB
set flash size:8388608
MMC: mmc1@20108000: 0
Loading Environment from SPI Flash... OK
In: uart0@20130000
Out: uart0@20130000
Err: uart0@20130000
red_led_gpio:49, level:0
blue_led_gpio:48 level:1
ir_led_gpio:70 level:0
white_led_gpio:-1 level:1
led init.
red led init:1.
blue led init:0.
ir led init:0.
** Unable to read file ht_recover_fw.conf **
ht_recover_fw.conf not found
Hit CTRL+C to stop autoboot: 0
=> printenv
a_uboot_flags=0x1
baudrate=115200
blue_led_gpio=48
blue_led_level=1
boot_normal=env set bootargs console=ttySAK0,115200n8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init ${mtdparts} ${mem} ${memsize}; run read_kernel; run read_dtb; bootm ${loadaddr}}
bootargs=console=ttySAK0,115200n8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init
bootargs_mode=0x0
bootcmd=run boot_normal
console=ttySAK0,115200n8
dtb_addr=0x0
dtb_name=DTB
dtb_offset=34000
dtb_size=e351
env_name=ENV
env_platform=anycloud_h3b_nor_v330
env_version=1.0.01
envup_flags=1
ethaddr=xx:xx:xx:xx:xx:xx
fdt_high=0xFFFFFFFF
fdtcontroladdr=0x81300000
filesize=0x0
image_name=uImage
init=/sbin/init
ipaddr=192.168.1.99
ir_led_gpio=70
ir_led_level=0
kernel_addr=0x0
kernel_name=KERNEL
kernel_offset=44000
kernel_size=180000
loadaddr=0x80008000
logo_switch=0x0
mem=mem=64M
memsize=memsize=64M
mtd_root=/dev/mtdblock5
mtdparts=mtdparts=spi-nor:200K@0x0(UBOOT),4K@0x32000(ENV),4K@0x33000(ENVBK),64K@0x34000(DTB),1536K@0x44000(KERNEL),1008K@0x1c4000(ROOTFS),256K@0x2c0000(CONFIG),13312K@0x300000(APP)
netmask=255.255.255.0
part_table_offset=0x0
parttab_type=AK
read_dtb=sf probe 0:0 ${sf_hz} 0; sf read ${fdtcontroladdr} ${dtb_offset} ${dtb_size}
read_kernel=sf probe 0:0 ${sf_hz} 0; sf read ${loadaddr} ${kernel_offset} ${kernel_size}
red_led_gpio=49
red_led_level=0
root_name=ROOTFS
rootfstype=squashfs
sd_det_mode=0x0
serverip=192.168.1.1
setcmd=setenv bootargs console=${console} root=${mtd_root} rootfstype=${rootfstype} init=${init} mem=${memsize}
setgpio=0
sf_hz=20000000
stderr=uart0@20130000
stdin=uart0@20130000
stdout=uart0@20130000
uboot_name=UBOOT
update=tftp $(loadaddr) $(image_name); sf probe ; sf update $(loadaddr) $(update_offset) $(filesize)
update_flag=0x0
update_offset=0x0
update_size=0x0
Environment size: 1802/4092 bytes
=> help
? - alias for 'help'
base - print or set address offset
bootm - boot application image from memory
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
env - environment handling commands
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fstype - Look up a filesystem type
go - start application at address 'addr'
go_fastsys- Run fastsys
help - print command description/usage
load - load binary file from a filesystem
loadb - load binary file over serial line (kermit mode)
loadx - load binary file over serial line (xmodem mode)
loady - load binary file over serial line (ymodem mode)
ls - list files in a directory (default /)
md - memory display
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mtdparts - define flash/nand partitions
mw - memory write (fill)
nm - memory modify (constant address)
printenv - print environment variables
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sf - SPI flash sub-system
version - print monitor, compiler and linker version
=>