您尚未登录。

#1 2021-04-29 17:30:03 分享评论

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,125
积分: 1907

感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

购买链接: ( 目前我也不知道哪里可以买,据说节后会挂淘宝 )

烧录软件: AllwinnertechPhoeniSuitRelease20201225.zip (还是熟悉的味道)

测试固件: D1哪吒HDMI测试固件.img.7z

开发板原理图: D1哪吒开发板原理图20210224.pdf

离线

#2 2021-04-29 17:30:11 分享评论

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,125
积分: 1907

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

QQ图片20210429224549.jpg

QQ图片20210429224552.jpg

QQ图片20210429224544.jpg

QQ图片20210429224534.jpg




QQ截图20210429224113.png

全志测试固件烧写成功!

离线

#3 2021-04-29 17:30:14 分享评论

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,125
积分: 1907

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

启动日志:

[156]HELLO! BOOT0 is starting!
[159]BOOT0 commit : 7c8e7f2
[161]set pll start
[163]periph0 has been enabled
[166]set pll end
[248][pmu]: bus read error
[251]board init ok
[253]DRAM only have internal ZQ!!
[256]get_pmu_exist() = -1
[258]DRAM BOOT DRIVE INFO: V0.23
[261]DRAM CLK = 792 MHz
[263]DRAM Type = 3 (2:DDR2,3:DDR3)
[266]DRAMC ZQ value: 0x7b7bfb
[269]DRAM ODT value: 0x42.
[272]ddr_type: 0x0
[274]DRAM SIZE =512 M
[278]DRAM simple test OK.
[280]dram size =512
[282]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32
[287]block from 8 to 32
[362]Check is correct.
[364]dma 0x2f818 int is not used yet
[367]dma 0x2f818 int is free, you do not need to free it again
[373]Entry_name        = opensbi
[376]Entry_name        = u-boot
[380]Entry_name        = dtb
[382]Jump to second Boot.

OpenSBI v0.6
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name          : T-HEAD Xuantie Platform
Platform HART Features : RV64ACDFIMSUVX
Platform Max HARTs     : 1
Current Hart           : 0
Firmware Base          : 0x40000400
Firmware Size          : 59 KB
Runtime SBI Version    : 0.2

