导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. linstcl
    L
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 97
    • 主题 1
    • 帖子 2
    • 最佳 0
    • 群组 0

    linstclLV 2

    @linstcl

    97
    积分
    0
    声望
    1
    资料浏览
    2
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    linstcl 取消关注 关注

    linstcl 发布的最新帖子

    • 回复: 为什么D1的buildroot编译出来内存只有400多M

      @whycan

      [100]HELLO! BOOT0 is starting!
      [103]BOOT0 commit :
      [105]set pll start
      [107]periph0 has been enabled
      [110]set pll end
      [111]board init ok
      [113]DRAM only have internal ZQ!!
      [116]get_pmu_exist() = -1
      [119]ddr_efuse_type: 0x0
      [122][AUTO DEBUG] single rank and full DQ!
      [126]ddr_efuse_type: 0x0
      [129][AUTO DEBUG] rank 0 row = 16
      [132][AUTO DEBUG] rank 0 bank = 8
      [135][AUTO DEBUG] rank 0 page size = 2 KB
      [139]DRAM BOOT DRIVE INFO: V0.24
      [142]DRAM CLK = 792 MHz
      [144]DRAM Type = 3 (2:DDR2,3:DDR3)
      [147]DRAMC ZQ value: 0x7b7bfb
      [150]DRAM ODT value: 0x42.
      [152]ddr_efuse_type: 0x0
      [155]DRAM SIZE =1024 M
      [159]DRAM simple test OK.
      [161]dram size =1024
      [163]card no is 0
      [165]sdcard 0 line count 4
      [167][mmc]: mmc driver ver 2021-04-2 16:45
      [177][mmc]: Wrong media type 0x0
      [180][mmc]: \*\*\*Try SD card 0***
      [189][mmc]: HSSDR52/SDR25 4 bit
      [192][mmc]: 50000000 Hz
      [194][mmc]: 29818 MB
      [196][mmc]: \*\*\*SD/MMC 0 init OK!!!***
      [237]Loading boot-pkg Succeed(index=0).
      [240]Entry_name        = opensbi
      [243]Entry_name        = dtb
      [246]Entry_name        = u-boot
      [249]Adding DRAM info to DTB.
      [253]Jump to second Boot.
      
      OpenSBI v0.9
         ____                    _____ ____ _____
        / __ \                  / ____|  _ \_   _|
       | |  | |_ __   ___ _ __ | (___ | |_) || |
       | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
       | |__| | |_) |  __/ | | |____) | |_) || |_
        \____/| .__/ \___|_| |_|_____/|____/_____|
              | |
              |_|
      
      Platform Name             : Allwinner D1 NeZha
      Platform Features         : medeleg
      Platform HART Count       : 1
      Platform IPI Device       : aclint-mswi
      Platform Timer Device     : aclint-mtimer @ 24000000Hz
      Platform Console Device   : uart8250
      Platform HSM Device       : ---
      Platform Reboot Device    : sunxi-wdt-reset
      Platform Shutdown Device  : ---
      Firmware Base             : 0x40000000
      Firmware Size             : 248 KB
      Runtime SBI Version       : 0.3
      
      Domain0 Name              : root
      Domain0 Boot HART         : 0
      Domain0 HARTs             : 0*
      Domain0 Region00          : 0x0000000014008000-0x000000001400bfff (I)
      Domain0 Region01          : 0x0000000014000000-0x0000000014007fff (I)
      Domain0 Region02          : 0x0000000040000000-0x000000004003ffff ()
      Domain0 Region03          : 0x0000000000000000-0xffffffffffffffff (R,W,X)
      Domain0 Next Address      : 0x000000004a000000
      Domain0 Next Arg1         : 0x0000000044000000
      Domain0 Next Mode         : S-mode
      Domain0 SysReset          : yes
      
      Boot HART ID              : 0
      Boot HART Domain          : root
      Boot HART ISA             : rv64imafdcvsux
      Boot HART Features        : scounteren,mcounteren,mcountinhibit,time
      Boot HART PMP Count       : 16
      Boot HART PMP Granularity : 2048
      Boot HART PMP Address Bits: 38
      Boot HART MHPM Count      : 0
      Boot HART MIDELEG         : 0x0000000000000222
      Boot HART MEDELEG         : 0x000000000000b109
      
      
      U-Boot 2021.10 (Feb 02 2023 - 04:26:07 +0800)
      
      DRAM:  1 GiB
      WDT:   Started watchdog@6011000 with servicing (16s timeout)
      MMC:   mmc@4020000: 0, mmc@4021000: 1
      Loading Environment from nowhere... OK
      In:    serial@2500000
      Out:   serial@2500000
      Err:   serial@2500000
      Net:   Could not get PHY for ethernet@4500000: addr 1
      No ethernet found.
      
      Hit any key to stop autoboot:  0
      switch to partitions #0, OK
      mmc0 is current device
      Scanning mmc 0:1...
      Found /boot/extlinux/extlinux.conf
      Retrieving file: /boot/extlinux/extlinux.conf
      134 bytes read in 3 ms (43 KiB/s)
      1:      linux
      Retrieving file: /boot/Image
      15509024 bytes read in 1344 ms (11 MiB/s)
      append: console=ttyS0,115200 root=/dev/mmcblk0p1 ro rootwait
      Retrieving file: /boot/sun20i-d1-nezha.dtb
      24602 bytes read in 8 ms (2.9 MiB/s)
      \## Flattened Device Tree blob at 4fa00000
         Booting using the fdt blob at 0x4fa00000
         Loading Device Tree to 0000000049ff6000, end 0000000049fff019 ... OK
      
      Starting kernel ...
      
      [    0.000000] Linux version 5.14.0-rc4 (root@DESKTOP-0JDOC5O) (riscv64-unknown-linux-gnu-gcc (Xuantie-900 linux-5.10.4 glibc gcc Toolchain V2.6.1 B-20220906) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 PREEMPT Thu Feb 2 04:26:27 CST 2023
      [    0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x40200000
      [    0.000000] Machine model: Allwinner D1 NeZha
      [    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] SBI specification v0.3 detected
      [    0.000000] SBI implementation ID=0x1 Version=0x9
      [    0.000000] SBI TIME extension detected
      [    0.000000] SBI IPI extension detected
      [    0.000000] SBI RFENCE extension detected
      [    0.000000] SBI SRST extension detected
      [    0.000000] riscv: ISA extensions acdfim
      [    0.000000] riscv: ELF capabilities acdfim
      [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 128775
      [    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p1 ro rootwait
      [    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: 497720K/522240K available (5678K kernel code, 4861K rwdata, 2048K rodata, 2092K init, 266K bss, 24520K reserved, 0K 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]  Trampoline variant of Tasks RCU enabled.
      [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
      [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
      [    0.000000] OF: of_irq_init: found /cpus/cpu@0/interrupt-controller with parent (null)
      [    0.000000] OF: of_irq_init: found /soc/interrupt-controller@6010000 with parent /soc/interrupt-controller@10000000
      [    0.000000] OF: of_irq_init: found /soc/interrupt-controller@10000000 with parent /cpus/cpu@0/interrupt-controller
      [    0.000000] OF: of_irq_init: init /cpus/cpu@0/interrupt-controller with parent (null)
      [    0.000000] riscv-intc: 64 local interrupts mapped
      [    0.000000] OF: of_irq_init: init /soc/interrupt-controller@10000000 with parent /cpus/cpu@0/interrupt-controller
      [    0.000000] plic: interrupt-controller@10000000: mapped 176 interrupts with 1 handlers for 2 contexts.
      [    0.000000] OF: of_irq_init: init /soc/interrupt-controller@6010000 with parent /soc/interrupt-controller@10000000
      [    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.000001] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [    0.000411] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
      [    0.000848] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
      [    0.000886] pid_max: default: 32768 minimum: 301
      [    0.001084] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
      [    0.001115] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
      [    0.002990] ASID allocator using 16 bits (65536 entries)
      [    0.003169] rcu: Hierarchical SRCU implementation.
      [    0.003725] devtmpfs: initialized
      [    0.009764] random: get_random_bytes called from net_ns_init+0x9c/0x35c with crng_init=0
      [    0.010216] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
      [    0.010264] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
      [    0.010377] pinctrl core: initialized pinctrl subsystem
      [    0.011503] NET: Registered PF_NETLINK/PF_ROUTE protocol family
      [    0.011869] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
      [    0.011979] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
      [    0.012563] thermal_sys: Registered thermal governor 'bang_bang'
      [    0.012578] thermal_sys: Registered thermal governor 'step_wise'
      [    0.012594] thermal_sys: Registered thermal governor 'user_space'
      [    0.057570] vcc-3v3: supplied by vcc
      [    0.057890] iommu: Default domain type: Translated
      [    0.058199] usbcore: registered new interface driver usbfs
      [    0.058287] usbcore: registered new interface driver hub
      [    0.058373] usbcore: registered new device driver usb
      [    0.059058] Advanced Linux Sound Architecture Driver Initialized.
      [    0.060016] clocksource: Switched to clocksource riscv_clocksource
      [    0.062550] NET: Registered PF_INET protocol family
      [    0.062752] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
      [    0.064253] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
      [    0.064325] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
      [    0.064398] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
      [    0.064453] TCP: Hash tables configured (established 4096 bind 4096)
      [    0.064587] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.064639] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.064896] NET: Registered PF_UNIX/PF_LOCAL protocol family
      [    0.066000] workingset: timestamp_bits=62 max_order=17 bucket_order=0
      [    0.073816] NET: Registered PF_ALG protocol family
      [    0.096906] ldoa: supplied by vcc-3v3
      [    0.097624] ldob: supplied by vcc-3v3
      [    0.102001] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
      [    0.107546] libphy: Fixed MDIO Bus: probed
      [    0.108755] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    0.108779] ehci-platform: EHCI generic platform driver
      [    0.109066] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    0.109112] ohci-platform: OHCI generic platform driver
      [    0.109522] usbcore: registered new interface driver ch341
      [    0.109586] usbserial: USB Serial support registered for ch341-uart
      [    0.110137] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
      [    0.110484] i2c /dev entries driver
      [    0.112150] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
      [    0.113795] ledtrig-cpu: registered to indicate activity on CPUs
      [    0.114159] sun8i-ce 3040000.crypto: Set mod clock to 300000000 (300 Mhz) from 400000000 (400 Mhz)
      [    0.114486] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
      [    0.114706] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
      [    0.114913] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
      [    0.115127] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
      [    0.115271] sun8i-ce 3040000.crypto: Register cbc(aes)
      [    0.115465] sun8i-ce 3040000.crypto: Register ecb(aes)
      [    0.115689] sun8i-ce 3040000.crypto: Register cbc(des3_ede)
      [    0.115888] sun8i-ce 3040000.crypto: Register ecb(des3_ede)
      [    0.116162] sun8i-ce 3040000.crypto: Register md5
      [    0.116365] sun8i-ce 3040000.crypto: Register sha1
      [    0.116566] sun8i-ce 3040000.crypto: Register sha224
      [    0.116765] sun8i-ce 3040000.crypto: Register sha256
      [    0.116962] sun8i-ce 3040000.crypto: Register sha384
      [    0.117160] sun8i-ce 3040000.crypto: Register sha512
      [    0.117358] sun8i-ce 3040000.crypto: Register stdrng
      [    0.118015] sun8i-ce 3040000.crypto: CryptoEngine Die ID 0
      [    0.120618] usbcore: registered new interface driver snd-usb-audio
      [    0.122739] aldo: supplied by vcc-3v3
      [    0.123220] hpldo: supplied by vcc-3v3
      [    0.123655] sun20i-codec 2030000.audio-codec: ASoC: Adding component 2030000.audio-codec for platform /soc/audio-codec@2030000
      [    0.123699] sun20i-codec 2030000.audio-codec: ASoC: Adding component 2030000.audio-codec for platform /soc/audio-codec@2030000
      [    0.124952] random: fast init done
      [    0.125882] random: crng init done
      [    0.133541] NET: Registered PF_INET6 protocol family
      [    0.134985] Segment Routing with IPv6
      [    0.135104] NET: Registered PF_PACKET protocol family
      [    0.172751] sun20i-d1-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
      [    0.174523] vdd-cpu: supplied by vcc
      [    0.175591] printk: console [ttyS0] disabled
      [    0.195924] 2500000.serial: ttyS0 at MMIO 0x2500000 (irq = 24, base_baud = 1500000) is a 16550A
      [    0.964056] printk: console [ttyS0] enabled
      [    0.990015] 2500400.serial: ttyS1 at MMIO 0x2500400 (irq = 25, base_baud = 1500000) is a 16550A
      [    1.401094] spi-nand: probe of spi0.0 failed with error -110
      [    1.408843] dwmac-sun8i 4500000.ethernet: IRQ eth_wake_irq not found
      [    1.415282] dwmac-sun8i 4500000.ethernet: IRQ eth_lpi not found
      [    1.421671] dwmac-sun8i 4500000.ethernet: PTP uses main clock
      [    1.427520] dwmac-sun8i 4500000.ethernet: Current syscon value is not the default 50006 (expect 0)
      [    1.436801] dwmac-sun8i 4500000.ethernet: No HW DMA feature register supported
      [    1.444106] dwmac-sun8i 4500000.ethernet: RX Checksum Offload Engine supported
      [    1.451364] dwmac-sun8i 4500000.ethernet: COE Type 2
      [    1.456362] dwmac-sun8i 4500000.ethernet: TX Checksum insertion supported
      [    1.463177] dwmac-sun8i 4500000.ethernet: Normal descriptors
      [    1.468866] dwmac-sun8i 4500000.ethernet: Chain mode enabled
      [    1.474564] dwmac-sun8i 4500000.ethernet: device MAC address ee:03:fc:8b:ad:70
      [    1.482493] libphy: stmmac: probed
      [    1.587993] dwmac-sun8i 4500000.ethernet: EMAC reset timeout
      [    1.593701] dwmac-sun8i 4500000.ethernet eth0: stmmac_dvr_remove: removing driver
      [    1.613096] ------------[ cut here ]------------
      [    1.617728] bus-emac already disabled
      [    1.621418] WARNING: CPU: 0 PID: 38 at drivers/clk/clk.c:952 clk_core_disable+0xcc/0xec
      [    1.629443] CPU: 0 PID: 38 Comm: kworker/u2:1 Not tainted 5.14.0-rc4 #1
      [    1.636059] Hardware name: Allwinner D1 NeZha (DT)
      [    1.640850] Workqueue: events_unbound deferred_probe_work_func
      [    1.646694] epc : clk_core_disable+0xcc/0xec
      [    1.650970]  ra : clk_core_disable+0xcc/0xec
      [    1.655246] epc : ffffffff80238254 ra : ffffffff80238254 sp : ffffffd00411bb00
      [    1.662465]  gp : ffffffff80ec9988 tp : ffffffe00143a800 t0 : ffffffff80ed6a6f
      [    1.669683]  t1 : ffffffff80ed6a60 t2 : 0000000000000000 s0 : ffffffe001509e00
      [    1.676900]  s1 : 0000000000000001 a0 : 0000000000000019 a1 : ffffffff80e80bd8
      [    1.684118]  a2 : 00000000ffffefff a3 : 00000000000000f4 a4 : 0000000000000002
      [    1.691335]  a5 : 0000000000000001 a6 : 0000000000000030 a7 : 00000000028f5c29
      [    1.698552]  s2 : 0000000000000800 s3 : ffffffe001375000 s4 : ffffffe001375010
      [    1.705769]  s5 : ffffffe01fdf7a80 s6 : ffffffff8001f80c s7 : ffffffffffffffff
      [    1.712988]  s8 : 0000000000000001 s9 : ffffffe001b80000 s10: ffffffe001b80760
      [    1.720205]  s11: 0000000000000000 t3 : 0000000000000062 t4 : ffffffffffffffff
      [    1.727422]  t5 : ffffffff80e0f6d8 t6 : ffffffd00411b8e0
      [    1.732732] status: 8000000201800100 badaddr: 0000000000000000 cause: 0000000000000003
      [    1.740644] [<ffffffff80238254>] clk_core_disable+0xcc/0xec
      [    1.746222] [<ffffffff8023c3a8>] clk_disable+0x38/0x78
      [    1.751371] [<ffffffff8001f808>] worker_thread+0x1a0/0x4b8
      [    1.756868] [<ffffffff80315188>] stmmac_remove_config_dt+0x1c/0x4c
      [    1.763067] [<ffffffff80317588>] sun8i_dwmac_probe+0x378/0x830
      [    1.768905] [<ffffffff803bf0d4>] of_find_property+0x7c/0xe8
      [    1.774486] [<ffffffff8001f808>] worker_thread+0x1a0/0x4b8
      [    1.779979] [<ffffffff80296134>] platform_probe+0x64/0xf0
      [    1.785388] [<ffffffff80293db4>] really_probe.part.0+0x8c/0x30c
      [    1.791312] [<ffffffff802940d4>] __driver_probe_device+0xa0/0x148
      [    1.797411] [<ffffffff802941b4>] driver_probe_device+0x38/0x138
      [    1.803335] [<ffffffff80294444>] __device_attach_driver+0xd0/0x170
      [    1.809520] [<ffffffff80294370>] __driver_attach_async_helper+0xbc/0xc0
      [    1.816137] [<ffffffff80291fec>] bus_for_each_drv+0x68/0xb4
      [    1.821715] [<ffffffff80294794>] __device_attach+0xd8/0x184
      [    1.827292] [<ffffffff802921f0>] bus_probe_device+0x98/0xbc
      [    1.832868] [<ffffffff80293378>] deferred_probe_work_func+0x90/0xd4
      [    1.839139] [<ffffffff8001f4c4>] process_one_work+0x1dc/0x380
      [    1.844891] [<ffffffff8001f978>] worker_thread+0x310/0x4b8
      [    1.850382] [<ffffffff80026708>] kthreadd+0x94/0x180
      [    1.855357] [<ffffffff80026708>] kthreadd+0x94/0x180
      [    1.860327] [<ffffffff8001f664>] process_one_work+0x37c/0x380
      [    1.866079] [<ffffffff80026078>] kthread+0x120/0x15c
      [    1.871049] [<ffffffff80025f54>] set_kthread_struct+0x5c/0x60
      [    1.876798] [<ffffffff80001f0c>] ret_from_syscall_rejected+0x8/0xc
      [    1.882987] ---[ end trace 7d34cf5a8175b745 ]---
      [    1.887708] ------------[ cut here ]------------
      [    1.892403] bus-emac already unprepared
      [    1.896408] WARNING: CPU: 0 PID: 38 at drivers/clk/clk.c:810 clk_core_unprepare+0xe4/0x168
      [    1.904706] CPU: 0 PID: 38 Comm: kworker/u2:1 Tainted: G        W         5.14.0-rc4 #1
      [    1.912710] Hardware name: Allwinner D1 NeZha (DT)
      [    1.917502] Workqueue: events_unbound deferred_probe_work_func
      [    1.923345] epc : clk_core_unprepare+0xe4/0x168
      [    1.927881]  ra : clk_core_unprepare+0xe4/0x168
      [    1.932417] epc : ffffffff80239650 ra : ffffffff80239650 sp : ffffffd00411bb00
      [    1.939636]  gp : ffffffff80ec9988 tp : ffffffe00143a800 t0 : 0000000000000002
      [    1.946855]  t1 : ffffffe01f743be0 t2 : 0000000000000040 s0 : ffffffe001509e00
      [    1.954073]  s1 : 0000000000000001 a0 : 000000000000001b a1 : ffffffe00143a800
      [    1.961291]  a2 : 0000000000000000 a3 : 00000000000000f4 a4 : 0000000000000001
      [    1.968509]  a5 : 0000000000000000 a6 : 0000000005e5d127 a7 : 0000000000000001
      [    1.975727]  s2 : 0000000000000800 s3 : ffffffff80afebd0 s4 : ffffffe001375010
      [    1.982945]  s5 : ffffffe01fdf7a80 s6 : ffffffff8001f80c s7 : ffffffffffffffff
      [    1.990163]  s8 : 0000000000000001 s9 : ffffffe001b80000 s10: ffffffe001b80760
      [    1.997382]  s11: 0000000000000000 t3 : ffffffff80b39160 t4 : 0000000000000001
      [    2.004592]  t5 : 0000000000000000 t6 : ffffffe001600002
      [    2.009902] status: 8000000201800120 badaddr: 0000000000000000 cause: 0000000000000003
      [    2.017814] [<ffffffff80239650>] clk_core_unprepare+0xe4/0x168
      [    2.023654] [<ffffffff8023c318>] clk_unprepare+0x24/0x3c
      [    2.028976] [<ffffffff80315190>] stmmac_remove_config_dt+0x24/0x4c
      [    2.035174] [<ffffffff80317588>] sun8i_dwmac_probe+0x378/0x830
      [    2.041013] [<ffffffff803bf0d4>] of_find_property+0x7c/0xe8
      [    2.046594] [<ffffffff8001f808>] worker_thread+0x1a0/0x4b8
      [    2.052093] [<ffffffff80296134>] platform_probe+0x64/0xf0
      [    2.057503] [<ffffffff80293db4>] really_probe.part.0+0x8c/0x30c
      [    2.063428] [<ffffffff802940d4>] __driver_probe_device+0xa0/0x148
      [    2.069526] [<ffffffff802941b4>] driver_probe_device+0x38/0x138
      [    2.075451] [<ffffffff80294444>] __device_attach_driver+0xd0/0x170
      [    2.081636] [<ffffffff80294370>] __driver_attach_async_helper+0xbc/0xc0
      [    2.088254] [<ffffffff80291fec>] bus_for_each_drv+0x68/0xb4
      [    2.093831] [<ffffffff80294794>] __device_attach+0xd8/0x184
      [    2.099410] [<ffffffff802921f0>] bus_probe_device+0x98/0xbc
      [    2.104988] [<ffffffff80293378>] deferred_probe_work_func+0x90/0xd4
      [    2.111258] [<ffffffff8001f4c4>] process_one_work+0x1dc/0x380
      [    2.117010] [<ffffffff8001f978>] worker_thread+0x310/0x4b8
      [    2.122503] [<ffffffff80026708>] kthreadd+0x94/0x180
      [    2.127477] [<ffffffff80026708>] kthreadd+0x94/0x180
      [    2.132449] [<ffffffff8001f664>] process_one_work+0x37c/0x380
      [    2.138200] [<ffffffff80026078>] kthread+0x120/0x15c
      [    2.143170] [<ffffffff80025f54>] set_kthread_struct+0x5c/0x60
      [    2.148920] [<ffffffff80001f0c>] ret_from_syscall_rejected+0x8/0xc
      [    2.155109] ---[ end trace 7d34cf5a8175b746 ]---
      [    2.159822] dwmac-sun8i: probe of 4500000.ethernet failed with error -14
      [    2.168790] input: 2009800.keys as /devices/platform/soc/2009800.keys/input/input0
      [    2.181581] i2c i2c-1: mv64xxx_i2c_fsm: Ctlr Error -- state: 0x4, status: 0x0, addr: 0x38, flags: 0x1
      [    2.190909] pcf857x: probe of 1-0038 failed with error -11
      [    2.198561] sun20i-ledc 2008000.led-controller: supply vled not found, using dummy regulator
      [    2.207642] sun20i-ledc 2008000.led-controller: Registered 1 LEDs
      [    2.218234] usbvbus: supplied by vcc
      [    2.222100] sunxi-mmc 4020000.mmc: Got CD GPIO
      [    2.227972] sunxi-mmc 4021000.mmc: allocated mmc-pwrseq
      [    2.235668] acked 85 in 0x00000274, was 0x00200000, now 0x00000000
      [    2.241906] acked 84 in 0x00000274, was 0x00100000, now 0x00000000
      [    2.248853] phy phy-4100400.phy.0: Changing dr_mode to 1
      [    2.254233] phy phy-4100400.phy.0: External vbus detected, not enabling our own vbus
      [    2.262108] sunxi-mmc 4021000.mmc: initialized, max. request size: 2047 KB, uses new timings mode
      [    2.271169] ehci-platform 4101000.usb: EHCI Host Controller
      [    2.276929] sunxi-mmc 4020000.mmc: initialized, max. request size: 2047 KB, uses new timings mode
      [    2.285858] acked 134 in 0x000002b4, was 0x00000040, now 0x00000000
      [    2.292341] ehci-platform 4101000.usb: new USB bus registered, assigned bus number 1
      [    2.300688] ehci-platform 4101000.usb: irq 42, io mem 0x04101000
      [    2.320058] ehci-platform 4101000.usb: USB 2.0 started, EHCI 1.00
      [    2.326473] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.14
      [    2.334840] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
      [    2.342256] usb usb1: Product: EHCI Host Controller
      [    2.347225] usb usb1: Manufacturer: Linux 5.14.0-rc4 ehci_hcd
      [    2.353042] usb usb1: SerialNumber: 4101000.usb
      [    2.358493] hub 1-0:1.0: USB hub found
      [    2.362391] hub 1-0:1.0: 1 port detected
      [    2.367597] ehci-platform 4200000.usb: EHCI Host Controller
      [    2.373312] ehci-platform 4200000.usb: new USB bus registered, assigned bus number 2
      [    2.381350] ehci-platform 4200000.usb: irq 44, io mem 0x04200000
      [    2.400068] ehci-platform 4200000.usb: USB 2.0 started, EHCI 1.00
      [    2.406487] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.14
      [    2.414836] mmc0: Problem switching card into high-speed mode!
      [    2.420726] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
      [    2.428269] mmc0: new SDHC card at address 0001
      [    2.432863] usb usb2: Product: EHCI Host Controller
      [    2.438828] mmcblk0: mmc0:0001 SD16G 29.1 GiB
      [    2.443366] usb usb2: Manufacturer: Linux 5.14.0-rc4 ehci_hcd
      [    2.449808] usb usb2: SerialNumber: 4200000.usb
      [    2.454514]  mmcblk0: p1
      [    2.458964] hub 2-0:1.0: USB hub found
      [    2.462864] hub 2-0:1.0: 1 port detected
      [    2.508165] ohci-platform 4101400.usb: Generic Platform OHCI controller
      [    2.514891] ohci-platform 4101400.usb: new USB bus registered, assigned bus number 3
      [    2.522898] ohci-platform 4101400.usb: irq 43, io mem 0x04101400
      [    2.592330] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.14
      [    2.600648] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
      [    2.607903] usb usb3: Product: Generic Platform OHCI controller
      [    2.613856] usb usb3: Manufacturer: Linux 5.14.0-rc4 ohci_hcd
      [    2.619633] usb usb3: SerialNumber: 4101400.usb
      [    2.624969] hub 3-0:1.0: USB hub found
      [    2.628868] hub 3-0:1.0: 1 port detected
      [    2.634038] ohci-platform 4200400.usb: Generic Platform OHCI controller
      [    2.640929] ohci-platform 4200400.usb: new USB bus registered, assigned bus number 4
      [    2.648920] ohci-platform 4200400.usb: irq 45, io mem 0x04200400
      [    2.716284] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.14
      [    2.724635] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
      [    2.731901] usb usb4: Product: Generic Platform OHCI controller
      [    2.737854] usb usb4: Manufacturer: Linux 5.14.0-rc4 ohci_hcd
      [    2.743634] usb usb4: SerialNumber: 4200400.usb
      [    2.748977] hub 4-0:1.0: USB hub found
      [    2.752875] hub 4-0:1.0: 1 port detected
      [    2.759067] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
      [    2.765093] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 5
      [    2.773187] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.14
      [    2.781506] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
      [    2.788763] usb usb5: Product: MUSB HDRC host driver
      [    2.793764] usb usb5: Manufacturer: Linux 5.14.0-rc4 musb-hcd
      [    2.799546] usb usb5: SerialNumber: musb-hdrc.1.auto
      [    2.805348] hub 5-0:1.0: USB hub found
      [    2.809245] hub 5-0:1.0: 1 port detected
      [    2.814171] using random self ethernet address
      [    2.818691] using random host ethernet address
      [    2.823975] usb0: HOST MAC 9a:c4:22:db:37:d3
      [    2.828590] usb0: MAC 7e:30:b1:09:6a:7b
      [    2.832512] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
      [    2.839166] g_ether gadget: g_ether ready
      [    2.844245] sun8i-dsp-rproc 1700000.dsp: error -ENOENT: Failed to get cfg reset
      [    2.851614] sun8i-dsp-rproc: probe of 1700000.dsp failed with error -2
      [    2.858199] remoteproc remoteproc0: releasing 1700000.dsp
      [    2.864927] ALSA device list:
      [    2.867913]   #0: sun20i-codec
      [    2.885403] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
      [    2.895631] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
      [    2.903389] devtmpfs: mounted
      [    2.907779] Freeing unused kernel image (initmem) memory: 2092K
      [    2.913793] Run /sbin/init as init process
      [    3.333614] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null). Quota mode: disabled.
      Starting syslogd: OK
      Starting klogd: OK
      Running sysctl: OK
      Saving random seed: OK
      Starting network: OK
      
      Welcome to Buildroot
      buildroot login: root
      [   33.764074] ldob: disabling
      [   33.766906] usbvbus: disabling
      \# free -h
      total        used        free      shared  buff/cache   available
      Mem:         488.1M        9.0M      474.3M       56.0K        4.8M      472.6M
      Swap:             0           0           0
      \# cat /proc/meminfo
      MemTotal:         499812 kB
      MemFree:          485596 kB
      MemAvailable:     483800 kB
      Buffers:             272 kB
      Cached:             2288 kB
      SwapCached:            0 kB
      Active:             2396 kB
      Inactive:            656 kB
      Active(anon):         60 kB
      Inactive(anon):      488 kB
      Active(file):       2336 kB
      Inactive(file):      168 kB
      Unevictable:           0 kB
      Mlocked:               0 kB
      SwapTotal:             0 kB
      SwapFree:              0 kB
      Dirty:                44 kB
      Writeback:             0 kB
      AnonPages:           544 kB
      Mapped:             1740 kB
      Shmem:                56 kB
      KReclaimable:       2360 kB
      Slab:               7052 kB
      SReclaimable:       2360 kB
      SUnreclaim:         4692 kB
      KernelStack:         768 kB
      PageTables:          144 kB
      NFS_Unstable:          0 kB
      Bounce:                0 kB
      WritebackTmp:          0 kB
      CommitLimit:      249904 kB
      Committed_AS:       1804 kB
      VmallocTotal:   67108863 kB
      VmallocUsed:         804 kB
      VmallocChunk:          0 kB
      Percpu:               32 kB
      #
      
      发布在 MR Series
      L
      linstcl
    • 为什么D1的buildroot编译出来内存只有400多M

      我有一个1G的licheeRV开发板,运行tina编译出来的系统,内存正常识别到是1G,但是运行buildroot编译的系统时,就只能识别400过点的内存,请问一下这是为什么?

      发布在 MR Series
      L
      linstcl