mirror of
https://github.com/bouffalolab/bouffalo_sdk.git
synced 2025-05-08 19:07:22 +08:00
[chore] update mfg bin
This commit is contained in:
parent
0773ad89e3
commit
504b6f1c0a
Binary file not shown.
Binary file not shown.
354
bsp/board/bl602dk/config/bl_factory_params_IoTKitA_40M.dts
Normal file
354
bsp/board/bl602dk/config/bl_factory_params_IoTKitA_40M.dts
Normal file
@ -0,0 +1,354 @@
|
||||
/dts-v1/;
|
||||
// version: 17
|
||||
// last_comp_version: 16
|
||||
// boot_cpuid_phys: 0x0
|
||||
|
||||
/ {
|
||||
model = "bl bl602 IOT board";
|
||||
compatible = "bl,bl602-sample", "bl,bl602-common";
|
||||
#address-cells = <0x1>;
|
||||
#size-cells = <0x1>;
|
||||
gpio {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
max_num = <40>;
|
||||
gpio0 {
|
||||
status = "okay";
|
||||
pin = <5>;
|
||||
feature = "led";
|
||||
active = "Hi"; //Hi or Lo
|
||||
mode = "blink"; //blink or hearbeat
|
||||
time = <100>; //duration for this mode
|
||||
};
|
||||
gpio1 {
|
||||
status = "disable";
|
||||
pin = <6>;
|
||||
feature = "led";
|
||||
active = "Hi"; //Hi or Lo
|
||||
mode = "blink"; //blink or hearbeat
|
||||
time = <100>; //duration for this mode
|
||||
};
|
||||
gpio2 {
|
||||
status = "okay";
|
||||
pin = <2>;
|
||||
feature = "button";
|
||||
active = "Hi";
|
||||
mode = "multipress";
|
||||
hbn_use = "disable";
|
||||
button {
|
||||
debounce = <10>;
|
||||
trig_level = "Hi";
|
||||
short_press_ms {
|
||||
start = <100>;
|
||||
end = <3000>;
|
||||
kevent = <2>;
|
||||
};
|
||||
long_press_ms {
|
||||
start = <6000>;
|
||||
end = <10000>;
|
||||
kevent = <3>;
|
||||
};
|
||||
longlong_press_ms {
|
||||
start = <15000>;
|
||||
kevent = <4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
i2s {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
i2s@40017000 {
|
||||
status = "okay";
|
||||
compatible = "bl602_i2s";
|
||||
reg = <0x40017000 0x100>;
|
||||
mclk_only = "okay";
|
||||
pin {
|
||||
mclk = <11>;
|
||||
};
|
||||
};
|
||||
i2s@40017100 {
|
||||
status = "okay";
|
||||
compatible = "bl602_i2s";
|
||||
reg = <0x40017100 0x100>;
|
||||
mclk_only = "disable";
|
||||
pin {
|
||||
bclk = <12>;
|
||||
fs = <29>;
|
||||
do = <30>;
|
||||
di = <31>;
|
||||
};
|
||||
};
|
||||
};
|
||||
i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
i2c@40011000 {
|
||||
status = "okay";
|
||||
compatible = "bl602_i2c";
|
||||
reg = <0x40011000 0x100>;
|
||||
pin {
|
||||
scl = <32>;
|
||||
sda = <13>;
|
||||
};
|
||||
devices {
|
||||
list_addr = <0x18 0x21>;
|
||||
list_driver = "i2c_es8311", "i2c_gc0308>";
|
||||
};
|
||||
};
|
||||
i2c@40011100 {
|
||||
status = "disable";
|
||||
compatible = "bl602_i2c";
|
||||
reg = <0x40011100 0x100>;
|
||||
pin {
|
||||
/*empty here*/
|
||||
};
|
||||
};
|
||||
};
|
||||
timer {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
timer@40014000 {
|
||||
status = "disable";
|
||||
compatible = "bl602_timer";
|
||||
reg = <0x40014000 0x100>;
|
||||
};
|
||||
timer@40014100 {
|
||||
status = "disable";
|
||||
compatible = "bl602_timer";
|
||||
reg = <0x40014100 0x100>;
|
||||
};
|
||||
};
|
||||
pwm {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
pwm@4000A420 {
|
||||
status = "okay";
|
||||
compatible = "bl602_pwm";
|
||||
reg = <0x4000A420 0x20>;
|
||||
path = "/dev/pwm0";
|
||||
id = <0>;
|
||||
pin = <0>;
|
||||
freq = <800000>;
|
||||
duty = <50>;
|
||||
};
|
||||
pwm@4000A440 {
|
||||
status = "disable";
|
||||
reg = <0x4000A440 0x20>;
|
||||
path = "/dev/pwm1";
|
||||
id = <1>;
|
||||
pin = <1>;
|
||||
freq = <5000>;
|
||||
duty = <50>;
|
||||
};
|
||||
pwm@4000A460 {
|
||||
status = "disable";
|
||||
reg = <0x4000A460 0x20>;
|
||||
path = "/dev/pwm2";
|
||||
id = <2>;
|
||||
pin = <2>;
|
||||
freq = <5000>;
|
||||
duty = <50>;
|
||||
};
|
||||
pwm@4000A480 {
|
||||
status = "disable";
|
||||
reg = <0x4000A480 0x20>;
|
||||
path = "/dev/pwm3";
|
||||
id = <3>;
|
||||
pin = <3>;
|
||||
freq = <5000>;
|
||||
duty = <50>;
|
||||
};
|
||||
pwm@4000A4A0 {
|
||||
status = "disable";
|
||||
reg = <0x4000A4A0 0x20>;
|
||||
path = "/dev/pwm4";
|
||||
id = <4>;
|
||||
pin = <4>;
|
||||
freq = <5000>;
|
||||
duty = <50>;
|
||||
};
|
||||
};
|
||||
ir {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ctrltype = <0>;
|
||||
tx {
|
||||
status = "disable";
|
||||
pin = <11>; // only support 11
|
||||
mode = "NEC"; // NEC,ExtenedNEC,RC5,SWM
|
||||
interval = <100>; // ms
|
||||
active_mode = "Hi"; //Hi,Lo
|
||||
};
|
||||
rx {
|
||||
status = "okay";
|
||||
pin = <12>; // only support 12 13
|
||||
mode = "NEC"; // NEC,ExtenedNEC,RC5,SWM
|
||||
active_mode = "Hi"; //Hi,Lo
|
||||
data_check = <2>; //bit 0:check cmd, bit 1:check addr
|
||||
};
|
||||
};
|
||||
uart {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
uart@4000A000 {
|
||||
status = "okay";
|
||||
id = <0>;
|
||||
compatible = "bl602_uart";
|
||||
path = "/dev/ttyS0";
|
||||
baudrate = <2000000>;
|
||||
pin {
|
||||
rx = <7>;
|
||||
tx = <16>;
|
||||
};
|
||||
buf_size {
|
||||
rx_size = <512>;
|
||||
tx_size = <512>;
|
||||
};
|
||||
feature {
|
||||
tx = "okay";
|
||||
rx = "okay";
|
||||
cts = "disable";
|
||||
rts = "disable";
|
||||
};
|
||||
};
|
||||
uart@4000A100 {
|
||||
status = "okay";
|
||||
id = <1>;
|
||||
compatible = "bl602_uart";
|
||||
path = "/dev/ttyS1";
|
||||
baudrate = <115200>;
|
||||
pin {
|
||||
rx = <3>;
|
||||
tx = <4>;
|
||||
};
|
||||
buf_size {
|
||||
rx_size = <512>;
|
||||
tx_size = <512>;
|
||||
};
|
||||
feature {
|
||||
tx = "okay";
|
||||
rx = "okay";
|
||||
cts = "disable";
|
||||
rts = "disable";
|
||||
};
|
||||
};
|
||||
};
|
||||
spi {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
spi@4000F000 {
|
||||
status = "okay"; /* okay disable */
|
||||
mode = "master";
|
||||
reg = <0x4000F000 0x100>; /* 4KB */
|
||||
path = "/dev/spi0";
|
||||
port = <0>;
|
||||
polar_phase = <1>; /* 0,1,2,3 */
|
||||
freq = <6000000>;
|
||||
pin {
|
||||
clk = <3>;
|
||||
cs = <2>;
|
||||
mosi = <1>;
|
||||
miso = <0>;
|
||||
};
|
||||
dma_cfg {
|
||||
tx_dma_ch = <2>;
|
||||
rx_dma_ch = <3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
gpip {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
adc_key {
|
||||
status = "disable";
|
||||
pin = <9>;
|
||||
interrupt = <3>;
|
||||
key_vol = <0 100 400 300 500>;
|
||||
key_pcb = "SW1", "SW2", "SW3", "SW4","SW5";
|
||||
key_event = "Usr1", "Usr2", "Start", "Up", "Down";
|
||||
key_raw = <1 2 3 4 5>;
|
||||
};
|
||||
};
|
||||
qspi {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
qspi@4000A000 {
|
||||
status = "disable";
|
||||
reg = <0x4000A000 0x1000>;/* 4KB */
|
||||
};
|
||||
};
|
||||
wifi {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
region {
|
||||
country_code = <86>;
|
||||
};
|
||||
mac {
|
||||
mode = "MBF";
|
||||
sta_mac_addr = [C8 43 57 82 73 40];
|
||||
ap_mac_addr = [C8 43 57 82 73 02];
|
||||
};
|
||||
sta {
|
||||
ssid = "yourssid";
|
||||
pwd = "yourapssword";
|
||||
auto_connect_enable = <0>;
|
||||
};
|
||||
ap {
|
||||
ssid = "bl_test_005";
|
||||
pwd = "12345678";
|
||||
ap_channel = <11>;
|
||||
auto_chan_detect = "disable";
|
||||
};
|
||||
brd_rf {
|
||||
xtal_mode = "MF";
|
||||
xtal = <36 36 0 60 60>;
|
||||
/*
|
||||
pwr_table = < 4 3 3 186
|
||||
4 3 4 176
|
||||
4 3 5 167
|
||||
3 3 0 159
|
||||
3 3 1 149
|
||||
3 3 2 140
|
||||
3 3 3 129
|
||||
3 3 4 119
|
||||
3 3 5 110
|
||||
2 3 0 101
|
||||
2 3 1 91
|
||||
2 3 2 82
|
||||
2 3 3 72
|
||||
2 3 4 62
|
||||
2 3 5 52
|
||||
1 3 3 10>;
|
||||
*/
|
||||
pwr_mode = "bf";//B: only use power offset in EFUSE; b: use power offset in EFUSE with incremental mode; F: only use power offset in Flash; f: use power offset in Flash with incremental mode
|
||||
pwr_table_11b = <20 20 20 18>;//1Mbps 2Mbps 5.5Mbps 11Mbps
|
||||
pwr_table_11g = <18 18 18 18 18 18 14 14>; //6Mbps 9Mbps 12Mbps 18MBps 24Mbps 36Mbps 48Mbps 54Mbps
|
||||
pwr_table_11n = <18 18 18 18 18 16 14 14>; //MCS0 MCS1 MCS2 MCS3 MCS4 MCS5 MCS6 MCS7
|
||||
pwr_offset = <10 10 10 10 10 10 10 10 10 10 10 10 10 10>;//due to the limit of current DTC, negative value is used. So we work around by adding all the poweroffset with 10. so 8 represents -2; 10 represents 0; 13 represents 3
|
||||
pwr_limit_2g_ch12 = <40 42 32 32>; //11b_dsss 11b_cck 11g 11n20
|
||||
pwr_limit_2g_ch13 = <40 42 32 32>; //11b_dsss 11b_cck 11g 11n20
|
||||
};
|
||||
rf_temp {
|
||||
en_tcal = <0>;
|
||||
linear_or_follow = <1>;
|
||||
Tchannels = <2412 2427 2442 2457 2472>;
|
||||
Tchannel_os = <180 168 163 160 157>;
|
||||
Tchannel_os_low = <199 186 170 165 160>;
|
||||
Troom_os = <255>;
|
||||
//negative value is NOT supported. So we use '256' for 0, '255' for -1, '257' for 1,'511' for 256
|
||||
};
|
||||
cap_temp {
|
||||
en_cap_temp = <0>; //0x0060 长度1
|
||||
temp = <253 252 20 39 39 40 41 42 43 44 >; //0x0061 长度10
|
||||
capcode = <28 29 30 31 32 33 34 35 36 37 38 >; //0x0062 长度11
|
||||
};
|
||||
};
|
||||
bluetooth {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
brd_rf {
|
||||
pwr_table_ble = <13>; //range:0~15dbm
|
||||
};
|
||||
};
|
||||
};
|
BIN
bsp/board/bl602dk/config/boot2_bl602_release_v8.1.1.bin
Normal file
BIN
bsp/board/bl602dk/config/boot2_bl602_release_v8.1.1.bin
Normal file
Binary file not shown.
Binary file not shown.
94
bsp/board/bl602dk/config/partition_cfg_2M.toml
Normal file
94
bsp/board/bl602dk/config/partition_cfg_2M.toml
Normal file
@ -0,0 +1,94 @@
|
||||
[pt_table]
|
||||
#partition table is 4K in size
|
||||
address0 = 0xE000
|
||||
address1 = 0xF000
|
||||
|
||||
[[pt_entry]]
|
||||
type = 0
|
||||
name = "FW"
|
||||
device = 0
|
||||
address0 = 0x10000
|
||||
size0 = 0xD8000
|
||||
address1 = 0xE8000
|
||||
size1 = 0x88000
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
|
||||
[[pt_entry]]
|
||||
type = 2
|
||||
name = "mfg"
|
||||
device = 0
|
||||
address0 = 0x170000
|
||||
size0 = 0x32000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
|
||||
[[pt_entry]]
|
||||
type = 3
|
||||
name = "media"
|
||||
device = 0
|
||||
address0 = 0x1A2000
|
||||
size0 = 0x47000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
|
||||
[[pt_entry]]
|
||||
type = 4
|
||||
name = "PSM"
|
||||
device = 0
|
||||
address0 = 0x1E9000
|
||||
size0 = 0x8000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
|
||||
[[pt_entry]]
|
||||
type = 5
|
||||
name = "KEY"
|
||||
device = 0
|
||||
address0 = 0x1F1000
|
||||
size0 = 0x2000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
|
||||
[[pt_entry]]
|
||||
type = 6
|
||||
name = "DATA"
|
||||
device = 0
|
||||
address0 = 0x1F3000
|
||||
size0 = 0x5000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
|
||||
|
||||
[[pt_entry]]
|
||||
type = 7
|
||||
name = "factory"
|
||||
device = 0
|
||||
address0 = 0x1F8000
|
||||
size0 = 0x7000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
|
||||
#if user want to put RF calibration data on flash, uncomment following pt entry
|
||||
#[[pt_entry]]
|
||||
#type = 8
|
||||
#name = "rf_para"
|
||||
#device = 0
|
||||
#address0 = 0x1FF000
|
||||
#size0 = 0x1000
|
||||
#address1 = 0
|
||||
#size1 = 0
|
||||
## compressed image must set len,normal image can left it to 0
|
||||
#len = 0
|
Binary file not shown.
BIN
bsp/board/bl616dk/builtin_imgs/mfg_bl616_gu_214e807d5_v2.43.bin
Normal file
BIN
bsp/board/bl616dk/builtin_imgs/mfg_bl616_gu_214e807d5_v2.43.bin
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bsp/board/bl616dk/config/mfg_bl616_gu_214e807d5_v2.43.bin
Normal file
BIN
bsp/board/bl616dk/config/mfg_bl616_gu_214e807d5_v2.43.bin
Normal file
Binary file not shown.
Binary file not shown.
@ -132,9 +132,8 @@ SECTIONS
|
||||
{
|
||||
. = ALIGN(4);
|
||||
__hbn_ram_start__ = .;
|
||||
*bl702_hbn_wakeup*.o*(.rodata*)
|
||||
*(.hbn_ram_code*)
|
||||
*(.hbn_ram_data)
|
||||
*(.hbn_code.*)
|
||||
*(.hbn_data.*)
|
||||
. = ALIGN(4);
|
||||
__hbn_ram_end__ = .;
|
||||
} > hbn_memory
|
||||
|
108
bsp/board/bl702dk/config/bl_factory_params_IoTKitA_32M.dts
Normal file
108
bsp/board/bl702dk/config/bl_factory_params_IoTKitA_32M.dts
Normal file
@ -0,0 +1,108 @@
|
||||
/dts-v1/;
|
||||
// version: 17
|
||||
// last_comp_version: 16
|
||||
// boot_cpuid_phys: 0x0
|
||||
|
||||
/ {
|
||||
model = "bl bl702 AVB board";
|
||||
compatible = "bl,bl702-sample", "bl,bl702-common";
|
||||
#address-cells = <0x1>;
|
||||
#size-cells = <0x1>;
|
||||
gpio {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
max_num = <40>;
|
||||
gpio0 {
|
||||
status = "okay";
|
||||
pin = <22>;
|
||||
feature = "led";
|
||||
active = "Hi"; //Hi or Lo
|
||||
mode = "onoff";
|
||||
time = <100>; //Unused for onoff mode
|
||||
};
|
||||
gpio1 {
|
||||
status = "disable";
|
||||
pin = <5>;
|
||||
feature = "button";
|
||||
active = "Hi"; //Unused for button feature
|
||||
mode = "multipress";
|
||||
hbn_use = "disable";
|
||||
button {
|
||||
debounce = <10>;
|
||||
trig_level = "Lo"; //Hi or Lo
|
||||
short_press_ms {
|
||||
start = <30>;
|
||||
end = <4000>;
|
||||
kevent = <2>;
|
||||
};
|
||||
long_press_ms {
|
||||
start = <4001>;
|
||||
end = <10000>;
|
||||
kevent = <3>;
|
||||
};
|
||||
longlong_press_ms {
|
||||
start = <10001>;
|
||||
kevent = <4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
uart {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
uart@4000A000 {
|
||||
status = "okay";
|
||||
id = <0>;
|
||||
compatible = "bl702_uart";
|
||||
path = "/dev/ttyS0";
|
||||
baudrate = <2000000>;
|
||||
pin {
|
||||
rx = <15>;
|
||||
tx = <14>;
|
||||
};
|
||||
feature {
|
||||
tx = "okay";
|
||||
rx = "okay";
|
||||
cts = "disable";
|
||||
rts = "disable";
|
||||
};
|
||||
};
|
||||
uart@4000A100 {
|
||||
status = "disable";
|
||||
id = <1>;
|
||||
compatible = "bl702_uart";
|
||||
path = "/dev/ttyS1";
|
||||
baudrate = <115200>;
|
||||
pin {
|
||||
rx = <3>;
|
||||
tx = <4>;
|
||||
};
|
||||
feature {
|
||||
tx = "okay";
|
||||
rx = "okay";
|
||||
cts = "disable";
|
||||
rts = "disable";
|
||||
};
|
||||
};
|
||||
};
|
||||
wireless {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
mac {
|
||||
mode = "MBF"; // 'M': manufacture; 'B': efuse; 'F': flash
|
||||
mac_addr = [C8 43 57 82 73 40 88 88];
|
||||
};
|
||||
brd_rf {
|
||||
xtal_mode = "MF";
|
||||
xtal = <36 36 0 60 60>;
|
||||
pwr = <14>; //range:0~14dbm
|
||||
pwr_mode = "bf";//B: only use power offset in EFUSE; b: use power offset in EFUSE with incremental mode; F: only use power offset in Flash; f: use power offset in Flash with incremental mode
|
||||
//due to the limit of current DTC, negative value is used. So we work around by adding all the poweroffset with 10. so 8 represents -2; 10 represents 0; 13 represents 3
|
||||
pwr_offset_zigbee = <10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10>;
|
||||
pwr_offset_ble = <10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10>;
|
||||
};
|
||||
rf_temp {
|
||||
en_tcal = <0>;
|
||||
};
|
||||
};
|
||||
};
|
BIN
bsp/board/bl702dk/config/boot2_bl702_release_v8.1.1.bin
Normal file
BIN
bsp/board/bl702dk/config/boot2_bl702_release_v8.1.1.bin
Normal file
Binary file not shown.
70
bsp/board/bl702dk/config/partition_cfg_2M_boot2_isp.toml
Normal file
70
bsp/board/bl702dk/config/partition_cfg_2M_boot2_isp.toml
Normal file
@ -0,0 +1,70 @@
|
||||
[pt_table]
|
||||
#partition table is 4K in size
|
||||
address0 = 0xE000
|
||||
address1 = 0xF000
|
||||
|
||||
[[pt_entry]]
|
||||
type = 0
|
||||
name = "FW"
|
||||
device = 0
|
||||
address0 = 0x10000
|
||||
size0 = 0x11F000
|
||||
address1 = 0x12F000
|
||||
size1 = 0xCA000
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
activeindex = 0
|
||||
age = 0
|
||||
|
||||
[[pt_entry]]
|
||||
type = 1
|
||||
name = "mfg"
|
||||
device = 0
|
||||
address0 = 0x12F000
|
||||
size0 = 0xCA000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
activeindex = 0
|
||||
age = 0
|
||||
|
||||
[[pt_entry]]
|
||||
type = 2
|
||||
name = "PSM"
|
||||
device = 0
|
||||
address0 = 0x1F9000
|
||||
size0 = 0x2000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
activeindex = 0
|
||||
age = 0
|
||||
|
||||
[[pt_entry]]
|
||||
type = 3
|
||||
name = "media"
|
||||
device = 0
|
||||
address0 = 0x1FB000
|
||||
size0 = 0x4000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
activeindex = 0
|
||||
age = 0
|
||||
|
||||
[[pt_entry]]
|
||||
type = 4
|
||||
name = "factory"
|
||||
device = 0
|
||||
address0 = 0x1FF000
|
||||
size0 = 0x1000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
activeindex = 0
|
||||
age = 0
|
||||
|
Binary file not shown.
Binary file not shown.
351
bsp/board/bl808dk/config/bl_factory_params_IoTKitA_auto.dts
Normal file
351
bsp/board/bl808dk/config/bl_factory_params_IoTKitA_auto.dts
Normal file
@ -0,0 +1,351 @@
|
||||
/dts-v1/;
|
||||
// version: 17
|
||||
// last_comp_version: 16
|
||||
// boot_cpuid_phys: 0x0
|
||||
|
||||
/ {
|
||||
model = "bl bl602 IOT board";
|
||||
compatible = "bl,bl602-sample", "bl,bl602-common";
|
||||
#address-cells = <0x1>;
|
||||
#size-cells = <0x1>;
|
||||
gpio {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
max_num = <40>;
|
||||
gpio0 {
|
||||
status = "okay";
|
||||
pin = <5>;
|
||||
feature = "led";
|
||||
active = "Hi"; //Hi or Lo
|
||||
mode = "blink"; //blink or hearbeat
|
||||
time = <100>; //duration for this mode
|
||||
};
|
||||
gpio1 {
|
||||
status = "disable";
|
||||
pin = <6>;
|
||||
feature = "led";
|
||||
active = "Hi"; //Hi or Lo
|
||||
mode = "blink"; //blink or hearbeat
|
||||
time = <100>; //duration for this mode
|
||||
};
|
||||
gpio2 {
|
||||
status = "okay";
|
||||
pin = <2>;
|
||||
feature = "button";
|
||||
active = "Hi";
|
||||
mode = "multipress";
|
||||
hbn_use = "disable";
|
||||
button {
|
||||
debounce = <10>;
|
||||
trig_level = "Hi";
|
||||
short_press_ms {
|
||||
start = <100>;
|
||||
end = <3000>;
|
||||
kevent = <2>;
|
||||
};
|
||||
long_press_ms {
|
||||
start = <6000>;
|
||||
end = <10000>;
|
||||
kevent = <3>;
|
||||
};
|
||||
longlong_press_ms {
|
||||
start = <15000>;
|
||||
kevent = <4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
i2s {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
i2s@40017000 {
|
||||
status = "okay";
|
||||
compatible = "bl602_i2s";
|
||||
reg = <0x40017000 0x100>;
|
||||
mclk_only = "okay";
|
||||
pin {
|
||||
mclk = <11>;
|
||||
};
|
||||
};
|
||||
i2s@40017100 {
|
||||
status = "okay";
|
||||
compatible = "bl602_i2s";
|
||||
reg = <0x40017100 0x100>;
|
||||
mclk_only = "disable";
|
||||
pin {
|
||||
bclk = <12>;
|
||||
fs = <29>;
|
||||
do = <30>;
|
||||
di = <31>;
|
||||
};
|
||||
};
|
||||
};
|
||||
i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
i2c@40011000 {
|
||||
status = "okay";
|
||||
compatible = "bl602_i2c";
|
||||
reg = <0x40011000 0x100>;
|
||||
pin {
|
||||
scl = <32>;
|
||||
sda = <13>;
|
||||
};
|
||||
devices {
|
||||
list_addr = <0x18 0x21>;
|
||||
list_driver = "i2c_es8311", "i2c_gc0308>";
|
||||
};
|
||||
};
|
||||
i2c@40011100 {
|
||||
status = "disable";
|
||||
compatible = "bl602_i2c";
|
||||
reg = <0x40011100 0x100>;
|
||||
pin {
|
||||
/*empty here*/
|
||||
};
|
||||
};
|
||||
};
|
||||
timer {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
timer@40014000 {
|
||||
status = "disable";
|
||||
compatible = "bl602_timer";
|
||||
reg = <0x40014000 0x100>;
|
||||
};
|
||||
timer@40014100 {
|
||||
status = "disable";
|
||||
compatible = "bl602_timer";
|
||||
reg = <0x40014100 0x100>;
|
||||
};
|
||||
};
|
||||
pwm {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
pwm@4000A420 {
|
||||
status = "okay";
|
||||
compatible = "bl602_pwm";
|
||||
reg = <0x4000A420 0x20>;
|
||||
path = "/dev/pwm0";
|
||||
id = <0>;
|
||||
pin = <0>;
|
||||
freq = <800000>;
|
||||
duty = <50>;
|
||||
};
|
||||
pwm@4000A440 {
|
||||
status = "disable";
|
||||
reg = <0x4000A440 0x20>;
|
||||
path = "/dev/pwm1";
|
||||
id = <1>;
|
||||
pin = <1>;
|
||||
freq = <5000>;
|
||||
duty = <50>;
|
||||
};
|
||||
pwm@4000A460 {
|
||||
status = "disable";
|
||||
reg = <0x4000A460 0x20>;
|
||||
path = "/dev/pwm2";
|
||||
id = <2>;
|
||||
pin = <2>;
|
||||
freq = <5000>;
|
||||
duty = <50>;
|
||||
};
|
||||
pwm@4000A480 {
|
||||
status = "disable";
|
||||
reg = <0x4000A480 0x20>;
|
||||
path = "/dev/pwm3";
|
||||
id = <3>;
|
||||
pin = <3>;
|
||||
freq = <5000>;
|
||||
duty = <50>;
|
||||
};
|
||||
pwm@4000A4A0 {
|
||||
status = "disable";
|
||||
reg = <0x4000A4A0 0x20>;
|
||||
path = "/dev/pwm4";
|
||||
id = <4>;
|
||||
pin = <4>;
|
||||
freq = <5000>;
|
||||
duty = <50>;
|
||||
};
|
||||
};
|
||||
ir {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ctrltype = <0>;
|
||||
tx {
|
||||
status = "disable";
|
||||
pin = <11>; // only support 11
|
||||
mode = "NEC"; // NEC,ExtenedNEC,RC5,SWM
|
||||
interval = <100>; // ms
|
||||
active_mode = "Hi"; //Hi,Lo
|
||||
};
|
||||
rx {
|
||||
status = "okay";
|
||||
pin = <12>; // only support 12 13
|
||||
mode = "NEC"; // NEC,ExtenedNEC,RC5,SWM
|
||||
active_mode = "Hi"; //Hi,Lo
|
||||
data_check = <2>; //bit 0:check cmd, bit 1:check addr
|
||||
};
|
||||
};
|
||||
uart {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
uart@4000A000 {
|
||||
status = "okay";
|
||||
id = <0>;
|
||||
compatible = "bl602_uart";
|
||||
path = "/dev/ttyS0";
|
||||
baudrate = <2000000>;
|
||||
pin {
|
||||
rx = <7>;
|
||||
tx = <16>;
|
||||
};
|
||||
buf_size {
|
||||
rx_size = <512>;
|
||||
tx_size = <512>;
|
||||
};
|
||||
feature {
|
||||
tx = "okay";
|
||||
rx = "okay";
|
||||
cts = "disable";
|
||||
rts = "disable";
|
||||
};
|
||||
};
|
||||
uart@4000A100 {
|
||||
status = "okay";
|
||||
id = <1>;
|
||||
compatible = "bl602_uart";
|
||||
path = "/dev/ttyS1";
|
||||
baudrate = <115200>;
|
||||
pin {
|
||||
rx = <3>;
|
||||
tx = <4>;
|
||||
};
|
||||
buf_size {
|
||||
rx_size = <512>;
|
||||
tx_size = <512>;
|
||||
};
|
||||
feature {
|
||||
tx = "okay";
|
||||
rx = "okay";
|
||||
cts = "disable";
|
||||
rts = "disable";
|
||||
};
|
||||
};
|
||||
};
|
||||
spi {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
spi@4000F000 {
|
||||
status = "okay"; /* okay disable */
|
||||
mode = "master";
|
||||
reg = <0x4000F000 0x100>; /* 4KB */
|
||||
path = "/dev/spi0";
|
||||
port = <0>;
|
||||
polar_phase = <1>; /* 0,1,2,3 */
|
||||
freq = <6000000>;
|
||||
pin {
|
||||
clk = <3>;
|
||||
cs = <2>;
|
||||
mosi = <1>;
|
||||
miso = <0>;
|
||||
};
|
||||
dma_cfg {
|
||||
tx_dma_ch = <2>;
|
||||
rx_dma_ch = <3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
gpip {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
adc_key {
|
||||
status = "disable";
|
||||
pin = <9>;
|
||||
interrupt = <3>;
|
||||
key_vol = <0 100 400 300 500>;
|
||||
key_pcb = "SW1", "SW2", "SW3", "SW4","SW5";
|
||||
key_event = "Usr1", "Usr2", "Start", "Up", "Down";
|
||||
key_raw = <1 2 3 4 5>;
|
||||
};
|
||||
};
|
||||
qspi {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
qspi@4000A000 {
|
||||
status = "disable";
|
||||
reg = <0x4000A000 0x1000>;/* 4KB */
|
||||
};
|
||||
};
|
||||
wifi {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
region {
|
||||
country_code = <86>;
|
||||
};
|
||||
mac {
|
||||
mode = "MBF";
|
||||
sta_mac_addr = [C8 43 57 82 73 40];
|
||||
ap_mac_addr = [C8 43 57 82 73 02];
|
||||
};
|
||||
sta {
|
||||
ssid = "yourssid";
|
||||
pwd = "yourapssword";
|
||||
auto_connect_enable = <0>;
|
||||
};
|
||||
ap {
|
||||
ssid = "bl_test_005";
|
||||
pwd = "12345678";
|
||||
ap_channel = <11>;
|
||||
auto_chan_detect = "disable";
|
||||
};
|
||||
brd_rf {
|
||||
xtal_mode = "MF";
|
||||
xtal = <36 36 0 60 60>;
|
||||
/*
|
||||
pwr_table = < 4 3 3 186
|
||||
4 3 4 176
|
||||
4 3 5 167
|
||||
3 3 0 159
|
||||
3 3 1 149
|
||||
3 3 2 140
|
||||
3 3 3 129
|
||||
3 3 4 119
|
||||
3 3 5 110
|
||||
2 3 0 101
|
||||
2 3 1 91
|
||||
2 3 2 82
|
||||
2 3 3 72
|
||||
2 3 4 62
|
||||
2 3 5 52
|
||||
1 3 3 10>;
|
||||
*/
|
||||
pwr_mode = "bf";//B: only use power offset in EFUSE; b: use power offset in EFUSE with incremental mode; F: only use power offset in Flash; f: use power offset in Flash with incremental mode
|
||||
pwr_table_11b = <20 20 20 18>;//1Mbps 2Mbps 5.5Mbps 11Mbps
|
||||
pwr_table_11g = <18 18 18 18 18 18 14 14>; //6Mbps 9Mbps 12Mbps 18MBps 24Mbps 36Mbps 48Mbps 54Mbps
|
||||
pwr_table_11n = <18 18 18 18 18 16 14 14>; //MCS0 MCS1 MCS2 MCS3 MCS4 MCS5 MCS6 MCS7
|
||||
pwr_offset = <16 16 16 16 16 16 16 16 16 16 16 16 16 16>;//due to the limit of current DTC, negative value is used. So we work around by adding all the poweroffset with 16.
|
||||
//so 14 represents -0.5dBm; 16 represents 0dBm; 20 represents 1dBm;(step is 0.25dBm)
|
||||
};
|
||||
rf_temp {
|
||||
en_tcal = <0>;
|
||||
linear_or_follow = <1>;
|
||||
Tchannels = <2412 2427 2442 2457 2472>;
|
||||
Tchannel_os = <180 168 163 160 157>;
|
||||
Tchannel_os_low = <199 186 170 165 160>;
|
||||
Troom_os = <255>;
|
||||
//negative value is NOT supported. So we use '256' for 0, '255' for -1, '257' for 1,'511' for 256
|
||||
};
|
||||
};
|
||||
bluetooth {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
brd_rf {
|
||||
pwr_table_ble = <13>; //range:0~15dbm
|
||||
pwr_table_bt = <10 8 8>; //BR 1M,EDR 2M,EDR 3M
|
||||
pwr_table_zigbee = <13>; //range:0~15dbm
|
||||
pwr_offset = <16 16 16 16 16>; //step is 0.25dBm
|
||||
};
|
||||
};
|
||||
};
|
BIN
bsp/board/bl808dk/config/boot2_bl808_release_v8.1.1.bin
Normal file
BIN
bsp/board/bl808dk/config/boot2_bl808_release_v8.1.1.bin
Normal file
Binary file not shown.
BIN
bsp/board/bl808dk/config/mfg_bl808_gu_8476f7743_v0.59.bin
Normal file
BIN
bsp/board/bl808dk/config/mfg_bl808_gu_8476f7743_v0.59.bin
Normal file
Binary file not shown.
142
bsp/board/bl808dk/config/partition_cfg_8M.toml
Normal file
142
bsp/board/bl808dk/config/partition_cfg_8M.toml
Normal file
@ -0,0 +1,142 @@
|
||||
[pt_table]
|
||||
#partition table is 4K in size
|
||||
address0 = 0xE000
|
||||
address1 = 0xF000
|
||||
# If version is 2, It will use dynamic mode.
|
||||
version = 2
|
||||
|
||||
[[pt_entry]]
|
||||
type = 16
|
||||
name = "Boot2"
|
||||
device = 0
|
||||
address0 = 0
|
||||
size0 = 0xE000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
# If header is 1, it will add the header.
|
||||
header = 1
|
||||
# If header is 1 and security is 1, It will be encrypted.
|
||||
security = 1
|
||||
|
||||
[[pt_entry]]
|
||||
type = 0
|
||||
name = "FW"
|
||||
device = 0
|
||||
address0 = 0x10000
|
||||
size0 = 0x280000
|
||||
address1 = 0x290000
|
||||
size1 = 0x200000
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
# If header is 1, it will add the header.
|
||||
header = 1
|
||||
# If header is 1 and security is 1, It will be encrypted.
|
||||
security = 1
|
||||
|
||||
[[pt_entry]]
|
||||
type = 10
|
||||
name = "mfg"
|
||||
device = 0
|
||||
address0 = 0x290000
|
||||
size0 = 0xA0000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
# If header is 1, it will add the header.
|
||||
header = 1
|
||||
# If header is 1 and security is 1, It will be encrypted.
|
||||
security = 1
|
||||
|
||||
[[pt_entry]]
|
||||
type = 2
|
||||
name = "D0FW"
|
||||
device = 0
|
||||
address0 = 0x4F0000
|
||||
size0 = 0x120000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
# If header is 1, it will add the header.
|
||||
header = 1
|
||||
# If header is 1 and security is 1, It will be encrypted.
|
||||
security = 1
|
||||
|
||||
[[pt_entry]]
|
||||
type = 3
|
||||
name = "IMTB"
|
||||
device = 0
|
||||
address0 = 0x610000
|
||||
size0 = 0x2000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
# If header is 1, it will add the header.
|
||||
header = 0
|
||||
# If header is 1 and security is 1, It will be encrypted.
|
||||
security = 0
|
||||
|
||||
[[pt_entry]]
|
||||
type = 4
|
||||
name = "kv"
|
||||
device = 0
|
||||
address0 = 0x620000
|
||||
size0 = 0x10000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
# If header is 1, it will add the header.
|
||||
header = 0
|
||||
# If header is 1 and security is 1, It will be encrypted.
|
||||
security = 0
|
||||
|
||||
[[pt_entry]]
|
||||
type = 5
|
||||
name = "media"
|
||||
device = 0
|
||||
address0 = 0x630000
|
||||
size0 = 0x100000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
# If header is 1, it will add the header.
|
||||
header = 0
|
||||
# If header is 1 and security is 1, It will be encrypted.
|
||||
security = 0
|
||||
|
||||
[[pt_entry]]
|
||||
type = 7
|
||||
name = "Yocboot"
|
||||
device = 0
|
||||
address0 = 0x730000
|
||||
size0 = 0x10000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
# If header is 1, it will add the header.
|
||||
header = 1
|
||||
# If header is 1 and security is 1, It will be encrypted.
|
||||
security = 1
|
||||
|
||||
[[pt_entry]]
|
||||
type = 8
|
||||
# It shows Dts in DevCube
|
||||
name = "factory"
|
||||
device = 0
|
||||
address0 = 0x740000
|
||||
size0 = 0x8000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
# If header is 1, it will add the header.
|
||||
header = 0
|
||||
# If header is 1 and security is 1, It will be encrypted.
|
||||
security = 0
|
Loading…
x
Reference in New Issue
Block a user