RTT 全志D1s RDC2022纪念版使用tina_Linux的移植修改记录

2.1、修改tina-d1-h/device/config/chips/d1s/configs/nezha/sys_config.fex

修改前:

[target] 
boot_clock     = 720 
storage_type    = 4 
nand_use_ubi   = 1

修改后:

[target] 
boot_clock     = 720 
storage_type    = 0         //这里改成1和改成0好像都可以,暂不清楚具体区别
nand_use_ubi   = 1

2.2、修改/tina-d1-h/device/config/chips/d1s/configs/nezha/uboot-board.dts

修改前:

&card0_boot_para {  /* Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value */
  /* reg = <0x0 0x2 0x0 0x0>;  [> Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value <] */
  device_type = "card0_boot_para";
  card_ctrl = <0x0>;
  card_high_speed = <0x1>;
  card_line = <0x4>;
  /*
  pinctrl-0 = <&sdc0_pins_a>;
  */
};

修改后

&card0_boot_para {  /* Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value */
  /* reg = <0x0 0x2 0x0 0x0>;  [> Avoid dtc compiling warnings. @TODO: Developer should modify this to the actual value <] */
  device_type = "card0_boot_para";
  card_ctrl = <0x0>;
  card_high_speed = <0x1>;
  card_line = <0x4>;
  pinctrl-0 = <&sdc0_pins_a>;       //取消这段代码的注释
};

2.3、修改tina-d1-h/device/config/chips/d1s/configs/nezha/linux-5.4/board.dts

修改前:

&sdc0 {
  bus-width = <4>;
  cd-gpios = <&pio PF 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
  /*non-removable;*/
  /*broken-cd;*/
  /*cd-inverted;*/
  /*data3-detect;*/
  /*card-pwr-gp
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值