请问,有人在D1s成功运行过主线Linux系统么?
-
修改 sun20i-d1-spl nboot/main/boot0_head.c/*unsigned int dram_para[32] ;*/ { 0x00000210, 0x00000002, 0x007b7bf9, 0x00000000, 0x000000d2, 0x00000000, 0x00000e73, 0x00000002, 0x00000000, 0x00000000, 0x00471992, 0x0131a10c, 0x00057041, 0xb4787896, 0x00000000, 0x48484848, 0x00000048, 0x1621121e, 0x00000000, 0x00000000, 0x00000000, 0x00030010, 0x00000035, 0x34000000, }, /*normal_gpio_cfg uart_ctrl[2];*/ { {5, 3, 6, 1, 0xff, 0xff, {0} }, /*PE3: 6--RX*/ {5, 2, 6, 1, 0xff, 0xff, {0} }, /*PE2: 6--TX*/ },
修改主线内uboot设备树
uart0引脚为PE2 PE3,打包方式保持不变
烧写启动,提示如下
-
btw i run mainline kernal n u boot on d1h based sbc
Mainline uboot for d1 h https://github.com/smaeul/u-boot/tree/d1-wip
Mainline kernel for d1h https://github.com/smaeul/linux/tree/riscv/d1-wip
-
@hacker_exkc
请问 D1s 和 D1h 的 uboot 等通用吗?
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号