MIDELEG : 0x0000000000000222
MEDELEG : 0x000000000000b1ff
PMP0    : 0x0000000040000000-0x000000004000ffff (A)
PMP1    : 0x0000000040000000-0x000000007fffffff (A,R,W,X)
PMP2    : 0x0000000000000000-0x0000000007ffffff (A,R,W)
PMP3    : 0x0000000009000000-0x000000000901ffff (▒

U-Boot 2018.05-00082-ge35a32d58c (Mar 29 2021 - 03:53:57 +0000) Allwinner Technology

[00.466]DRAM:  512 MiB
[00.468]Relocation Offset is: 1def3000
[00.472]secure enable bit: 0
[00.474]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
[00.481]flash init start
[00.483]workmode = 0,storage type = 0
[00.489]sunxi-spinand-phy: not detect any munufacture from id table
[00.495]sunxi-spinand-phy: get spi-nand Model from fdt fail
[00.500]sunxi-spinand-phy: get phy info from fdt fail

device nand0 <nand>, # parts = 4
 #: name                size            offset          mask_flags
 0: boot0               0x00100000      0x00000000      1
 1: uboot               0x00300000      0x00100000      1
 2: secure_storage      0x00100000      0x00400000      1
 3: sys                 0x0fb00000      0x00500000      0

active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000

defaults:
mtdids  : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[00.839]ubi0: attaching mtd4
[01.234]ubi0: scanning is finished
[01.244]ubi0: attached mtd4 (name "sys", size 251 MiB)
[01.248]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[01.255]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[01.261]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[01.267]ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0
[01.273]ubi0: user volume: 8, internal volumes: 1, max. volumes count: 128
[01.279]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[01.287]ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40
[01.296]sunxi flash init ok
[01.298]line:714 init_clocks
__clk_init: clk pll_periph0x2 already initialized
register fix_factor clk error
[01.308]drv_disp_init
partno erro : can't find partition bootloader
** Unrecognized filesystem type **
[01.523]do_fat_fsload for lcd config failed
request pwm success, pwm7:pwm7:0x2000c00.
[01.536]drv_disp_init finish
[01.539]boot_gui_init:start
[01.542]set disp.dev2_output_type fail. using defval=0
FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL
disp_sys_pin_set_state, fdt_set_all_pin, ret=-1
[01.558]boot_gui_init:finish
partno erro : can't find partition bootloader
[01.739]LCD open finish
** Unrecognized filesystem type **
[01.770]sunxi bmp info error : unable to open logo file bootlogo.bmp
[01.936]Loading Environment from SUNXI_FLASH... OK
[01.969]Item0 (Map) magic is bad
[01.972]usb burn from boot
delay time 0
weak:otg_phy_config
[01.983]usb prepare ok
[02.786]overtime
[02.790]do_burn_from_boot usb : no usb exist
[02.814]update bootcmd
[02.836]change working_fdt 0x5f4b2da8 to 0x5f492da8
partno erro : can't find partition bootloader
** Unrecognized filesystem type **
[02.885]do_fat_fsload for lcd config failed
partno erro : can't find partition bootloader
[02.912]please enable FAT_WRITE for lcd compatible first
partno erro : can't find partition bootloader
** Unrecognized filesystem type **
[02.944]do_fat_fsload for lcd config failed
[02.949]libfdt fdt_path_offset() for lcd
[02.953]update dts
Hit any key to stop autoboot:  0
Android's image name: d1-nezha
No reserved memory region found in source FDT
[03.847]
Starting kernel ...

[    0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x40200000
[    0.000000] Linux version 5.4.61 (caiyongheng@Exdroid88) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #86 PREEMPT Tue Mar 30 07:04:43 UTC 2021
[    0.000000] cma: Reserved 8 MiB at 0x000000005f800000
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000040200000-0x000000005fffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040200000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x000000005fffffff]
[    0.000000] On node 0 totalpages: 130560
[    0.000000]   DMA32 zone: 1785 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 130560 pages, LIFO batch:31
[    0.000000] elf_hwcap is 0x20112d
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 128775
[    0.000000] Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/ubiblock0_5 rootfstype=squashfs init=/sbin/init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:recovery@ubi0_6:UDISK@ubi0_7: cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05-00082-ge35a32d58c(03/29/2021-03:53:57)
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] Sorting __ex_table...
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 494376K/522240K available (5829K kernel code, 629K rwdata, 2005K rodata, 204K init, 248K bss, 19672K reserved, 8192K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0
[    0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts.
[    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000005] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000021] riscv_timer_clockevent depends on broadcast, but no broadcast function available
[    0.000335] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000910] Console: colour dummy device 80x25
[    0.000952] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000970] pid_max: default: 32768 minimum: 301
[    0.001140] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.001159] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.002717] ASID allocator initialised with 65536 entries
[    0.002871] rcu: Hierarchical SRCU implementation.
[    0.003475] devtmpfs: initialized
[    0.015375] random: get_random_u32 called from bucket_table_alloc.isra.31+0x4e/0x15e with crng_init=0
[    0.016192] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.016221] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
[    0.016611] pinctrl core: initialized pinctrl subsystem
[    0.017780] NET: Registered protocol family 16
[    0.019514] DMA: preallocated 256 KiB pool for atomic allocations
[    0.020053] cpuidle: using governor menu
[    0.062883] rtc_ccu: sunxi ccu init OK
[    0.070359] clock: sunxi ccu init OK
[    0.071184] clock: sunxi ccu init OK
[    0.102716] iommu: Default domain type: Translated
[    0.102878] sunxi iommu: irq = 4
[    0.103935] SCSI subsystem initialized
[    0.104107] usbcore: registered new interface driver usbfs
[    0.104196] usbcore: registered new interface driver hub
[    0.104290] usbcore: registered new device driver usb
[    0.104455] mc: Linux media interface: v0.10
[    0.104506] videodev: Linux video capture interface: v2.00
[    0.105367] Advanced Linux Sound Architecture Driver Initialized.
[    0.105960] Bluetooth: Core ver 2.22
[    0.106034] NET: Registered protocol family 31
[    0.106043] Bluetooth: HCI device and connection manager initialized
[    0.106062] Bluetooth: HCI socket layer initialized
[    0.106074] Bluetooth: L2CAP socket layer initialized
[    0.106104] Bluetooth: SCO socket layer initialized
[    0.106361] pwm module init!
[    0.107788] g2d 5410000.g2d: Adding to iommu group 0
[    0.108242] G2D: rcq version initialized.major:250
[    0.108769] input: sunxi-keyboard as /devices/virtual/input/input0
[    0.110068] clocksource: Switched to clocksource riscv_clocksource
[    0.121640] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[    0.136342] NET: Registered protocol family 2
[    0.137082] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.137123] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.137181] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.137228] TCP: Hash tables configured (established 4096 bind 4096)
[    0.137357] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.137396] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.137616] NET: Registered protocol family 1
[    0.138755] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[    0.139279] spi spi0: spi0 supply spi not found, using dummy regulator
[    0.139525] sunxi_spi_resource_get()1725 - [spi0] SPI MASTER MODE
[    0.139630] sunxi_spi_clk_init()1801 - [spi0] mclk 100000000
[    0.140383] sunxi_spi_probe()2189 - [spi0]: driver probe succeed, base ffffffd00405a000, irq 31
[    0.142121] Initialise system trusted keyrings
[    0.142357] workingset: timestamp_bits=62 max_order=17 bucket_order=0
[    0.153126] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.174238] Key type asymmetric registered
[    0.174253] Asymmetric key parser 'x509' registered
[    0.174274] io scheduler mq-deadline registered
[    0.174282] io scheduler kyber registered
[    0.174299] atomic64_test: passed
[    0.175604] [DISP]disp_module_init
[    0.176144] disp 5000000.disp: Adding to iommu group 0
[    0.176757] [DISP] disp_init,line:2385:
[    0.176763] smooth display screen:0 type:1 mode:4
[    0.211280] display_fb_request,fb_id:0
[    0.225795] disp_al_manager_apply ouput_type:1
[    0.226274] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[    0.226980] [DISP]disp_module_init finish
[    0.227806] sunxi_sid_init()497 - insmod ok
[    0.228328] pwm-regulator: supplied by regulator-dummy
[    0.314019] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[    0.314434] uart uart0: get regulator failed
[    0.314461] uart uart0: uart0 supply uart not found, using dummy regulator
[    0.314766] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI
[    0.314792] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
[    1.078254] printk: console [ttyS0] enabled
[    1.083747] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[    1.095200] uart uart1: get regulator failed
[    1.099977] uart uart1: uart1 supply uart not found, using dummy regulator
[    1.108057] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI
[    1.117898] misc dump reg init
[    1.121999] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.8
[    1.129196] sunxi-rfkill soc@3000000:rfkill@0: devm_pinctrl_get() failed!
[    1.136823] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[    1.144185] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[    1.151607] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[    1.158132] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[    1.165069] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[    1.172825] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1
[    1.180687] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[    1.188823] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[    1.196469] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[    1.203235] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[    1.210804] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0
[    1.218988] [ADDR_MGT] addr_mgt_probe: module version: v1.0.7
[    1.226606] [ADDR_MGT] addr_mgt_probe: success.
[    1.232634] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228
[    1.239852] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
[    1.247756] sunxi-spinand-phy: not detect any munufacture from id table
[    1.255201] sunxi-spinand-phy: get spi-nand Model from fdt fail
[    1.261869] sunxi-spinand-phy: get phy info from fdt fail
[    1.267886] sunxi-spinand-phy: not detect munufacture from fdt
[    1.274609] sunxi-spinand-phy: detect munufacture from id table: Mxic
[    1.281823] sunxi-spinand-phy: detect spinand id: ff0326c2 ffffffff
[    1.288807] sunxi-spinand-phy: ========== arch info ==========
[    1.295363] sunxi-spinand-phy: Model:               MX35LF2GE4AD
[    1.302084] sunxi-spinand-phy: Munufacture:         Mxic
[    1.308019] sunxi-spinand-phy: DieCntPerChip:       1
[    1.313669] sunxi-spinand-phy: BlkCntPerDie:        2048
[    1.319588] sunxi-spinand-phy: PageCntPerBlk:       64
[    1.325361] sunxi-spinand-phy: SectCntPerPage:      4
[    1.331014] sunxi-spinand-phy: OobSizePerPage:      64
[    1.336739] sunxi-spinand-phy: BadBlockFlag:        0x1
[    1.342605] sunxi-spinand-phy: OperationOpt:        0x7
[    1.348428] sunxi-spinand-phy: MaxEraseTimes:       65000
[    1.354467] sunxi-spinand-phy: EccFlag:             0x2
[    1.360338] sunxi-spinand-phy: EccType:             8
[    1.365969] sunxi-spinand-phy: EccProtectedType:    3
[    1.371617] sunxi-spinand-phy: ========================================
[    1.379004] sunxi-spinand-phy:
[    1.382521] sunxi-spinand-phy: ========== physical info ==========
[    1.389409] sunxi-spinand-phy: TotalSize:    256 M
[    1.394792] sunxi-spinand-phy: SectorSize:   512 B
[    1.400155] sunxi-spinand-phy: PageSize:     2 K
[    1.405299] sunxi-spinand-phy: BlockSize:    128 K
[    1.410685] sunxi-spinand-phy: OOBSize:      64 B
[    1.415927] sunxi-spinand-phy: ========================================
[    1.423355] sunxi-spinand-phy:
[    1.426854] sunxi-spinand-phy: ========== logical info ==========
[    1.433671] sunxi-spinand-phy: TotalSize:    256 M
[    1.439008] sunxi-spinand-phy: SectorSize:   512 B
[    1.444396] sunxi-spinand-phy: PageSize:     4 K
[    1.449541] sunxi-spinand-phy: BlockSize:    256 K
[    1.454900] sunxi-spinand-phy: OOBSize:      128 B
[    1.460286] sunxi-spinand-phy: ========================================
[    1.467785] sunxi-spinand-phy: block lock register: 0x00
[    1.473951] sunxi-spinand-phy: feature register: 0x11
[    1.479589] sunxi-spinand-phy: sunxi physic nand init end
[    1.486232] Creating 4 MTD partitions on "sunxi_mtd_nand":
[    1.492481] 0x000000000000-0x000000100000 : "boot0"
[    1.511233] 0x000000100000-0x000000500000 : "uboot"
[    1.517302] random: fast init done
[    1.551198] 0x000000500000-0x000000600000 : "secure_storage"
[    1.571212] 0x000000600000-0x000010000000 : "sys"
[    1.954423] random: crng init done
[    2.691467] CAN device driver interface
[    2.696177] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.703554] sunxi-ehci: EHCI SUNXI driver
[    2.708536] get ehci1-controller wakeup-source is fail.
[    2.714503] sunxi ehci1-controller don't init wakeup source
[    2.720803] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0008a4738, 0x:ffffffd004074000, irq_no:31
[    2.734367] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
[    2.746882] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[    2.754187] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    2.764000] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
[    2.800116] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[    2.808856] hub 1-0:1.0: USB hub found
[    2.813155] hub 1-0:1.0: 1 port detected
[    2.818377] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.825370] sunxi-ohci: OHCI SUNXI driver
[    2.830435] get ohci1-controller wakeup-source is fail.
[    2.836410] sunxi ohci1-controller don't init wakeup source
[    2.842670] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0008a5278
[    2.853139] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
[    2.865670] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[    2.872977] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[    2.882761] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
[    2.965077] hub 2-0:1.0: USB hub found
[    2.969344] hub 2-0:1.0: 1 port detected
[    2.974829] usbcore: registered new interface driver uas
[    2.980988] usbcore: registered new interface driver usb-storage
[    2.987780] usbcore: registered new interface driver ums-alauda
[    2.994523] usbcore: registered new interface driver ums-cypress
[    3.001326] usbcore: registered new interface driver ums-datafab
[    3.008123] usbcore: registered new interface driver ums_eneub6250
[    3.015118] usbcore: registered new interface driver ums-freecom
[    3.021955] usbcore: registered new interface driver ums-isd200
[    3.028610] usbcore: registered new interface driver ums-jumpshot
[    3.035571] usbcore: registered new interface driver ums-karma
[    3.042176] usbcore: registered new interface driver ums-onetouch
[    3.049063] usbcore: registered new interface driver ums-realtek
[    3.055928] usbcore: registered new interface driver ums-sddr09
[    3.062637] usbcore: registered new interface driver ums-sddr55
[    3.069348] usbcore: registered new interface driver ums-usbat
[    3.076857] sunxi_gpadc_init,1965, success
[    3.082325] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1
[    3.094560] sunxi-rtc 7090000.rtc: registered as rtc0
[    3.100375] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:06 UTC (6)
[    3.109263] sunxi-rtc 7090000.rtc: sunxi rtc probed
[    3.115105] i2c /dev entries driver
[    3.119091] IR NEC protocol handler initialized
[    3.124860] sunxi cedar version 1.1
[    3.128995] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[    3.135279] VE: install start!!!
[    3.135279]
[    3.140842] VE: cedar-ve the get irq is 6
[    3.140842]
[    3.147156] VE: ve_debug_proc_info:0000000035d614de, data:00000000adb0a8e4, lock:00000000ecc1177f
[    3.147156]
[    3.158780] VE: install end!!!
[    3.158780]
[    3.164717] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    3.173898] Bluetooth: HCI UART driver ver 2.3
[    3.178857] Bluetooth: HCI UART protocol H4 registered
[    3.184623] Bluetooth: HCI UART protocol BCSP registered
[    3.190612] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10
[    3.197856] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1
[    3.204314] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1
[    3.210884] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled!
[    3.210884]
[    3.219518] [XR_BT_LPM] bluesleep_probe: uart_index(1)
[    3.228996] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50)
[    3.238996] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[    3.245208] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[    3.251547] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[    3.257977] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[    3.264410] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[    3.270994] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[    3.277500] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[    3.284028] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[    3.290986] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[    3.296430] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[    3.303110] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.314292] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[    3.334469] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.358869] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[    3.364575] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    3.376343] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50)
[    3.386394] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[    3.392677] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[    3.398991] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[    3.405466] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[    3.411898] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[    3.418401] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[    3.424959] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[    3.431489] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[    3.438020] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[    3.447485] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.458663] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[    3.478810] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.503036] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[    3.510700] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[    3.517665] sunxi_led_probe()1715 - start
[    3.522155] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[    3.529047] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.540679] sunxi_get_str_of_property()1560 - failed to get the string of propname led_regulator!
[    3.550624] sunxi_register_led_classdev()1448 - led_classdev start
[    3.558158] sunxi_led_probe()1820 - finish
[    3.563424] usbcore: registered new interface driver usbhid
[    3.569690] usbhid: USB HID core driver
[    3.575346] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.587399] usbcore: registered new interface driver snd-usb-audio
[    3.595692] [AUDIOCODEC][sunxi_codec_parse_params][2208]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
[    3.595692]
[    3.612986] [AUDIOCODEC][sunxi_codec_parse_params][2244]:adcdrc_cfg:0, adchpf_cfg:0, dacdrc_cfg:0, dachpf:0
[    3.624441] [AUDIOCODEC][sunxi_internal_codec_probe][2380]:codec probe finished
[    3.632616] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    3.640203] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    3.647153] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
[    3.656877] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    3.663769] [SNDCODEC][sunxi_card_init][583]:card init finished
[    3.670388] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    3.677178] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    3.689439] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
[    3.700764] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input1
[    3.712820] [SNDCODEC][sunxi_card_dev_probe][832]:register card finished
[    3.721766] NET: Registered protocol family 10
[    3.728012] Segment Routing with IPv6
[    3.732294] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.739692] NET: Registered protocol family 17
[    3.744779] can: controller area network core (rev 20170425 abi 9)
[    3.751823] NET: Registered protocol family 29
[    3.756785] can: raw protocol (rev 20170425)
[    3.761627] can: broadcast manager protocol (rev 20170425 t)
[    3.767949] can: netlink gateway (rev 20190810) max_hops=1
[    3.774459] Bluetooth: RFCOMM TTY layer initialized
[    3.779912] Bluetooth: RFCOMM socket layer initialized
[    3.785754] Bluetooth: RFCOMM ver 1.11
[    3.790875] Loading compiled-in X.509 certificates
[    3.798554] HDMI 2.0 driver init start!
[    3.802927] boot_hdmi=false
[    3.806099] ERROR: pinctrl_get for HDMI2.0 DDC fail
[    3.813159] HDMI2.0 module init end
[    3.840198] twi twi2: twi2 supply twi not found, using dummy regulator
[    3.855026] pcf857x 2-0038: probed
[    3.858967] sunxi_i2c_probe()2262 - [i2c2] probe success
[    3.875050] get ehci0-controller wakeup-source is fail.
[    3.881076] sunxi ehci0-controller don't init wakeup source
[    3.887299] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0008a4378, 0x:ffffffd004b23000, irq_no:2e
[    3.900909] [sunxi-ehci0]: Not init ehci0
[    3.905825] get ohci0-controller wakeup-source is fail.
[    3.911852] sunxi ohci0-controller don't init wakeup source
[    3.918075] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0008a4eb8
[    3.928538] [sunxi-ohci0]: Not init ohci0
[    3.933455] ubi0: attaching mtd3
[    4.779013] ubi0: scanning is finished
[    4.796290] ubi0: attached mtd3 (name "sys", size 250 MiB)
[    4.802510] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[    4.810197] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[    4.817779] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.825601] ubi0: good PEBs: 1000, bad PEBs: 0, corrupted PEBs: 0
[    4.832478] ubi0: user volume: 8, internal volumes: 1, max. volumes count: 128
[    4.840587] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[    4.849917] ubi0: available PEBs: 16, total reserved PEBs: 984, PEBs reserved for bad PEB handling: 20
[    4.860344] ubi0: background thread "ubi_bgt0d" started, PID 67
[    4.868667] block ubiblock0_5: created from ubi0:5(rootfs)
[    4.876302] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    4.886766] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.894360] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    4.904072] clk: Not disabling unused clocks
[    4.908838] ALSA device list:
[    4.912250] cfg80211: failed to load regulatory.db
[    4.917676]   #0: audiocodec
[    4.920974] alloc_fd: slot 0 not NULL!
[    4.929511] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    4.940417] devtmpfs: mounted
[    4.943883] Freeing unused kernel memory: 204K
[    4.948833] This architecture does not have kernel memory protection.
[    4.956112] Run /sbin/init as init process
[    5.640039] init: Console is alive
[    5.644168] init: - watchdog -
[    5.647705] init: - preinit -
/dev/by-name/UDISK already format by ubifs
[    6.577583] mount_root: mounting /dev/root
[    6.582712] mount_root: loading kmods from internal overlay
[    7.520132] hdmi_hpd_sys_config_release
[   10.305252] block: attempting to load /etc/config/fstab
[   10.313389] UBIFS (ubi0:7): Mounting in unauthenticated mode
[   10.320554] UBIFS (ubi0:7): background thread "ubifs_bgt0_7" started, PID 108
[   10.432056] UBIFS (ubi0:7): recovery needed
[   10.730137] UBIFS (ubi0:7): recovery completed
[   10.735212] UBIFS (ubi0:7): UBIFS: mounted UBI device 0, volume 7, name "UDISK"
[   10.743699] UBIFS (ubi0:7): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[   10.755374] UBIFS (ubi0:7): FS size: 164118528 bytes (156 MiB, 636 LEBs), journal size 9420800 bytes (8 MiB, 37 LEBs)
[   10.767298] UBIFS (ubi0:7): reserved for root: 0 bytes (0 KiB)
[   10.773864] UBIFS (ubi0:7): media format: w4/r0 (latest is w5/r0), UUID 958F979F-8F79-488F-86AD-69700CA38345, small LPT model
[   10.790768] block: extroot: UUID match (root: 296b5c2f-4248ab2a-ca617204-241508fb, overlay: 296b5c2f-4248ab2a-ca617204-241508fb)
[   10.811460] mount_root: switched to extroot
[   10.829876] procd: - early -
[   10.833447] procd: - watchdog -
[   11.610615] procd: - watchdog -
[   11.614372] procd: - ubus -
[   11.618102] procd (1): /proc/137/oom_adj is deprecated, please use /proc/137/oom_score_adj instead.
[   11.730964] procd: - init -
Please press Enter to activate this console.
[   12.732087] fuse: init (API version 7.31)
[   12.806358] file system registered
[   12.960998] configfs-gadget 4100000.udc-controller: failed to start g1: -19
[   13.240331] read descriptors
[   13.243552] read strings
[   14.323568] ======== XRADIO WIFI OPEN ========
[   14.340205] [XRADIO] Driver Label:XR_V02.16.84_P2P_HT40_01.31
[   14.346948] [XRADIO] Allocated hw_priv @ 00000000e70b7067
[   14.366852] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[   14.394566] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success



