Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.12 KB

getroot.md

File metadata and controls

21 lines (15 loc) · 1.12 KB

Getting Root Access

Using U-Boot

  1. Boot into Uboot(press a Key when booting)
  2. Use the following Command to get a Root-Shell

128MB Devices

setenv bootargs console=ttyS1,115200n8 mem=104M@0x0 ispmem=8M@0x6800000 rmem=16M@0x7000000 init=/bin/sh rootfstype=squashfs root=/dev/mtdblock2 rw mtdparts=jz_sfc:256k(boot),2048k(kernel),3392k(root),640k(driver),4736k(appfs),2048k(backupk),640k(backupd),2048k(backupa),256k(config),256k(para),-(flag)

64MB Devices (S1 etc)

setenv bootargs console=ttyS1,115200n8 mem=41700K@0x0 ispmem=8M@0x28B9000 rmem=15644K@0x30B9000 init=/bin/sh rootfstype=squashfs root=/dev/mtdblock2 rw mtdparts=jz_sfc:256k(boot),2048k(kernel),3392k(root),640k(driver),4736k(appfs),2048k(backupk),640k(backupd),2048k(backupa),256k(config),256k(para),-(flag)

  1. Boot into the Root-Shell using "boot"

Using normal login (via serial connection)

Use following Credentials:

Username: root Password: ismart12

Attention: You will get a lot of debug messages, and you wont be able to work "normal". To cirvumvent this, it's recommended to start a telnet daemon: telnetd & and connect to the device via telnet.