From 61fc17be73a8a29ba860ed54a77e02c82a6866a2 Mon Sep 17 00:00:00 2001 From: lin <lin@kickpi.com> Date: Thu, 17 Apr 2025 03:49:56 +0000 Subject: [PATCH] feat(build) distinguish between K5 and K5C .fex files --- .gitignore | 1 build.sh | 2 longan/device/config/chips/a133/configs/c3/kickpi-k5.fex | 884 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ longan/device/config/chips/a133/configs/c3/kickpi-k5c.fex | 0 4 files changed, 887 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 1b1dffa..36188be 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ android/device/softwinner/ceres-c3/fstab.sun50iw10p1.noverify longan/device/.BoardConfig.mk +longan/device/config/chips/a133/configs/c3/sys_config.fex diff --git a/build.sh b/build.sh index 4ced701..c080713 100755 --- a/build.sh +++ b/build.sh @@ -38,7 +38,9 @@ source $BOARD_CONFIG_FILE echo "you board is ${DTS_NAME}" + ln -rsf "${DTS_DIR}/${DTS_NAME}.fex" "${DTS_DIR}/sys_config.fex" echo "Start clean kerenl" + cd longan/kernel/linux-4.9 && make clean -j32 && cd - source $BOARD_CONFIG_FILE longan/build/mkcommon.sh autoconfig -i a133 -o android -b c3 diff --git a/longan/device/config/chips/a133/configs/c3/kickpi-k5.fex b/longan/device/config/chips/a133/configs/c3/kickpi-k5.fex new file mode 100755 index 0000000..1046126 --- /dev/null +++ b/longan/device/config/chips/a133/configs/c3/kickpi-k5.fex @@ -0,0 +1,884 @@ +;sunxi platform application +;--------------------------------------------------------------------------------------------------------- +; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 +; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态> +;--------------------------------------------------------------------------------------------------------- + +[product] +version = "100" +machine = "evb" + +[platform] +eraseflag = 1 +next_work = 3 +debug_mode = 10 + +;---------------------------------------------------------------------------------- +;[target] system bootup configuration +;boot_clock = CPU boot frequency, Unit: MHz +;storage_type = boot medium, 0-nand, 1-card0, 2-card2, -1(defualt)auto scan +;burn_key 1:support burn key; 0:not support burn key +;dragonboard_test 1:support card boot dragonboard; 0:not support card boot dragonboard +;power_mode = axp_type, 0:axp81X, 1:dummy, 2:axp806, 3:axp2202, 4:axp858 +;---------------------------------------------------------------------------------- +[target] +boot_clock = 1008 +storage_type = -1 +burn_key = 0 +; for dragonboard test +dragonboard_test = 0 +power_mode = 0 + +;---------------------------------------------------------------------------------- +; system configuration +; ? +;dcdc1_vol ---set dcdc1 voltage,mV,500-1200,10mV/step +; 1220-3400,20mV/step +;dcdc2_vol ---set dcdc2 voltage,mV,500-1200,10mV/step +; 1220-1540,20mV/step +;aldo1_vol ---set aldo1 voltage,mV,500-3500,100mV/step +;dldo1_vol ---set dldo1 voltage,mV,500-3500,100mV/step +;dcdcX_mode ---set dcdc mode, 0:pfm-pwm 1:force pwm +;---------------------------------------------------------------------------------- +[power_sply] +dcdc1_vol = 1003300 +aldo1_vol = 1001800 +aldo2_vol = 1001800 +aldo3_vol = 1003300 +dldo1_vol = 3300 +dldo2_vol = 1001800 +dldo3_vol = 1001800 +dldo4_vol = 1001800 +eldo1_vol = 1001800 +eldo2_vol = 1001800 +eldo3_vol = 1001800 +fldo1_vol = 100900 +dc1sw_vol = 1003300 +dcdc5_mode = 0 +dcdc2_mode = 0 +dcdc3_mode = 0 +battery_exist = 0 + +[card_boot] +logical_start = 40960 +;sprite_gpio0 = port:PH6<1><default><default><1> + +;---------------------------------------------------------------------------------- +;fastboot key +;---------------------------------------------------------------------------------- +[fastboot_key] +key_max = 0x2a +key_min = 0x28 + +;---------------------------------------------------------------------------------- +;recovery key +;---------------------------------------------------------------------------------- +[recovery_key] +key_max = 0x1f +key_min = 0x1c + +;--------------------------------------------------------------------------------------------------------- +; if 1 == standby_mode, then support super standby; +; else, support normal standby. +;--------------------------------------------------------------------------------------------------------- +[pm_para] +standby_mode = 1 + +[card0_boot_para] +card_ctrl = 0 +card_high_speed = 1 +card_line = 4 +sdc_d1 = port:PF0<2><1><3><default> +sdc_d0 = port:PF1<2><1><3><default> +sdc_clk = port:PF2<2><1><3><default> +sdc_cmd = port:PF3<2><1><3><default> +sdc_d3 = port:PF4<2><1><3><default> +sdc_d2 = port:PF5<2><1><3><default> +;sdc_type = "tm1" + +[card2_boot_para] +card_ctrl = 2 +card_high_speed = 1 +card_line = 8 +sdc_clk = port:PC5<3><1><3><default> +sdc_cmd = port:PC6<3><1><3><default> +sdc_d0 = port:PC10<3><1><3><default> +sdc_d1 = port:PC13<3><1><3><default> +sdc_d2 = port:PC15<3><1><3><default> +sdc_d3 = port:PC8<3><1><3><default> +sdc_d4 = port:PC9<3><1><3><default> +sdc_d5 = port:PC11<3><1><3><default> +sdc_d6 = port:PC14<3><1><3><default> +sdc_d7 = port:PC16<3><1><3><default> +sdc_emmc_rst = port:PC1<3><1><3><default> +sdc_ds = port:PC0<3><2><3><default> +sdc_tm4_hs200_max_freq = 150 +sdc_tm4_hs400_max_freq = 100 +sdc_ex_dly_used = 2 +sdc_io_1v8 = 1 +sdc_tm4_win_th = 8 +;sdc_dis_host_caps = 0x100 +;sdc_erase = 2 +;sdc_boot0_sup_1v8 = 1 +;sdc_type = "tm4" + +[gpio_bias] +pc_bias = 1800 +;pl_bias = 1800 + +[auto_print] +auto_print_used = 1 + +[uart_para] +uart_debug_port = 0 +uart_debug_tx = port:PB09<2><1><default><default> +uart_debug_rx = port:PB10<2><1><default><default> + +;[jtag_para] +;jtag_enable = 1 +;jtag_ms = port:PH9<3><default><default><default> +;jtag_ck = port:PH10<3><default><default><default> +;jtag_do = port:PH11<3><default><default><default> +;jtag_di = port:PH12<3><default><default><default> + +[clock] +pll4 = 300 +pll6 = 600 +pll8 = 360 +pll9 = 297 +pll10 = 264 + +;***************************************************************************** +; +;dram select configuration +; +;select_mode : dram模式选择, 0:不进行自动识别 +; 1:gpio识别模式(dram_para, dram_para1-15, 共16组有效) +; 2:gpadc识别模式(dram_para, dram_para1-7, 共8组有效) +; 3:1个IO+gpadc识别模式(dram_para, dram_para1-15, 共16组有效)。其中IO配置优先级按select_gpio0>select_gpio1>select_gpio2>select_gpio3 +;gpadc_channel : 选择gpadc通道 有效值(0-3) +;select_gpio1-4 : 选择gpio pin +;***************************************************************************** + + +[dram_select_para] +select_mode = 0 +gpadc_channel = 1 +;select_gpio0 = port:PB7<0><1><default><default> +select_gpio1 = port:PB4<0><1><default><default> +;select_gpio2 = port:PH1<0><1><default><default> +;select_gpio3 = port:PH0<0><1><default><default> + + + +[dram_para] +dram_clk = 648 +dram_type = 3 +dram_dx_odt = 0x07070707 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x0e0e +dram_para0 = 0x15101212 +dram_para1 = 0x30FA +dram_para2 = 0x0000 +dram_mr0 = 0x840 +dram_mr1 = 0x4 +dram_mr2 = 0x8 +dram_mr3 = 0x0 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x33808080 +dram_tpr10 = 0x002f7458 +dram_tpr11 = 0x0f0b0e0c +dram_tpr12 = 0x19191818 +dram_tpr13 = 0x00 +dram_tpr14 = 0x26232323 + +;***************************************************************************** +;sdram configuration +; +;***************************************************************************** +;[dram_para] +;dram_clk = 648 +;dram_type = 3 +;dram_dx_odt = 0x03030303 +;dram_dx_dri = 0x0e0e0e0e +;dram_ca_dri = 0x1c12 +;dram_odt_en = 0 +;dram_para1 = 0x30fb +;dram_para2 = 0x0000 +;dram_mr0 = 0x840 +;dram_mr1 = 0x4 +;dram_mr2 = 0x8 +;dram_mr3 = 0x0 +;dram_mr4 = 0x0 +;dram_mr5 = 0x0 +;dram_mr6 = 0x0 +;dram_mr11 = 0x0 +;dram_mr12 = 0x0 +;dram_mr13 = 0x0 +;dram_mr14 = 0x0 +;dram_mr16 = 0x0 +;dram_mr17 = 0x0 +;dram_mr22 = 0x0 +;dram_tpr0 = 0xC0000C05 +;dram_tpr1 = 0x0 +;dram_tpr2 = 0x0 +;dram_tpr3 = 0x0 +;dram_tpr6 = 0x33808080 +;dram_tpr10 = 0x002F0007 +;dram_tpr11 = 0xffffdddd +;dram_tpr12 = 0xfedf7557 +;dram_tpr13 = 0x40 + +;[dram_para] +;dram_clk = 648 +;dram_type = 3 +;dram_dx_odt = 0x07070707 +;dram_dx_dri = 0x0d0d0d0d +;dram_ca_dri = 0x0e0e +;dram_para0 = 0x0d0a050c +;dram_para1 = 0x30ea +;dram_para2 = 0x1000 +;dram_mr0 = 0x0 +;dram_mr1 = 0x34 +;dram_mr2 = 0x1b +;dram_mr3 = 0x33 +;dram_mr4 = 0x3 +;dram_mr5 = 0x0 +;dram_mr6 = 0x0 +;dram_mr11 = 0x04 +;dram_mr12 = 0x72 +;dram_mr13 = 0x0 +;dram_mr14 = 0x7 +;dram_mr16 = 0x0 +;dram_mr17 = 0x0 +;dram_mr22 = 0x26 +;dram_tpr0 = 0x06060606 +;dram_tpr1 = 0x04040404 +;dram_tpr2 = 0x0 +;dram_tpr3 = 0x0 +;dram_tpr6 = 0x48010101 +;dram_tpr10 = 0x00273333 +;dram_tpr11 = 0x241f1923 +;dram_tpr12 = 0x14151313 +;dram_tpr13 = 0x81d20 +;dram_tpr14 = 0x2023211f +;test_list = 0x00000000 + +[dram_para1] +dram_clk = 672 +dram_type = 7 +dram_dx_odt = 0x06060606 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x1919 +dram_para0 = 0x16171411 +dram_para1 = 0x30eb +dram_para2 = 0x0000 +dram_mr0 = 0x0 +dram_mr1 = 0xc3 +dram_mr2 = 0x6 +dram_mr3 = 0x2 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x2fb48080 +dram_tpr10 = 0x002f876b +dram_tpr11 = 0x10120c05 +dram_tpr12 = 0x12121111 +dram_tpr13 = 0x61 +dram_tpr14 = 0x211e1e22 + +[dram_para2] + +dram_clk = 672 +dram_type = 7 +dram_dx_odt = 0x06060606 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x1919 +dram_para0 = 0x16171411 +dram_para1 = 0x30eb +dram_para2 = 0x0000 +dram_mr0 = 0x0 +dram_mr1 = 0xc3 +dram_mr2 = 0x6 +dram_mr3 = 0x2 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x2fb48080 +dram_tpr10 = 0x002f876b +dram_tpr11 = 0x10120c05 +dram_tpr12 = 0x12121111 +dram_tpr13 = 0x61 +dram_tpr14 = 0x211e1e22 + +[dram_para3] + +dram_clk = 672 +dram_type = 7 +dram_dx_odt = 0x06060606 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x1919 +dram_para0 = 0x16171411 +dram_para1 = 0x30eb +dram_para2 = 0x0000 +dram_mr0 = 0x0 +dram_mr1 = 0xc3 +dram_mr2 = 0x6 +dram_mr3 = 0x2 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x2fb48080 +dram_tpr10 = 0x002f876b +dram_tpr11 = 0x10120c05 +dram_tpr12 = 0x12121111 +dram_tpr13 = 0x61 +dram_tpr14 = 0x211e1e22 + +[dram_para4] + +dram_clk = 672 +dram_type = 7 +dram_dx_odt = 0x06060606 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x1919 +dram_para0 = 0x16171411 +dram_para1 = 0x30eb +dram_para2 = 0x0000 +dram_mr0 = 0x0 +dram_mr1 = 0xc3 +dram_mr2 = 0x6 +dram_mr3 = 0x2 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x2fb48080 +dram_tpr10 = 0x002f876b +dram_tpr11 = 0x10120c05 +dram_tpr12 = 0x12121111 +dram_tpr13 = 0x61 +dram_tpr14 = 0x211e1e22 + +[dram_para5] + +dram_clk = 672 +dram_type = 7 +dram_dx_odt = 0x06060606 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x1919 +dram_para0 = 0x16171411 +dram_para1 = 0x30eb +dram_para2 = 0x0000 +dram_mr0 = 0x0 +dram_mr1 = 0xc3 +dram_mr2 = 0x6 +dram_mr3 = 0x2 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x2fb48080 +dram_tpr10 = 0x002f876b +dram_tpr11 = 0x10120c05 +dram_tpr12 = 0x12121111 +dram_tpr13 = 0x61 +dram_tpr14 = 0x211e1e22 + +[dram_para6] + +dram_clk = 672 +dram_type = 7 +dram_dx_odt = 0x06060606 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x1919 +dram_para0 = 0x16171411 +dram_para1 = 0x30eb +dram_para2 = 0x0000 +dram_mr0 = 0x0 +dram_mr1 = 0xc3 +dram_mr2 = 0x6 +dram_mr3 = 0x2 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x2fb48080 +dram_tpr10 = 0x002f876b +dram_tpr11 = 0x10120c05 +dram_tpr12 = 0x12121111 +dram_tpr13 = 0x61 +dram_tpr14 = 0x211e1e22 + +[dram_para7] + +dram_clk = 672 +dram_type = 7 +dram_dx_odt = 0x06060606 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x1919 +dram_para0 = 0x16171411 +dram_para1 = 0x30eb +dram_para2 = 0x0000 +dram_mr0 = 0x0 +dram_mr1 = 0xc3 +dram_mr2 = 0x6 +dram_mr3 = 0x2 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x2fb48080 +dram_tpr10 = 0x002f876b +dram_tpr11 = 0x10120c05 +dram_tpr12 = 0x12121111 +dram_tpr13 = 0x61 +dram_tpr14 = 0x211e1e22 + +[dram_para8] + +dram_clk = 672 +dram_type = 7 +dram_dx_odt = 0x06060606 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x1919 +dram_para0 = 0x16171411 +dram_para1 = 0x30eb +dram_para2 = 0x0000 +dram_mr0 = 0x0 +dram_mr1 = 0xc3 +dram_mr2 = 0x6 +dram_mr3 = 0x2 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x2fb48080 +dram_tpr10 = 0x002f876b +dram_tpr11 = 0x10120c05 +dram_tpr12 = 0x12121111 +dram_tpr13 = 0x61 +dram_tpr14 = 0x211e1e22 + +[dram_para9] + +dram_clk = 672 +dram_type = 7 +dram_dx_odt = 0x06060606 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x1919 +dram_para0 = 0x16171411 +dram_para1 = 0x30eb +dram_para2 = 0x0000 +dram_mr0 = 0x0 +dram_mr1 = 0xc3 +dram_mr2 = 0x6 +dram_mr3 = 0x2 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x2fb48080 +dram_tpr10 = 0x002f876b +dram_tpr11 = 0x10120c05 +dram_tpr12 = 0x12121111 +dram_tpr13 = 0x61 +dram_tpr14 = 0x211e1e22 + +[dram_para10] + +dram_clk = 672 +dram_type = 7 +dram_dx_odt = 0x06060606 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x1919 +dram_para0 = 0x16171411 +dram_para1 = 0x30eb +dram_para2 = 0x0000 +dram_mr0 = 0x0 +dram_mr1 = 0xc3 +dram_mr2 = 0x6 +dram_mr3 = 0x2 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x2fb48080 +dram_tpr10 = 0x002f876b +dram_tpr11 = 0x10120c05 +dram_tpr12 = 0x12121111 +dram_tpr13 = 0x61 +dram_tpr14 = 0x211e1e22 + +[dram_para11] + +dram_clk = 672 +dram_type = 7 +dram_dx_odt = 0x06060606 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x1919 +dram_para0 = 0x16171411 +dram_para1 = 0x30eb +dram_para2 = 0x0000 +dram_mr0 = 0x0 +dram_mr1 = 0xc3 +dram_mr2 = 0x6 +dram_mr3 = 0x2 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x2fb48080 +dram_tpr10 = 0x002f876b +dram_tpr11 = 0x10120c05 +dram_tpr12 = 0x12121111 +dram_tpr13 = 0x61 +dram_tpr14 = 0x211e1e22 + +[dram_para12] + +dram_clk = 672 +dram_type = 7 +dram_dx_odt = 0x06060606 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x1919 +dram_para0 = 0x16171411 +dram_para1 = 0x30eb +dram_para2 = 0x0000 +dram_mr0 = 0x0 +dram_mr1 = 0xc3 +dram_mr2 = 0x6 +dram_mr3 = 0x2 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x2fb48080 +dram_tpr10 = 0x002f876b +dram_tpr11 = 0x10120c05 +dram_tpr12 = 0x12121111 +dram_tpr13 = 0x61 +dram_tpr14 = 0x211e1e22 + +[dram_para13] + +dram_clk = 672 +dram_type = 7 +dram_dx_odt = 0x06060606 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x1919 +dram_para0 = 0x16171411 +dram_para1 = 0x30eb +dram_para2 = 0x0000 +dram_mr0 = 0x0 +dram_mr1 = 0xc3 +dram_mr2 = 0x6 +dram_mr3 = 0x2 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x2fb48080 +dram_tpr10 = 0x002f876b +dram_tpr11 = 0x10120c05 +dram_tpr12 = 0x12121111 +dram_tpr13 = 0x61 +dram_tpr14 = 0x211e1e22 + +[dram_para14] + +dram_clk = 672 +dram_type = 7 +dram_dx_odt = 0x06060606 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x1919 +dram_para0 = 0x16171411 +dram_para1 = 0x30eb +dram_para2 = 0x0000 +dram_mr0 = 0x0 +dram_mr1 = 0xc3 +dram_mr2 = 0x6 +dram_mr3 = 0x2 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x2fb48080 +dram_tpr10 = 0x002f876b +dram_tpr11 = 0x10120c05 +dram_tpr12 = 0x12121111 +dram_tpr13 = 0x61 +dram_tpr14 = 0x211e1e22 + +[dram_para15] + +dram_clk = 672 +dram_type = 7 +dram_dx_odt = 0x06060606 +dram_dx_dri = 0x0c0c0c0c +dram_ca_dri = 0x1919 +dram_para0 = 0x16171411 +dram_para1 = 0x30eb +dram_para2 = 0x0000 +dram_mr0 = 0x0 +dram_mr1 = 0xc3 +dram_mr2 = 0x6 +dram_mr3 = 0x2 +dram_mr4 = 0x0 +dram_mr5 = 0x0 +dram_mr6 = 0x0 +dram_mr11 = 0x0 +dram_mr12 = 0x0 +dram_mr13 = 0x0 +dram_mr14 = 0x0 +dram_mr16 = 0x0 +dram_mr17 = 0x0 +dram_mr22 = 0x0 +dram_tpr0 = 0x0 +dram_tpr1 = 0x0 +dram_tpr2 = 0x0 +dram_tpr3 = 0x0 +dram_tpr6 = 0x2fb48080 +dram_tpr10 = 0x002f876b +dram_tpr11 = 0x10120c05 +dram_tpr12 = 0x12121111 +dram_tpr13 = 0x61 +dram_tpr14 = 0x211e1e22 + +;---------------------------------------------------------------------------------- +;os life cycle para configuration +;---------------------------------------------------------------------------------- + +;---------------------------------------------------------------------------------- +;uart configuration +;uart_type --- 2 (2 wire), 4 (4 wire), 8 (8 wire, full function) +;---------------------------------------------------------------------------------- +[uart0] +uart0_used = 1 +uart0_port = 0 +uart0_type = 2 +uart0_tx = port:PB09<2><1><default><default> +uart0_rx = port:PB10<2><1><default><default> + +[nand0_para] +nand0_support_2ch = 0 + +nand0_used = 0 +nand0_we = port:PC00<2><0><1><default> +nand0_ale = port:PC01<2><0><1><default> +nand0_cle = port:PC02<2><0><1><default> +nand0_ce0 = port:PC03<2><1><1><default> +nand0_nre = port:PC04<2><0><1><default> +nand0_rb0 = port:PC05<2><1><1><default> +nand0_d0 = port:PC06<2><0><1><default> +nand0_d1 = port:PC07<2><0><1><default> +nand0_d2 = port:PC08<2><0><1><default> +nand0_d3 = port:PC09<2><0><1><default> +nand0_d4 = port:PC10<2><0><1><default> +nand0_d5 = port:PC11<2><0><1><default> +nand0_d6 = port:PC12<2><0><1><default> +nand0_d7 = port:PC13<2><0><1><default> +nand0_ndqs = port:PC14<2><0><1><default> +nand0_ce1 = port:PC15<2><1><1><default> +nand0_rb1 = port:PC16<2><1><1><default> + +nand0_regulator1 = "vcc-nand" +nand0_regulator2 = "none" +nand0_cache_level = 0x55aaaa55 +nand0_flush_cache_num = 0x55aaaa55 +nand0_capacity_level = 0x55aaaa55 +nand0_id_number_ctl = 0x55aaaa55 +nand0_print_level = 0x55aaaa55 +nand0_p0 = 0x55aaaa55 +nand0_p1 = 0x55aaaa55 +nand0_p2 = 0x55aaaa55 +nand0_p3 = 0x55aaaa55 + +[charger0] +pmu_safe_vol = 3500 + +;[secure] +;dram_region_mbytes = 80 +;drm_region_mbytes = 0 +;drm_region_start_mbytes = 0 + +;XR829 +[sdc1] +sdc1_used = 1 +bus-width = 4 +sdc1_clk = port:PG00<2><1><0><default> +sdc1_cmd = port:PG01<2><1><0><default> +sdc1_d0 = port:PG02<2><1><0><default> +sdc1_d1 = port:PG03<2><1><0><default> +sdc1_d2 = port:PG04<2><1><0><default> +sdc1_d3 = port:PG05<2><1><0><default> +;non-removable = +;cd-gpios = +;sunxi-power-save-mode = +ctl-spec-caps = 0x1 +sunxi-power-save-mode = +sunxi-dis-signal-vol-sw = +;sd-uhs-sdr50 = +;sd-uhs-ddr50 = +;sd-uhs-sdr104 = +;cap-sdio-irq = +keep-power-in-suspend = +ignore-pm-notify = +;max-frequency = 150000000 +min-frequency = 150000 diff --git a/longan/device/config/chips/a133/configs/c3/sys_config.fex b/longan/device/config/chips/a133/configs/c3/kickpi-k5c.fex similarity index 100% rename from longan/device/config/chips/a133/configs/c3/sys_config.fex rename to longan/device/config/chips/a133/configs/c3/kickpi-k5c.fex -- Gitblit v1.6.2