BusyBox v1.27.2 () built-in shell (ash)

[   14.789192] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
 _____  _              __     _
|_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
  | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
  | |  | || | || _ |  |_____||_||_|_||___||_,_|
  |_|  |_||_|_||_|_|  Tina is Based on OpenW[   14.832335] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
rt!
 --------------------------[   14.842221] [XRADIO] Detect SDIO card 1
--------------------
 Tina Linux (Neptune, 5C1C9C53)
 ----------------------------------------------
root@(none):/# [   14.892774] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   14.925969] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   14.950174] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   14.981989] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[   15.006940] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[   15.040341] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[   15.061249] mmc1: new high speed SDIO card at address 0001
[   15.080324] [SBUS] XRadio Device:sdio clk=50000000
[   15.100251] [XRADIO] XRADIO_HW_REV 1.0 detected.
[   15.230772] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000.
[   15.295970] [XRADIO] Bootloader complete
[   15.436408] [XRADIO] Firmware completed.
[   15.451988] [WSM] Firmware Label:XR_C09.08.52.64_DBG_02.100 2GHZ HT40 Jan  3 2020 13:14:37
[   15.480252] [XRADIO] Firmware Startup Done.
[   15.488403] [XRADIO_WRN] enable Multi-Rx!
[   15.501344] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.122605] ieee80211_do_open: vif_type=2, p2p=0, ch=3, addr=dc:eb:d6:cd:9a:dc
[   16.151418] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0, addr=dc:eb:d6:cd:9a:dc
[   16.200252] [AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined.
Trying to connect to SWUpdate...

root@TinaLinux:/#
root@TinaLinux:/#

TYPEC OTG 口插U盘:

[   42.330138]
[   42.330138] insmod_host_driver
[   42.330138]
[   42.341164] [ehci0-controller]: sunxi_usb_enable_ehci
[   42.346829] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0008a4378, 0x:ffffffd004b23000, irq_no:2e
[   42.366381] sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller
[   42.373764] sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3
[   42.383650] sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000
[   42.420331] sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00
[   42.435104] hub 3-0:1.0: USB hub found
[   42.450153] hub 3-0:1.0: 1 port detected
[   42.461218] [ohci0-controller]: sunxi_usb_enable_ohci
[   42.477166] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0008a4eb8
[   42.498422] sunxi-ehci 4101000.ehci0-controller: ehci_irq: highspeed device connect
[   42.510421] sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller
[   42.517662] sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4
[   42.538653] debugfs: Directory 'sunxi-ohci' with parent 'ohci' already present!
[   42.546967] sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400
[   42.627113] hub 4-0:1.0: USB hub found
[   42.636544] hub 4-0:1.0: 1 port detected
[   42.820141] usb 3-1: new high-speed USB device number 2 using sunxi-ehci
[   43.022825] usb-storage 3-1:1.0: USB Mass Storage device detected
[   43.044869] scsi host0: usb-storage 3-1:1.0
[   44.095178] scsi 0:0:0:0: Direct-Access     Generic  Mass-Storage     1.11 PQ: 0 ANSI: 2
[   44.784787] sd 0:0:0:0: [sda] 3842048 512-byte logical blocks: (1.97 GB/1.83 GiB)
[   44.798525] sd 0:0:0:0: [sda] Write Protect is off
[   44.803966] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[   44.814780] sd 0:0:0:0: [sda] No Caching mode page found
[   44.820906] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   44.865210]  sda: sda1 sda2 sda3
[   44.877441] sd 0:0:0:0: [sda] Attached SCSI removable disk

