-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
669 changed files
with
132,904 additions
and
230 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#!/bin/sh | ||
# | ||
# Starts hostname service. | ||
# | ||
|
||
set_hostname_with_model_mac() | ||
{ | ||
local mac=$(/usr/bin/get_sn_mac.sh mac 2>&1) | ||
local id=${mac:0-4} | ||
local model=$(/usr/bin/get_sn_mac.sh model 2>&1) | ||
|
||
if [ "x$id" != "x" -a "x$model" != "x" ]; then | ||
case $model in | ||
"CR-K1") | ||
model="K1" | ||
;; | ||
"CR-K1 Max") | ||
model="K1Max" | ||
;; | ||
"K1 Max SE") | ||
model="K1MaxSE" | ||
;; | ||
*) | ||
;; | ||
esac | ||
|
||
echo "$model-$id" > /etc/hostname | ||
fi | ||
} | ||
|
||
set_hostname() | ||
{ | ||
/usr/bin/cmp -s /rom/etc/hostname /etc/hostname | ||
if [ $? -eq 0 ]; then | ||
set_hostname_with_model_mac | ||
fi | ||
|
||
# set host name after overlayfs mounted | ||
/bin/hostname -F /etc/hostname | ||
} | ||
|
||
case "$1" in | ||
start) | ||
set_hostname | ||
;; | ||
*) | ||
echo "Usage: $0 {start}" | ||
exit 1 | ||
esac | ||
|
||
exit $? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ota_version=1.3.2.1 | ||
ota_version=1.3.2.8 | ||
ota_board_name=CR4CU220812S11 | ||
ota_compile_time=2023 09.07 18:18:53 | ||
ota_compile_time=2023 10.12 17:45:35 | ||
ota_site=http://192.168.43.52/ota/board_test |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
insmod lcd_gc9503cv_ue_480_800.ko lcm_id=`get_lcm_id.sh` lcd_is_inited=1 gpio_lcd_power_en=PC21 gpio_lcd_rst=PB29 gpio_lcd_scl=PC27 gpio_lcd_sda=PC28 gpio_lcd_cs=PA02 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
insmod lcd_st7701_9bit_spi_dc_480_800.ko lcm_id=`get_lcm_id.sh` lcd_is_inited=1 gpio_lcd_power_en=PC21 gpio_lcd_rst=PB29 gpio_lcd_scl=PC27 gpio_lcd_sda=PC28 gpio_lcd_cs=PA02 gpio_lcd_sdo=PB16 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
insmod lcd_st7701_9bit_spi_pj_480_800.ko lcm_id=`get_lcm_id.sh` lcd_is_inited=1 gpio_lcd_power_en=PC21 gpio_lcd_rst=PB29 gpio_lcd_scl=PC27 gpio_lcd_sda=PC28 gpio_lcd_cs=PA02 gpio_lcd_sdo=PB16 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
insmod lcd_st7701_9bit_spi_tjc_480_800.ko lcm_id=`get_lcm_id.sh` lcd_is_inited=1 gpio_lcd_power_en=PC21 gpio_lcd_rst=PB29 gpio_lcd_scl=PC27 gpio_lcd_sda=PC28 gpio_lcd_cs=PA02 gpio_lcd_sdo=PB16 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/sh | ||
|
||
if [ $# -ne 1 ]; then | ||
exit 1 | ||
fi | ||
|
||
PARAM=$(echo $1 | tr 'A-Z' 'a-z') | ||
|
||
BLK_NUM=$(fdisk -l | grep 'sn_mac' | awk '{print $1}') | ||
BLK=/dev/mmcblk0p${BLK_NUM} | ||
|
||
tmp=$(dd if=${BLK} bs=512 count=1 2>/dev/null) | ||
|
||
count=$(echo $tmp | awk -F ';' '{print NF-1}') | ||
if [ $count -ne 8 ]; then | ||
exit 1 | ||
fi | ||
|
||
SN=$(echo $tmp | awk -F ';' '{print $1}') | ||
MAC=$(echo $tmp | awk -F ';' '{print $2}') | ||
MODEL=$(echo $tmp | awk -F ';' '{print $3}') | ||
BOARD=$(echo $tmp | awk -F ';' '{print $4}') | ||
PCBA_TEST=$(echo $tmp | awk -F ';' '{print $5}') | ||
|
||
if [ "$PARAM" = "pcba_test" -a "x$PCBA_TEST" = "x1" ]; then | ||
output="$SN;$MAC;$MODEL;$BOARD;0;;;;" | ||
echo -n $output | dd of=$BLK bs=512 count=1 2>/dev/null | ||
sync | ||
else | ||
# Caution: | ||
# We should only support to clear pcba_test flag! | ||
exit 1 | ||
fi |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
libpopt.so.0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
libpopt.so.0.0.0 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
NAME=Buildroot | ||
VERSION=2020.02.1-g781548bd25 | ||
VERSION=2020.02.1-g9f8259fde1-dirty | ||
ID=buildroot | ||
VERSION_ID=2020.02.1 | ||
PRETTY_NAME="Buildroot 2020.02.1" |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Firmware/usr/lib/python3.8/_sysconfigdata__linux_mipsel-linux-gnu.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Firmware/usr/lib/python3.8/config-3.8-mipsel-linux-gnu/python-config.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Firmware/usr/lib/python3.8/distutils/command/bdist_dumb.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Firmware/usr/lib/python3.8/distutils/command/bdist_wininst.pyc
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Firmware/usr/lib/python3.8/distutils/command/build_clib.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Firmware/usr/lib/python3.8/distutils/command/build_scripts.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Firmware/usr/lib/python3.8/distutils/command/install_data.pyc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Firmware/usr/lib/python3.8/distutils/command/install_egg_info.pyc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Firmware/usr/lib/python3.8/distutils/command/install_headers.pyc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Firmware/usr/lib/python3.8/distutils/command/install_lib.pyc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Firmware/usr/lib/python3.8/distutils/command/install_scripts.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.