How to brush the original Debian system in the set-top box

  

Although the Debian system is used less in the country, it is a very popular Linux system in foreign countries. In fact, Debian is very versatile. As long as the configuration is passed, the user can even swipe into the Debian system in the set-top box. So how do you brush in the set-top box into the native Debian system? Let's take a look.

Here are the steps:

First Part:

to enter the default Andrew system, through TTL, mounted directly using the root account nanda partition, where acquired Script.bin. If you don't have a ttl line, you can try to connect the box with adb first, then use the root master to get root privileges, then you can do it in sequence: first connect the box to Wifi, then adb connect IPADDRESS, root. In short, just to get script.bin.

First, get the script.bin method:

# mkdir /sdcard/nanda

# mount -t vfat /dev/block/nanda /sdcard/nanda

# exit

# adb pull /sdcard/nanda/script.bin

Second, after getting script.bin, if you want to modify the nodes, you need sunxi-tools:< Br>

# git clone https://github.com/linux-sunxi/sunxi-tools

# make

. /bin2fex script.bin script.fex

Third, edit the fex file, after editing, regenerate the binary file:

. /fex2bin script.fex script.bin

The script.bin file is a binary implementation of the fex file. The fex file defines how the SoC works. It configures the GPIO pins and sets up DRAM and display (eg HDMI, VGA, Resolution) and other parameters. Previous123Next page Total 3 pages

Copyright © Windows knowledge All Rights Reserved