Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    请问,有人在D1s成功运行过主线Linux系统么?

    D1系列-RISC-V
    2
    2
    353
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • baiwen
      100ask LV 3 last edited by

      147de011-6bcf-4a45-828c-8d87f3f2fce1-image.png
      修改 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,打包方式保持不变
      烧写启动,提示如下
      8ad3e971-391a-4067-bb84-fcd4f473fc43-image.png

      1 Reply Last reply Reply Quote Share 0
      • H
        hacker_eXkc LV 3 last edited by

        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

        https://linux-sunxi.org/Allwinner_Nezha

        1 Reply Last reply Reply Quote Share 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2022 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策