看中断:

root@TinaLinux:/# cat /proc/interrupts
           CPU0
  1:          0  SiFive PLIC  77  sunxikbd
  4:          0  SiFive PLIC  80  2010000.iommu
  5:          0  sunxi_pio_edge   2  2-0038
  6:          0  SiFive PLIC  82  cedar_dev
  8:          0  SiFive PLIC 160  7090000.rtc
 18:        182  SiFive PLIC  18  uart0
 27:          3  SiFive PLIC  27  twi2
 29:          0  SiFive PLIC 105  5410000.g2d
 30:       8553  SiFive PLIC 106  dispaly
 31:     157744  SiFive PLIC  31  spi0
 36:        246  SiFive PLIC  36  ledcirq
 41:          0  SiFive PLIC  41  audio jack irq
 46:        396  SiFive PLIC  46
 49:          0  SiFive PLIC  49  ehci_hcd:usb1
 50:          0  SiFive PLIC  50  ohci_hcd:usb2
 56:          0  SiFive PLIC  56  mmc0
 57:       4784  SiFive PLIC  57  mmc1
 66:      14967  SiFive PLIC  66  3002000.dma-controller
 75:          0  SiFive PLIC  75  timer@2050000
178:          0  sunxi_pio_edge 134  4020000.sdmmc cd
214:         21  sunxi_pio_level 170  xradio_irq

