Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
boards:stm32mp157d-dk1 [2023/08/12 15:05] – darron | boards:stm32mp157d-dk1 [2023/08/15 10:24] (current) – darron | ||
---|---|---|---|
Line 2: | Line 2: | ||
<wrap right> | <wrap right> | ||
- | {{boards: | + | {{boards: |
</ | </ | ||
Line 9: | Line 9: | ||
yocto. | yocto. | ||
- | ===Build environment=== | + | === Linux === |
- | Kali Linux on Windows 10 WSL1. Ryzen 5 4500U ~2.35 GHz | + | [[: |
- | Update host and install required | + | [[:tools: |
- | < | ||
- | apt update | ||
- | apt full-upgrade | ||
- | apt install build-essential git libncurses5-dev picocom | ||
- | </ | ||
- | |||
- | If there are issues upgrading KALI on WSL1 the following | ||
- | postinst scripts may need disabling in / | ||
- | |||
- | < | ||
- | systemd.postinst | ||
- | polkitd.postinst | ||
- | systemd-timesyncd.postinst | ||
- | </ | ||
- | |||
- | Adding exit 0 at the start is the solution. | ||
- | |||
- | ===Buildroot=== | ||
- | |||
- | Fetch | ||
- | |||
- | < | ||
- | mkdir -p src | ||
- | cd src | ||
- | git clone git:// | ||
- | cd buildroot | ||
- | </ | ||
- | |||
- | Buildroot supports the 157A and the only difference to the 157D seems to be only CPU | ||
- | speed, 650 compared to 800 MHz. | ||
- | |||
- | Use the pre-built config | ||
- | < | ||
- | make stm32mp157a_dk1_defconfig | ||
- | </ | ||
- | |||
- | This config uses linux 5.13 which doesn' | ||
- | and may not be what you want. See this [[https:// | ||
- | |||
- | |||
- | Customised config can be created using | ||
- | < | ||
- | make config | ||
- | make menuconfig | ||
- | </ | ||
- | |||
- | Linux kernel customisation can be made with | ||
- | < | ||
- | make linux-menuconfig | ||
- | </ | ||
- | |||
- | Build the system | ||
- | < | ||
- | make | ||
- | </ | ||
- | |||
- | During the above build process it stalled with an uninitialised variable | ||
- | error. | ||
- | |||
- | < | ||
- | diff -u ./ | ||
- | --- ./ | ||
- | +++ ./ | ||
- | @@ -246,7 +246,7 @@ | ||
- | | ||
- | | ||
- | { | ||
- | - int result; | ||
- | + int result = 0; | ||
- | uint8_t *local_buffer; | ||
- | boot_api_image_header_t *header = | ||
- | (boot_api_image_header_t *)first_lba_buffer; | ||
- | </ | ||
- | |||
- | This bug appears to have been introduced in more recent versions of this file. | ||
- | |||
- | You can utilise in the STLINK debug port prior to powering up | ||
- | the board. | ||
- | |||
- | < | ||
- | $ lsusb | ||
- | Bus 001 Device 008: ID 1a40:0101 Terminus Technology Inc. Hub | ||
- | Bus 001 Device 006: ID 0781:557d SanDisk Corp. Cruzer Force | ||
- | Bus 001 Device 018: ID 0483:3752 STMicroelectronics ST-LINK/ | ||
- | Bus 001 Device 005: ID 1a40:0101 Terminus Technology Inc. Hub | ||
- | Bus 001 Device 004: ID 148f:761a Ralink Technology, Corp. MT7610U (" | ||
- | Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/ | ||
- | Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub | ||
- | Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | ||
- | </ | ||
- | |||
- | Open a console | ||
- | < | ||
- | $ picocom -b 115200 / | ||
- | picocom v3.1 | ||
- | |||
- | port is : / | ||
- | flowcontrol | ||
- | baudrate is : 115200 | ||
- | parity is : none | ||
- | databits are : 8 | ||
- | stopbits are : 1 | ||
- | escape is : C-a | ||
- | local echo is : no | ||
- | noinit is : no | ||
- | noreset is : no | ||
- | hangup is : no | ||
- | nolock is : no | ||
- | send_cmd is : sz -vv | ||
- | receive_cmd is : rz -vv -E | ||
- | imap is : | ||
- | omap is : | ||
- | emap is : crcrlf, | ||
- | logfile is : none | ||
- | initstring | ||
- | exit_after is : not set | ||
- | exit is : no | ||
- | |||
- | Type [C-a] [C-h] to see available commands | ||
- | Terminal ready | ||
- | </ | ||
- | |||
- | Connect a USB-C PSU (Eg. Pi4 PSU) | ||
- | |||
- | < | ||
- | NOTICE: | ||
- | NOTICE: | ||
- | NOTICE: | ||
- | NOTICE: | ||
- | NOTICE: | ||
- | NOTICE: | ||
- | NOTICE: | ||
- | NOTICE: | ||
- | |||
- | |||
- | U-Boot 2023.04 (Aug 11 2023 - 16:43:02 +0100) | ||
- | |||
- | CPU: STM32MP157DAC Rev.Z | ||
- | Model: STMicroelectronics STM32MP157A-DK1 Discovery Board | ||
- | Board: stm32mp1 in trusted - stm32image mode (st, | ||
- | Board: MB1272 Var3.0 Rev.C-03 | ||
- | DRAM: 512 MiB | ||
- | Clocks: | ||
- | - MPU : 650 MHz | ||
- | - MCU : 208.878 MHz | ||
- | - AXI : 266.500 MHz | ||
- | - PER : 24 MHz | ||
- | - DDR : 533 MHz | ||
- | optee optee: OP-TEE api uid mismatch | ||
- | Core: 277 devices, 38 uclasses, devicetree: board | ||
- | WDT: | ||
- | NAND: 0 MiB | ||
- | MMC: STM32 SD/MMC: 0 | ||
- | Loading Environment from MMC... *** Warning - bad CRC, using default environment | ||
- | |||
- | In: serial | ||
- | Out: | ||
- | Err: | ||
- | optee optee: OP-TEE api uid mismatch | ||
- | invalid MAC address 0 in OTP 00: | ||
- | Net: | ||
- | Error: ethernet@5800a000 address not set. | ||
- | No ethernet found. | ||
- | |||
- | Hit any key to stop autoboot: | ||
- | Boot over mmc0! | ||
- | Saving Environment to MMC... Writing to redundant MMC(0)... OK | ||
- | switch to partitions #0, OK | ||
- | mmc0 is current device | ||
- | Scanning mmc 0:4... | ||
- | Found / | ||
- | Retrieving file: / | ||
- | 1: stm32mp157a-dk1-buildroot | ||
- | Retrieving file: / | ||
- | append: root=/ | ||
- | Retrieving file: / | ||
- | Kernel image @ 0xc2000000 [ 0x000000 - 0x432a58 ] | ||
- | ## Flattened Device Tree blob at c4000000 | ||
- | | ||
- | Working FDT set to c4000000 | ||
- | | ||
- | Working FDT set to cffee000 | ||
- | optee optee: OP-TEE api uid mismatch | ||
- | |||
- | Starting kernel ... | ||
- | |||
- | [ 0.000000] Booting Linux on physical CPU 0x0 | ||
- | [ 0.000000] Linux version 5.13.0 (darron@excellent) (arm-buildroot-linux-gnueabihf-gcc.br_real (Buildroot 2023.08-rc1-68-g27dc493780) 12.3.0, GNU ld (GNU Binutils) 2.40) #1 SMP PREEMPT Fri Aug 11 16:47:22 BST 2023 | ||
- | [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d | ||
- | [ 0.000000] CPU: div instructions available: patching division code | ||
- | [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache | ||
- | [ 0.000000] OF: fdt: Machine model: STMicroelectronics STM32MP157A-DK1 Discovery Board | ||
- | [ 0.000000] Memory policy: Data cache writealloc | ||
- | [ 0.000000] Reserved memory: created DMA memory pool at 0x10000000, size 0 MiB | ||
- | [ 0.000000] OF: reserved mem: initialized node mcuram2@10000000, | ||
- | [ 0.000000] Reserved memory: created DMA memory pool at 0x10040000, size 0 MiB | ||
- | [ 0.000000] OF: reserved mem: initialized node vdev0vring0@10040000, | ||
- | [ 0.000000] Reserved memory: created DMA memory pool at 0x10041000, size 0 MiB | ||
- | [ 0.000000] OF: reserved mem: initialized node vdev0vring1@10041000, | ||
- | [ 0.000000] Reserved memory: created DMA memory pool at 0x10042000, size 0 MiB | ||
- | [ 0.000000] OF: reserved mem: initialized node vdev0buffer@10042000, | ||
- | [ 0.000000] Reserved memory: created DMA memory pool at 0x30000000, size 0 MiB | ||
- | [ 0.000000] OF: reserved mem: initialized node mcuram@30000000, | ||
- | [ 0.000000] Reserved memory: created DMA memory pool at 0x38000000, size 0 MiB | ||
- | [ 0.000000] OF: reserved mem: initialized node retram@38000000, | ||
- | [ 0.000000] cma: Reserved 128 MiB at 0xd8000000 | ||
- | [ 0.000000] Zone ranges: | ||
- | [ 0.000000] | ||
- | [ 0.000000] | ||
- | [ 0.000000] Movable zone start for each node | ||
- | [ 0.000000] Early memory node ranges | ||
- | [ 0.000000] | ||
- | [ 0.000000] | ||
- | [ 0.000000] | ||
- | [ 0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000dfffffff] | ||
- | [ 0.000000] psci: probing for conduit method from DT. | ||
- | [ 0.000000] psci: PSCIv1.1 detected in firmware. | ||
- | [ 0.000000] psci: Using standard PSCI v0.2 function IDs | ||
- | [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. | ||
- | [ 0.000000] psci: SMC Calling Convention v1.2 | ||
- | [ 0.000000] percpu: Embedded 15 pages/cpu s30668 r8192 d22580 u61440 | ||
- | [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130048 | ||
- | [ 0.000000] Kernel command line: root=/ | ||
- | [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear) | ||
- | [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear) | ||
- | [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off | ||
- | [ 0.000000] Memory: 311700K/ | ||
- | [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, | ||
- | [ 0.000000] rcu: Preemptible hierarchical RCU implementation. | ||
- | [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. | ||
- | [ 0.000000] | ||
- | [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. | ||
- | [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, | ||
- | [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 | ||
- | [ 0.000000] random: get_random_bytes called from start_kernel+0x35c/ | ||
- | [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt). | ||
- | [ 0.000000] clocksource: | ||
- | [ 0.000002] sched_clock: | ||
- | [ 0.000027] Switching to timer-based delay loop, resolution 41ns | ||
- | [ 0.000953] Console: colour dummy device 80x30 | ||
- | [ 0.002106] printk: console [tty0] enabled | ||
- | [ 0.002165] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) | ||
- | [ 0.002225] pid_max: default: 32768 minimum: 301 | ||
- | [ 0.002423] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) | ||
- | [ 0.002478] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) | ||
- | [ 0.003308] CPU: Testing write buffer coherency: ok | ||
- | [ 0.003678] CPU0: update cpu_capacity 1024 | ||
- | [ 0.003721] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 | ||
- | [ 0.004547] Setting up static identity map for 0xc0100000 - 0xc0100060 | ||
- | [ 0.004760] rcu: Hierarchical SRCU implementation. | ||
- | [ 0.005229] smp: Bringing up secondary CPUs ... | ||
- | [ 0.006121] CPU1: update cpu_capacity 1024 | ||
- | [ 0.006140] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 | ||
- | [ 0.006311] smp: Brought up 1 node, 2 CPUs | ||
- | [ 0.006395] SMP: Total of 2 processors activated (96.00 BogoMIPS). | ||
- | [ 0.006427] CPU: All CPU(s) started in SVC mode. | ||
- | [ 0.007070] devtmpfs: initialized | ||
- | [ 0.026809] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 | ||
- | [ 0.027164] clocksource: | ||
- | [ 0.027237] futex hash table entries: 512 (order: 3, 32768 bytes, linear) | ||
- | [ 0.034658] pinctrl core: initialized pinctrl subsystem | ||
- | [ 0.035765] NET: Registered protocol family 16 | ||
- | [ 0.038654] DMA: preallocated 256 KiB pool for atomic coherent allocations | ||
- | [ 0.056934] / | ||
- | [ 0.057008] / | ||
- | [ 0.057047] / | ||
- | [ 0.064939] stm32mp157-pinctrl soc: | ||
- | [ 0.065452] stm32mp157-pinctrl soc: | ||
- | [ 0.065909] stm32mp157-pinctrl soc: | ||
- | [ 0.066397] stm32mp157-pinctrl soc: | ||
- | [ 0.066831] stm32mp157-pinctrl soc: | ||
- | [ 0.067258] stm32mp157-pinctrl soc: | ||
- | [ 0.067678] stm32mp157-pinctrl soc: | ||
- | [ 0.068085] stm32mp157-pinctrl soc: | ||
- | [ 0.068507] stm32mp157-pinctrl soc: | ||
- | [ 0.068675] stm32mp157-pinctrl soc: | ||
- | [ 0.070495] stm32mp157-pinctrl soc: | ||
- | [ 0.070563] stm32mp157-pinctrl soc: | ||
- | [ 0.081123] wait_for_initramfs() called before rootfs_initcalls | ||
- | [ 0.083778] usbcore: registered new interface driver usbfs | ||
- | [ 0.083898] usbcore: registered new interface driver hub | ||
- | [ 0.083984] usbcore: registered new device driver usb | ||
- | [ 0.084213] pps_core: LinuxPPS API ver. 1 registered | ||
- | [ 0.084243] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti < | ||
- | [ 0.084303] PTP clock support registered | ||
- | [ 0.084631] Advanced Linux Sound Architecture Driver Initialized. | ||
- | [ 0.085806] clocksource: | ||
- | [ 0.096898] NET: Registered protocol family 2 | ||
- | [ 0.097168] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear) | ||
- | [ 0.098414] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) | ||
- | [ 0.098511] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) | ||
- | [ 0.098613] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) | ||
- | [ 0.098734] TCP: Hash tables configured (established 4096 bind 4096) | ||
- | [ 0.098893] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) | ||
- | [ 0.098966] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) | ||
- | [ 0.099239] NET: Registered protocol family 1 | ||
- | [ 0.100682] workingset: timestamp_bits=30 max_order=17 bucket_order=0 | ||
- | [ 0.109064] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) | ||
- | [ 0.109137] io scheduler mq-deadline registered | ||
- | [ 0.109165] io scheduler kyber registered | ||
- | [ 0.176920] STM32 USART driver initialized | ||
- | [ 0.177789] stm32-usart 40010000.serial: | ||
- | [ 0.177842] stm32-usart 40010000.serial: | ||
- | [ 0.177879] stm32-usart 40010000.serial: | ||
- | [ 0.177909] stm32-usart 40010000.serial: | ||
- | [ 0.177962] 40010000.serial: | ||
- | [ 0.954673] printk: console [ttySTM0] enabled | ||
- | [ 0.972620] brd: module loaded | ||
- | [ 0.981963] loop: module loaded | ||
- | [ 0.982818] random: fast init done | ||
- | [ 0.985238] libphy: Fixed MDIO Bus: probed | ||
- | [ 0.990403] random: crng init done | ||
- | [ 0.991802] CAN device driver interface | ||
- | [ 0.999545] stm32-dwmac 5800a000.ethernet: | ||
- | [ 1.004876] stm32-dwmac 5800a000.ethernet: | ||
- | [ 1.015902] stm32-dwmac 5800a000.ethernet: | ||
- | [ 1.021468] stm32-dwmac 5800a000.ethernet: | ||
- | [ 1.026449] stm32-dwmac 5800a000.ethernet: | ||
- | [ 1.033753] stm32-dwmac 5800a000.ethernet: | ||
- | [ 1.041089] stm32-dwmac 5800a000.ethernet: | ||
- | [ 1.047981] stm32-dwmac 5800a000.ethernet: | ||
- | [ 1.054364] stm32-dwmac 5800a000.ethernet: | ||
- | [ 1.059586] stm32-dwmac 5800a000.ethernet: | ||
- | [ 1.067443] stm32-dwmac 5800a000.ethernet: | ||
- | [ 1.074740] stm32-dwmac 5800a000.ethernet: | ||
- | [ 1.081311] stm32-dwmac 5800a000.ethernet: | ||
- | [ 1.087135] stm32-dwmac 5800a000.ethernet: | ||
- | [ 1.094027] libphy: stmmac: probed | ||
- | [ 1.100525] ehci_hcd: USB 2.0 ' | ||
- | [ 1.105648] ehci-platform: | ||
- | [ 1.111153] ohci_hcd: USB 1.1 ' | ||
- | [ 1.117149] ohci-platform: | ||
- | [ 1.124811] stm32_rtc 5c004000.rtc: | ||
- | [ 1.128875] stm32_rtc 5c004000.rtc: | ||
- | [ 1.136064] stm32_rtc 5c004000.rtc: | ||
- | [ 1.140503] stm32_rtc 5c004000.rtc: | ||
- | [ 1.149530] stm32_rtc 5c004000.rtc: | ||
- | [ 1.155330] stm32_rtc 5c004000.rtc: | ||
- | [ 1.160681] i2c /dev entries driver | ||
- | [ 1.186306] i2c 0-0039: Fixing up cyclic dependency with 4000b000.audio-controller | ||
- | [ 1.192578] i2c 0-0039: Fixing up cyclic dependency with 5a001000.display-controller | ||
- | [ 1.202053] stm32f7-i2c 40012000.i2c: | ||
- | [ 1.234510] stpmic1 1-0033: PMIC Chip Version: 0x21 | ||
- | [ 1.241327] vddcore: supplied by vin | ||
- | [ 1.246336] vdd_ddr: supplied by vin | ||
- | [ 1.251269] vdd: supplied by vin | ||
- | [ 1.255956] v3v3: supplied by vin | ||
- | [ 1.260500] v1v8_audio: supplied by v3v3 | ||
- | [ 1.266539] v3v3_hdmi: supplied by vin | ||
- | [ 1.272087] vtt_ddr: supplied by vdd_ddr | ||
- | [ 1.277242] vdd_usb: supplied by vin | ||
- | [ 1.279910] vdda: supplied by vin | ||
- | [ 1.285701] v1v2_hdmi: supplied by v3v3 | ||
- | [ 1.291047] vref_ddr: supplied by vin | ||
- | [ 1.296085] bst_out: supplied by vin | ||
- | [ 1.298780] vbus_otg: supplied by bst_out | ||
- | [ 1.303002] vbus_sw: supplied by bst_out | ||
- | [ 1.308020] stm32f7-i2c 5c002000.i2c: | ||
- | [ 1.317005] mmci-pl18x 58005000.mmc: | ||
- | [ 1.320902] mmci-pl18x 58005000.mmc: | ||
- | [ 1.355675] sdhci: Secure Digital Host Controller Interface driver | ||
- | [ 1.360536] sdhci: Copyright(c) Pierre Ossman | ||
- | [ 1.365886] Synopsys Designware Multimedia Card Interface Driver | ||
- | [ 1.371113] sdhci-pltfm: | ||
- | [ 1.378627] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, | ||
- | [ 1.384576] usbcore: registered new interface driver usbhid | ||
- | [ 1.389308] usbhid: USB HID core driver | ||
- | [ 1.393947] stm32-ipcc 4c001000.mailbox: | ||
- | [ 1.402019] stm32-rproc 10000000.m4: | ||
- | [ 1.406399] stm32-rproc 10000000.m4: | ||
- | [ 1.416640] remoteproc remoteproc0: | ||
- | [ 1.421149] remoteproc remoteproc0: | ||
- | [ 1.429192] NET: Registered protocol family 10 | ||
- | [ 1.433781] Segment Routing with IPv6 | ||
- | [ 1.436207] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver | ||
- | [ 1.442961] NET: Registered protocol family 17 | ||
- | [ 1.446461] can: controller area network core | ||
- | [ 1.450857] NET: Registered protocol family 29 | ||
- | [ 1.455254] can: raw protocol | ||
- | [ 1.458274] can: broadcast manager protocol | ||
- | [ 1.462401] can: netlink gateway - max_hops=1 | ||
- | [ 1.467048] ThumbEE CPU extension supported. | ||
- | [ 1.471054] Registering SWP/SWPB emulation handler | ||
- | [ 1.477744] stm32-dma 48000000.dma-controller: | ||
- | [ 1.484686] stm32-dma 48001000.dma-controller: | ||
- | [ 1.493757] stm32-mdma 58000000.dma-controller: | ||
- | [ 1.500151] vref: supplied by vdd | ||
- | [ 1.503210] reg11: supplied by vdd | ||
- | [ 1.506445] reg18: supplied by vdd | ||
- | [ 1.512700] mmc0: new high speed SD card at address e624 | ||
- | [ 1.516890] usb33: supplied by vdd_usb | ||
- | [ 1.517693] mmcblk0: mmc0:e624 SU02G 1.84 GiB | ||
- | [ 1.526228] input: pmic_onkey as / | ||
- | [ 1.537823] stm32-usbphyc 5a006000.usbphyc: | ||
- | [ 1.543816] | ||
- | [ 1.546689] ehci-platform 5800d000.usb: | ||
- | [ 1.551525] ehci-platform 5800d000.usb: | ||
- | [ 1.559773] ehci-platform 5800d000.usb: | ||
- | [ 1.585858] ehci-platform 5800d000.usb: | ||
- | [ 1.591647] hub 1-0:1.0: USB hub found | ||
- | [ 1.594421] hub 1-0:1.0: 2 ports detected | ||
- | [ 1.605764] ALSA device list: | ||
- | [ 1.607415] | ||
- | [ 1.621196] EXT4-fs (mmcblk0p4): | ||
- | [ 1.630134] VFS: Mounted root (ext4 filesystem) readonly on device 179:4. | ||
- | [ 1.637769] devtmpfs: mounted | ||
- | [ 1.641759] Freeing unused kernel memory: 1024K | ||
- | [ 1.656071] Run /sbin/init as init process | ||
- | [ 1.822035] EXT4-fs (mmcblk0p4): | ||
- | [ 1.885907] usb 1-1: new high-speed USB device number 2 using ehci-platform | ||
- | Starting syslogd: OK | ||
- | Starting klogd: OK | ||
- | Running sysctl: OK | ||
- | Saving 2048 bits of creditable seed for next boot | ||
- | Starting network: [ 2.087546] hub 1-1:1.0: USB hub found | ||
- | [ 2.090003] hub 1-1:1.0: 4 ports detected | ||
- | OK | ||
- | |||
- | Welcome to Buildroot | ||
- | buildroot login: [ | ||
- | [ | ||
- | </ | ||
- | |||
- | Bring up network | ||
- | |||
- | < | ||
- | ifconfig eth0 inet 192.168.0.206 netmask 255.255.255.0 | ||
- | [ 624.461467] stm32-dwmac 5800a000.ethernet eth0: PHY [stmmac-0: | ||
- | [ 624.469809] stm32-dwmac 5800a000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 | ||
- | [ 624.477884] dwmac4: Master AXI performs any burst length | ||
- | [ 624.481819] stm32-dwmac 5800a000.ethernet eth0: No Safety Features support found | ||
- | [ 624.489461] stm32-dwmac 5800a000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported | ||
- | [ 624.498103] stm32-dwmac 5800a000.ethernet eth0: registered PTP clock | ||
- | [ 624.504712] stm32-dwmac 5800a000.ethernet eth0: configuring for phy/ | ||
- | # [ 628.639293] stm32-dwmac 5800a000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx | ||
- | [ 628.646428] IPv6: ADDRCONF(NETDEV_CHANGE): | ||
- | </ | ||
- | |||
- | Add default route and test | ||
- | |||
- | < | ||
- | route add default gw 192.168.0.1 | ||
- | ping -c 4 8.8.8.8 | ||
- | PING 8.8.8.8 (8.8.8.8): 56 data bytes | ||
- | 64 bytes from 8.8.8.8: seq=0 ttl=117 time=16.723 ms | ||
- | 64 bytes from 8.8.8.8: seq=1 ttl=117 time=17.250 ms | ||
- | 64 bytes from 8.8.8.8: seq=2 ttl=117 time=12.522 ms | ||
- | 64 bytes from 8.8.8.8: seq=3 ttl=117 time=12.683 ms | ||
- | |||
- | --- 8.8.8.8 ping statistics --- | ||
- | 4 packets transmitted, | ||
- | round-trip min/avg/max = 12.522/ | ||
- | </ | ||
=== Resources=== | === Resources=== | ||
Line 477: | Line 24: | ||
[[https:// | [[https:// | ||
- | |||
- | [[https:// | ||
- | |||
- | [[https:// | ||
[[https:// | [[https:// | ||
- | [[https:// | ||
- | |||
- | [[https:// |