Constant blflash::chip::bl602::DEFAULT_BOOTHEADER_CFG[][src]

pub const DEFAULT_BOOTHEADER_CFG: &'static [u8] = b"[EFUSE_CFG]\n########################################################################\n#2bits\nef_sf_aes_mode = 0\n#2bits\nef_sboot_sign_mode = 0\n#2bits\nef_sboot_en = 0\n#2bits\nef_dbg_jtag_dis = 0\n#4bits\nef_dbg_mode = 0\n#32bits\nef_dbg_pwd_low = 0\n#32bits\nef_dbg_pwd_high = 0\n###################################################################\nef_key_slot_2_w0 = 0\nef_key_slot_2_w1 = 0\nef_key_slot_2_w2 = 0\nef_key_slot_2_w3 = 0\nef_key_slot_3_w0 = 0\nef_key_slot_3_w1 = 0\nef_key_slot_3_w2 = 0\nef_key_slot_3_w3 = 0\nef_key_slot_4_w0 = 0\nef_key_slot_4_w1 = 0\nef_key_slot_4_w2 = 0\nef_key_slot_4_w3 = 0\n\nwr_lock_key_slot_4_l = 0\nwr_lock_dbg_pwd = 0\nwr_lock_key_slot_2 = 0\nwr_lock_key_slot_3 = 0\nwr_lock_key_slot_4_h = 0\nrd_lock_dbg_pwd = 0\nrd_lock_key_slot_2 = 0\nrd_lock_key_slot_3 = 0\nrd_lock_key_slot_4 = 0\n\n[BOOTHEADER_CFG]\nmagic_code = 0x504e4642\nrevision = 0x01\n#########################flash cfg#############################\nflashcfg_magic_code = 0x47464346\n#flashcfg_magic_code=0\nio_mode = 4\ncont_read_support = 1\n#0.5T sfctrl_clk_delay=0 sfctrl_clk_invert=3\n#1 T sfctrl_clk_delay=1 sfctrl_clk_invert=1\n#1.5T sfctrl_clk_delay=1 sfctrl_clk_invert=3\nsfctrl_clk_delay = 1\nsfctrl_clk_invert = 0x01\n\nreset_en_cmd = 0x66\nreset_cmd = 0x99\nexit_contread_cmd = 0xff\nexit_contread_cmd_size = 3\n\njedecid_cmd = 0x9f\njedecid_cmd_dmy_clk = 0\nqpi_jedecid_cmd = 0x9f\nqpi_jedecid_dmy_clk = 0\n\nsector_size = 4\nmfg_id = 0xef\npage_size = 256\n\nchip_erase_cmd = 0xc7\nsector_erase_cmd = 0x20\nblk32k_erase_cmd = 0x52\nblk64k_erase_cmd = 0xd8\n\nwrite_enable_cmd = 0x06\npage_prog_cmd = 0x02\nqpage_prog_cmd = 0x32\nqual_page_prog_addr_mode = 0\n\nfast_read_cmd = 0x0b\nfast_read_dmy_clk = 1\nqpi_fast_read_cmd = 0x0b\nqpi_fast_read_dmy_clk = 1\n\nfast_read_do_cmd = 0x3b\nfast_read_do_dmy_clk = 1\nfast_read_dio_cmd = 0xbb\nfast_read_dio_dmy_clk = 0\n\nfast_read_qo_cmd = 0x6b\nfast_read_qo_dmy_clk = 1\nfast_read_qio_cmd = 0xeb\nfast_read_qio_dmy_clk = 2\n\nqpi_fast_read_qio_cmd = 0xeb\nqpi_fast_read_qio_dmy_clk = 2\nqpi_page_prog_cmd = 0x02\nwrite_vreg_enable_cmd = 0x50\n\nwel_reg_index = 0\nqe_reg_index = 1\nbusy_reg_index = 0\nwel_bit_pos = 1\n\nqe_bit_pos = 1\nbusy_bit_pos = 0\nwel_reg_write_len = 2\nwel_reg_read_len = 1\n\nqe_reg_write_len = 1\nqe_reg_read_len = 1\nrelease_power_down = 0xab\nbusy_reg_read_len = 1\n\nreg_read_cmd0 = 0x05\nreg_read_cmd1 = 0x35\n\nreg_write_cmd0 = 0x01\nreg_write_cmd1 = 0x31\n\nenter_qpi_cmd = 0x38\nexit_qpi_cmd = 0xff\ncont_read_code = 0x20\ncont_read_exit_code = 0xff\n\nburst_wrap_cmd = 0x77\nburst_wrap_dmy_clk = 0x03\nburst_wrap_data_mode = 2\nburst_wrap_code = 0x40\n\nde_burst_wrap_cmd = 0x77\nde_burst_wrap_cmd_dmy_clk = 0x03\nde_burst_wrap_code_mode = 2\nde_burst_wrap_code = 0xF0\n\nsector_erase_time = 300\nblk32k_erase_time = 1200\n\nblk64k_erase_time = 1200\npage_prog_time = 5\n\nchip_erase_time = 20000\npower_down_delay = 3\nqe_data = 0\n\nflashcfg_crc32 = 0\n\n#########################clk cfg####################################\nclkcfg_magic_code = 0x47464350\n#clkcfg_magic_code=0\n\n#0:Not use XTAL to set PLL,1:XTAL is 24M ,2:XTAL is 32M ,3:XTAL is 38.4M\n#4:XTAL is 40M,5:XTAL is 26M,6:XTAL is RC32M\nxtal_type = 4\n#0:RC32M,1:XTAL,2:PLL 48M,3:PLL 120M,4:PLL 160M,5:PLL 192M\npll_clk = 4\nhclk_div = 0\nbclk_div = 1\n#0:120M,1:XCLK(RC32M or XTAL),2:48M,3:80M,4:BCLK,5:96M\nflash_clk_type = 3\nflash_clk_div = 1\nclkcfg_crc32 = 0\n\n########################boot cfg####################################\n#1:ECC\nsign = 0\n#1:AES128,2:AES256,3:AES192\nencrypt_type = 0\nkey_sel = 0\nno_segment = 1\ncache_enable = 1\nnotload_in_bootrom = 0\naes_region_lock = 0\ncache_way_disable = 0x03\ncrc_ignore = 0\nhash_ignore = 0\n\n########################image cfg####################################\n#total image len or segment count \nimg_len = 0x100\nbootentry = 0\n#img RAM address or flash offset \nimg_start = 0x2000\n\n#img hash\nhash_0 = 0xdeadbeef\nhash_1 = 0\nhash_2 = 0\nhash_3 = 0\nhash_4 = 0\nhash_5 = 0\nhash_6 = 0\nhash_7 = 0\n\ncrc32 = 0xdeadbeef\n";