df & mount:

root@TinaLinux:/# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                11520     11520         0 100% /rom
devtmpfs                247188         0    247188   0% /dev
tmpfs                   251384        32    251352   0% /tmp
/dev/by-name/UDISK      149320        40    149280   0% /overlay
overlayfs:/overlay      149320        40    149280   0% /
root@TinaLinux:/#
root@TinaLinux:/# mount
/dev/root on /rom type squashfs (ro,noatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=247188k,nr_inodes=61797,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/by-name/UDISK on /overlay type ubifs (rw,relatime,assert=read-only,ubi=0,vol=7)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
none on /sys/kernel/config type configfs (rw,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
root@TinaLinux:/#

离线

#4 2021-04-29 17:30:17 分享评论

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,125
积分: 1907

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

反正闲着也是闲着, 来配个网:

/etc/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant 
ctrl_interface_group=0 
ap_scan=1 
network={
ssid="whycan"       
psk="13800138000"
}

联网:

wpa_supplicant -B -d -i wlan0 -c /etc/wpa_supplicant.conf

获取ip:

dhcpc -i wlan0




root@TinaLinux:/# killall wpa_supplicant
root@TinaLinux:/#
root@TinaLinux:/# wpa_supplicant -B -d -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
root@TinaLinux:/#
root@TinaLinux:/# [  839.558519] [STA_WRN] Freq 2462 (wsm ch: 11) prev: 3.
[  839.564644] wlan0: authenticate with 36:bf:ae:60:35:ab (try 1)
[  839.572316] [STA_WRN] [HT40][xradio_join_work][bss_ht_info]:
[  839.572316] [primary_chan  :0x0000000b]
[  839.572316] [ht_param      :0x00000000]
[  839.572316] [operation_mode:0x00000011]
[  839.572316] [stbc_param    :0x00000000]
[  839.572316] [basic_set[0]  :0x00000000]
[  839.600216] [STA_WRN] [HT40][xradio_join_work][PhyModeCfg:0x0007]
[  839.600216] [ModemFlags    :0x00000007]
[  839.600216] [ChWidthCfg    :0x00000000]
[  839.600216] [PriChCfg      :0x00000000]
[  839.600216] [BandCfg       :0x00000000]
[  839.600216] [STBC_Enable   :0x00000000]
[  839.600216] [PreambleCfg   :0x00000000]
[  839.600216] [SGI_Enable    :0x00000000]
[  839.600216] GF_Enable      :0x00000000]
[  839.671100] wlan0: authenticated
[  839.675401] wlan0: associate with 36:bf:ae:60:35:ab (try 1)
[  839.698555] wlan0: RX AssocResp from 36:bf:ae:60:35:ab (capab=0x1431 status=0 aid=1)
[  839.707830] wlan0: associated
[  839.718187] [AP_WRN] [STA] ASSOC HTCAP 11N 58
[  839.723487] [TXRX_WRN] [RX] IF=0, No key found.
[  839.728780] [TXRX_WRN] [RX] IF=0, No key found.
[  839.734308] [AP_WRN] [HT40][xradio_bss_info_changed][ht_prot:0x00000004][HtProtMode:0x0001][Green:0x0000]
[  839.734808] [AP_WRN] [HT40][xradio_bss_info_changed][PhyModeCfg:0x5007]
[  839.734808] [ModemFlags    :0x00000007]
[  839.734808] [ChWidthCfg    :0x00000000]
[  839.734808] [PriChCfg      :0x00000000]
[  839.734808] [BandCfg       :0x00000000]
[  839.734808] [STBC_Enable   :0x00000000]
[  839.734808] [PreambleCfg   :0x00000001]
[  839.734808] [SGI_Enable    :0x00000001]
[  839.734808] [GF_Enable     :0x00000000]
[  839.812273] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

root@TinaLinux:/# udhcpc -i wlan0
udhcpc: started, v1.27.2
udhcpc: sending discover
[  850.979534] [TXRX_WRN] drop=1759, fctl=0x00d0.
udhcpc: sending select for 192.168.43.224
udhcpc: lease of 192.168.43.224 obtained, lease time 3599
udhcpc: ifconfig wlan0 192.168.43.224 netmask 255.255.255.0 broadcast 192.168.43.255
udhcpc: setting default routers: 192.168.43.1
root@TinaLinux:/#
root@TinaLinux:/# ping www.163.com
PING www.163.com (36.156.46.16): 56 data bytes
64 bytes from 36.156.46.16: seq=0 ttl=54 time=116.121 ms
64 bytes from 36.156.46.16: seq=1 ttl=54 time=49.721 ms




参考:
全志 A33 官方 dragonboard SDK  建立 SSHD 服务器, 电脑通过WIFI连接A33 SSHD服务器 [分享]
http://whycan.com/t_6312.html

离线

#5 2021-04-29 17:30:20 分享评论

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,125
积分: 1907

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

安装gcc:

sudo apt-get install -y gcc-riscv64-linux-gnu



写一个helloworld:

#include <stdio.h>

int main(void)
{
        printf("hello world!\n");

        return 0;
}

编译:

riscv64-linux-gnu-gcc -o hello helloworld.c -static

adb push 到板子:

d:\>adb push hello /tmp/
2788 KB/s (441400 bytes in 0.154s)

运行:

root@TinaLinux:/# chmod +x /tmp/hello
root@TinaLinux:/# /tmp/hello
hello world!

QQ截图20210429230901.png

离线

#6 2021-04-29 17:30:24 分享评论

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,125
积分: 1907

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

wow

离线

#7 2021-04-29 17:42:21 分享评论

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,125
积分: 1907

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

wow

离线

#8 2021-04-29 17:42:31 分享评论

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,125
积分: 1907

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

wow

离线

#9 2021-04-29 18:05:52 分享评论

IAMLIUBO
会员
注册时间: 2019-04-01
已发帖子: 35
积分: 16.5

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

感觉手里的F1C100S不香了...

离线

#10 2021-04-29 18:09:04 分享评论

心情复杂
会员
注册时间: 2019-12-15
已发帖子: 33
积分: 27.5

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

话说,单核 上个512M的运存,能驾驭得住?是不是太奢侈了点 roll

离线

#11 2021-04-29 19:03:49 分享评论

metro
会员
注册时间: 2019-03-09
已发帖子: 331
积分: 316.5

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

前排坐等SDK

离线

#12 2021-04-29 19:15:04 分享评论

达克罗德
会员
注册时间: 2018-04-10
已发帖子: 1,004
积分: 997.5

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

关键是价格

离线

#13 2021-04-29 19:46:42 分享评论

kekemuyu
会员
注册时间: 2018-12-13
已发帖子: 655
积分: 638.5

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

据说低配版和pi zero相当

离线

#14 2021-04-30 07:28:24 分享评论

saub
会员
注册时间: 2020-01-28
已发帖子: 68
积分: 61

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

买不到芯片也是白搭

离线

#15 2021-04-30 08:57:57 分享评论

xboot
会员
注册时间: 2019-10-15
已发帖子: 218
积分: 173

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

关键是价格,还有咋不包个DDR呢

离线

#16 2021-04-30 08:58:47 分享评论

illusion
会员
注册时间: 2018-05-09
已发帖子: 61
积分: 357.5

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

期待ing,等待合适机会入手试试

离线

#17 2021-04-30 10:05:08 分享评论

Meekdai
会员
注册时间: 2021-04-30
已发帖子: 14
积分: 2

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

达克罗德 说:

关键是价格

大佬,看见你18年的帖子有在F1C100S上移植micropython,我目前对这个很感兴趣,可以分享一下移植的源码吗?

离线

#18 2021-04-30 14:16:07 分享评论

webb_2002
会员
注册时间: 2021-01-25
已发帖子: 39
积分: 31.5

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

Meekdai 说:
达克罗德 说:

关键是价格

大佬,看见你18年的帖子有在F1C100S上移植micropython,我目前对这个很感兴趣,可以分享一下移植的源码吗?

有偿?

离线

#19 2021-04-30 21:52:54 分享评论

达克罗德
会员
注册时间: 2018-04-10
已发帖子: 1,004
积分: 997.5

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

Meekdai 说:
达克罗德 说:

关键是价格

大佬,看见你18年的帖子有在F1C100S上移植micropython,我目前对这个很感兴趣,可以分享一下移植的源码吗?

我找找,不一定找得到了,其实很简单的,能裸奔就能跑micropython,最少只需要串口驱动就可以

离线

#20 2021-04-30 23:54:15 分享评论

微凉VeiLiang
会员
所在地: 深圳
注册时间: 2018-10-28
已发帖子: 519
积分: 503
个人网站

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

关注,听说sdk都已经出来了

离线

#21 2021-05-02 15:43:58 分享评论

心情复杂
会员
注册时间: 2019-12-15
已发帖子: 33
积分: 27.5

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

离线

#22 2021-05-02 16:59:05 分享评论

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,125
积分: 1907

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

心情复杂 说:
b6a41b47dfccad249ba7b40c5d195717 *d1_sdk.tar.zip.001
1e31cded2fc9f8c602a28fbf63449e8a *d1_sdk.tar.zip.002
9e4cdb935e4ae8b775586bb25505e33a *d1_sdk.tar.zip.003

6e0b2c32b8b6e2bc3c6aa29bf4491082 *d1_sdk.tar

百度分享: https://pan.baidu.com/s/1QjHPLrWIRQMUb7sr4eBd-g
提取码: 6666
解压密码: whycan.com

离线

#23 2021-05-05 14:29:59 分享评论

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,125
积分: 1907

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

image-20210326092730292.png

规格参数
主控:全志D1 C906 RISC-V 1GHz/0.9v
DRAM:DDR3 1GMB(2*512MB outside),792MHz
存储:板载256MB spi-nand,支持USB外接U盘及SD卡拓展存储
网络:支持千兆以太网(RTL8211F),支持2.4G WiFi及蓝牙(XR829无线模组),板载天线
显示:支持MIPI-DSI+TP屏幕接口,支持HDMI输出,支持SPI屏幕
音频:麦克风子板接口 * 1,3.5mm耳机接口 * 1(CTIA)
按键:fel按键 * 1,LRADC OK按键 * 1
灯:电源指示灯 * 1,三色LED * 1
DEBUG:支持uart串口调试,支持ADB USB调试
USB:USB HOST * 1, USB OTG * 1,支持USB2.0
PIN:40pins插针阵列,使用PCF8574 GPIO拓展芯片外拓GPIO
电源输入:Type-C USB 5V-2A
PMIC:分立器件
板身大小:长85mm*宽56mm*厚1.7mm
PCB板层:6层板

https://d1.docs.allwinnertech.com/d1_dev/

离线

#24 2021-05-05 20:40:56 分享评论

apollo800
会员
注册时间: 2018-10-03
已发帖子: 11
积分: 10.5

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

千兆网卡应该配USB3.0才够装B用!

最近编辑记录 apollo800 (2021-05-05 20:41:15)

离线

#25 2021-05-06 09:45:39 分享评论

lcfmax
会员
注册时间: 2018-04-13
已发帖子: 207
积分: 202.5

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

价格降下来,能买到才是真的好

离线

#26 2021-05-06 19:12:56 分享评论

xboot
会员
注册时间: 2019-10-15
已发帖子: 218
积分: 173

Re: 感谢全志官方友情赠送的 D1 RISC-V 开发板, 坐等release sdk

sunxi-fel先支持起来再说,没有sunxi-fel,hack不爽

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn