Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buildroot configs for pocketbeagle with lastest Linux kernel version and with all pocketbeagle's hardware support? #2

Open
Siegurd01 opened this issue Dec 1, 2021 · 19 comments

Comments

@Siegurd01
Copy link

The PocketBeagle board with official Debian image boot's in about 2 minutes. That's quite long for Embedded purposes so I was looking for some Embedded Linux for PocketBeagle. Buildroot is the case, but unfortunately all instructions and repo's are about 4 years old and uses Linux/arm 4.14.18 Kernel witch is quite old and does not support lots of features and hardware.
I was success on booting the board with some fixes and patches using this instruction (all booting time took 9 seconds, which is nice), but still after the boot complete in /dev folder only few devices are present (no SPI, PRU, USB and so on). Then I tried copy some board configs from beagleboard repo and build with new kernel, but lots of errors occurs on building step. After spending 4 days trying different cases/configs and settings I give-up)
It would be nice to create buildroot PocketBeagle board config files for embedded proposes that include all SBC hardware devices integration and initialization so it could be a good starting point for developers. I can help with testing and writing the instruction cuz my Linux editing knowledge are far from required level.

@RobertCNelson
Copy link
Member

@Siegurd01
Copy link
Author

@RobertCNelson Thanks for quick answer! I tried some old beaglebone_defconfig and board stuck at uboot stage with endless timer error. I will try suggested defconfig by you and reply.

@RobertCNelson
Copy link
Member

PS, you'll need to add teh PocketBeagle *.dtb to:

https://github.com/buildroot/buildroot/blob/master/configs/beaglebone_defconfig#L26

BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue"

PS, if you change:

BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,5.10.30-ti-r3)/linux-5.10.30-ti-r3.tar.gz"

to:

BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,5.10.65-ti-r30)/linux-5.10.65-ti-r30.tar.gz"

and

BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"

to:

BR2_LINUX_KERNEL_DEFCONFIG="bb.org_defconfig "

and you'll have all the latest fixes, along with the kichen sink config..

Regards,

@Siegurd01
Copy link
Author

Should I add "am335x-pocketbeagle" to

BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue"

and then "am335x-pocketbeagle.dtb" to:
https://github.com/buildroot/buildroot/blob/master/board/beaglebone/genimage.cfg
?
A file am335x-pocketbeagle.dtb i can add from PocketBeagle's SD card with Debian?

@RobertCNelson
Copy link
Member

Correct!

@Siegurd01
Copy link
Author

not sure about this line:
https://github.com/buildroot/buildroot/blob/aaf7b2c9c6847c487af46e023dae3497efdd652f/board/beaglebone/uEnv.txt#L9
Does name of a board correspond to Pocketbeagle and is the root path to SD card correct?

@RobertCNelson
Copy link
Member

looks like a broken eeprom, nuke it..

@Siegurd01
Copy link
Author

gzip -d -c /root/buildroot/dl/linux/linux-5.10.65-ti-r30.tar.gz | tar --strip-components=1 -C /root/buildroot/output/build/linux-custom   -xf -
>>> linux custom Patching

Applying 0001-keep-jtag-clock-alive-for-debugger.patch using patch:
patching file arch/arm/mach-omap2/omap_hwmod_33xx_data.c
Hunk beagleboard/buildroot-old#1 succeeded at 171 (offset -37 lines).
if [ -f /root/buildroot/output/build/linux-custom/tools/perf/Documentation/Makefile ]; then printf "%%:\n\t@:\n" >/root/buildroot/output/build/linux-custom/tools/perf/Documentation/GNUmakefile; fi
for p in  ; do if test -d $p ; then PATH=/root/buildroot/output/host/bin:$PATH support/scripts/apply-patches.sh  /root/buildroot/output/build/linux-custom $p \*.patch || exit 1 ; else PATH=/root/buildroot/output/host/bin:$PATH support/scripts/apply-patches.sh  /root/buildroot/output/build/linux-custom `dirname $p` `basename $p` || exit 1; fi done
make[1]: Entering directory '/root/buildroot/output/build/linux-custom'
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
  YACC    scripts/kconfig/parser.tab.[ch]
  HOSTCC  scripts/kconfig/preprocess.o
  HOSTCC  scripts/kconfig/symbol.o
  HOSTCC  scripts/kconfig/util.o
  HOSTCC  scripts/kconfig/lexer.lex.o
  HOSTCC  scripts/kconfig/parser.tab.o
  HOSTLD  scripts/kconfig/conf
***
*** Can't find default configuration "arch/arm/configs/bb.org_defconfig_defconfig"!
***
make[2]: *** [scripts/kconfig/Makefile:88: bb.org_defconfig_defconfig] Error 1
make[1]: *** [Makefile:603: bb.org_defconfig_defconfig] Error 2
make[1]: Leaving directory '/root/buildroot/output/build/linux-custom'
make: *** [linux/linux.mk:570: /root/buildroot/output/build/linux-custom/.stamp_dotconfig] Error 2

@RobertCNelson
Copy link
Member

bb.org_defconfig_defconfig

sorry, didn't relize it appended..

use
bb.org

@Siegurd01
Copy link
Author

Siegurd01 commented Dec 1, 2021

for quick hack i chose axm55xx_defconfig just to check if compilation reached the end. And its finally does. Trying to boot.
..
nope:

U-Boot SPL 2021.04 (Dec 01 2021 - 17:49:38 -0500)
Trying to boot from MMC1


U-Boot 2021.04 (Dec 01 2021 - 17:49:38 -0500)

CPU  : AM335X-GP rev 2.1
Model: TI AM335x PocketBeagle
DRAM:  512 MiB
WDT:   Started with servicing (60s timeout)
Could not initialize timer (err -19)
Could not initialize timer (err -19)

The uEnv.txt:

bootpart=0:1
devtype=mmc
bootdir=
bootfile=zImage
bootpartition=mmcblk0p2
console=ttyS0,115200n8
loadaddr=0x82000000
fdtaddr=0x88000000
set_mmc1=if test $board_name = A33515BB; then setenv bootpartition mmcblk1p2; fi
set_bootargs=setenv bootargs console=${console} root=/dev/${bootpartition} rw rootfstype=ext4 rootwait
uenvcmd=run set_mmc1; run set_bootargs;run loadimage;run loadfdt;printenv bootargs;bootz ${loadaddr} - ${fdtaddr}

Sory I didn't get point of looks like a broken eeprom, nuke it..
How can I tell bootloader to use am335x-pocketbeagle.dtb?

@RobertCNelson
Copy link
Member

U-Boot 2021.04 (Dec 01 2021 - 17:49:38 -0500)

CPU  : AM335X-GP rev 2.1
Model: TI AM335x PocketBeagle
DRAM:  512 MiB
WDT:   Started with servicing (60s timeout)

it selected the right one..

@Siegurd01
Copy link
Author

Siegurd01 commented Dec 1, 2021

The 4 years old uEnv.txt (it worked with old kernel):

fdtfile=am335x-pocketbeagle.dtb
bootpart=0:1
bootdir=
bootargs=console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
uenvcmd=run loadimage;run loadfdt;printenv bootargs;bootz ${loadaddr} - ${fdtaddr};

Same results.

@Siegurd01
Copy link
Author

Siegurd01 commented Dec 1, 2021

Maybe this is the reason
https://github.com/u-boot/u-boot/blob/4a14bfffd42f968ed9d72a780a8d44a9053c5b95/lib/time.c#L96

/root/buildroot/output/build/uboot-2021.04/.config:

#
# Timer Support
#
CONFIG_TIMER=y
# CONFIG_SPL_TIMER is not set
# CONFIG_TIMER_EARLY is not set

will try to CONFIG_TIMER_EARLY=y
.
.
UPD:
setting CONFIG_TIMER_EARLY=y generate:

  LD      u-boot
/root/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-ld.bfd: lib/built-in.o: in function `get_tbclk':
/root/buildroot/output/build/uboot-2021.04/lib/time.c:70: undefined reference to `timer_early_get_rate'
/root/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-ld.bfd: lib/built-in.o: in function `get_ticks':
/root/buildroot/output/build/uboot-2021.04/lib/time.c:90: undefined reference to `timer_early_get_count'
make[1]: *** [Makefile:1703: u-boot] Error 1
make[1]: Leaving directory '/root/buildroot/output/build/uboot-2021.04'
make: *** [package/pkg-generic.mk:294: /root/buildroot/output/build/uboot-2021.04/.stamp_built] Error 2

I tried just copy uboot files to SD from old buildroot repo and board boot's but stuck on:
[ 7.077594] Waiting for root device /dev/mmcblk0p2...
https://pastebin.com/tJeSJDEN

Tried newest uboot release:

U-Boot SPL 2022.01-rc3 (Dec 01 2021 - 22:00:31 -0500)
Trying to boot from MMC1
U-Boot 2022.01-rc3 (Dec 01 2021 - 22:00:31 -0500)
CPU  : AM335X-GP rev 2.1
Model: TI AM335x PocketBeagle
DRAM:  512 MiB
Could not initialize timer (err -19)
Could not initialize timer (err -19)

@Siegurd01
Copy link
Author

Siegurd01 commented Dec 2, 2021

@Siegurd01
Copy link
Author

Siegurd01 commented Dec 2, 2021

SD uboot Deb.zip
OK! I just relapsed all files in SDcard boot partition with official Debian image boot files and all things now working. The board boot's in to login prompt!
BR2_LINUX_KERNEL_DEFCONFIG="aspeed_g4" was set for quick building. Will now try with:
BR2_LINUX_KERNEL_DEFCONFIG="bb.org"

@RobertCNelson
Copy link
Member

buildroot should have a rootfs.img or something, anyways use their recommend partition layout..

@Siegurd01
Copy link
Author

@RobertCNelson, what _defconfig is using for official beagle Debian uboot build? I want to try integrate it in buildroot and create an instruction for all.

@RobertCNelson
Copy link
Member

This branch:

https://github.com/beagleboard/u-boot/tree/v2021.10-bbb.io-am335x

This config:

am335x_evm_defconfig

Regards,

@Siegurd01
Copy link
Author

Siegurd01 commented Dec 6, 2021

Me again.

@RobertCNelson, I have some progress. Board is now booting in to a login prompt. No manually copying files to SDcard needed.

The setup is:

  1. buildroot-2021.11-rc3
  2. buildroot pocketbeagle config files.zip it contains all necessary board and config files (it took me lot of days to assemble all of files and configs together to make it even boot :) ).
  3. I could not integrate https://github.com/beagleboard/u-boot/tree/v2021.10-bbb.io-am335x cuz I haven't found the way to set the tree path in buildroot defconfig (it should be like BR2_TARGET_UBOOT_CUSTOM_REPO_?tree?= ... ? )

Anyway after success build and login, I found that the /dev folder is quite empty (no spi, ttyUSB* (sim7600 modem) and maybe others devices found).
After i type:

mount -o remount,rw /
depmod
modprobe option
echo 1e0e 9011 > /sys/bus/usb-serial/drivers/option1/new_id
# ls /dev ...
# ls /dev
apm_bios            snd                 tty45
autofs              spidev1.0           tty46
block               spidev2.0           tty47
btrfs-control       spidev2.1           tty48
bus                 stderr              tty49
char                stdin               tty5
console             stdout              tty50
cpu_dma_latency     tty                 tty51
cuse                tty0                tty52
disk                tty1                tty53
dri                 tty10               tty54
fd                  tty11               tty55
full                tty12               tty56
fuse                tty13               tty57
gpiochip0           tty14               tty58
gpiochip1           tty15               tty59
gpiochip2           tty16               tty6
gpiochip3           tty17               tty60
hwrng               tty18               tty61
i2c-0               tty19               tty62
i2c-1               tty2                tty63
i2c-2               tty20               tty7
iio:device0         tty21               tty8
input               tty22               tty9
kmem                tty23               ttyS0
kmsg                tty24               ttyS1
log                 tty25               ttyS2
loop-control        tty26               ttyS3
mapper              tty27               ttyS4
mem                 tty28               ttyS5
memory_bandwidth    tty29               ttyUSB0
mmcblk0             tty3                ttyUSB1
mmcblk0p1           tty30               ttyUSB2
mqueue              tty31               ttyUSB3
net                 tty32               ttyUSB4
network_latency     tty33               ubi_ctrl
network_throughput  tty34               uhid
null                tty35               uinput
ppp                 tty36               urandom
ptmx                tty37               vcs
pts                 tty38               vcs1
random              tty39               vcsa
rfkill              tty4                vcsa1
rtc                 tty40               vhci
rtc0                tty41               watchdog
serial              tty42               watchdog0
shm                 tty43               watchdog1
snapshot            tty44               zero

SPI and ttyUSB* are now present, but it's feels like a very dirty hack and I'm not sure every device will work properly so I want to please you, if its possible, to check config files and pocketbeagle's board folder so the instruction on how to create a properly working board by hardware only ( the software should be on user responsibility by make linux-config) could be made.

PS. : There are some errors on boot with tells that atleast uboot is configured in unproper way (by edditing techlab files).

The UART booting log ...

U-Boot SPL 2018.03-rc4 (Dec 05 2021 - 09:50:31 -0500)
Trying to boot from MMC1
Loading Environment from MMC... OK

U-Boot 2018.03-rc4 (Dec 05 2021 - 09:50:31 -0500)

CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 512 MiB
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from MMC... OK
not set. Validating first E-fuse MAC
Net: Could not get PHY for cpsw: addr 0
cpsw, usb_ether
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
6050304 bytes read in 397 ms (14.5 MiB/s)
switch to partitions #0, OK
mmc0 is current device
124423 bytes read in 20 ms (5.9 MiB/s)
switch to partitions #0, OK
mmc0 is current device
** File not found /lib/firmware/PB-I2C2-ACCEL-TECHLAB-CAPE.dtbo **
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
switch to partitions #0, OK
mmc0 is current device
** File not found /lib/firmware/PB-SPI1-7SEG-TECHLAB-CAPE.dtbo **
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
switch to partitions #0, OK
mmc0 is current device
** File not found /lib/firmware/PB-PWM-RGB-TECHLAB-CAPE.dtbo **
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
switch to partitions #0, OK
mmc0 is current device
** File not found /lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo **
libfdt fdt_check_header(): FDT_ERR_BADMAGIC

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000
reserving fdt memory region: addr=88000000 size=7f000
Loading Device Tree to 9de98000, end 9df19fff ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.108 (root@debian) (gcc version 10.3.0 (Buildroot 2021.11-rc3)) beagleboard/buildroot-old#1 SMP PREEMPT Sun Dec 5 10:06:05 EST 2021
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM335x PocketBeagle
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 48 MiB at 0x9a800000
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon)
[ 0.000000] random: get_random_bytes called from start_kernel+0xa8/0x454 with crng_init=0
[ 0.000000] percpu: Embedded 18 pages/cpu @df900000 s41612 r8192 d23924 u73728
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129412
[ 0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 445996K/522240K available (13312K kernel code, 1085K rwdata, 4196K rodata, 1024K init, 355K bss, 27092K reserved, 49152K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0000000 - 0xff800000 ( 504 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdfe00000 ( 510 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0e00000 (14304 kB)
[ 0.000000] .init : 0xc1300000 - 0xc1400000 (1024 kB)
[ 0.000000] .data : 0xc1400000 - 0xc150f768 (1086 kB)
[ 0.000000] .bss : 0xc1519b38 - 0xc1572858 ( 356 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 39793 entries in 117 pages
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000021] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000049] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000063] OMAP clocksource: timer1 at 24000000 Hz
[ 0.001463] timer_probe: no matching timers found
[ 0.001692] Console: colour dummy device 80x30
[ 0.001742] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[ 0.045975] pid_max: default: 32768 minimum: 301
[ 0.046247] Security Framework initialized
[ 0.046268] Yama: becoming mindful.
[ 0.046309] AppArmor: AppArmor disabled by boot time parameter
[ 0.046387] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.046402] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.047427] CPU: Testing write buffer coherency: ok
[ 0.047502] CPU0: Spectre v2: using BPIALL workaround
[ 0.047959] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.062085] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.069994] Hierarchical SRCU implementation.
[ 0.081169] EFI services will not be available.
[ 0.085996] smp: Bringing up secondary CPUs ...
[ 0.086018] smp: Brought up 1 node, 1 CPU
[ 0.086030] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[ 0.086040] CPU: All CPU(s) started in SVC mode.
[ 0.087691] devtmpfs: initialized
[ 0.114174] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.114627] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.114660] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.118578] xor: measuring software checksum speed
[ 0.157975] arm4regs : 1218.000 MB/sec
[ 0.197971] 8regs : 956.000 MB/sec
[ 0.237967] 32regs : 1166.000 MB/sec
[ 0.277966] neon : 1633.000 MB/sec
[ 0.277977] xor: using function: neon (1633.000 MB/sec)
[ 0.278001] pinctrl core: initialized pinctrl subsystem
[ 0.279229] NET: Registered protocol family 16
[ 0.282156] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.340383] omap_hwmod: debugss: _wait_target_disable failed
[ 0.393192] cpuidle: using governor menu
[ 0.398861] OMAP GPIO hardware version 0.1
[ 0.420438] No ATAGs?
[ 0.420458] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.421281] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.421300] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.446110] raid6: using algorithm neonx8 gen() 0 MB/s
[ 0.446134] raid6: .... xor() 0 MB/s, rmw enabled
[ 0.446144] raid6: using neon recovery algorithm
[ 0.453706] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.459298] SCSI subsystem initialized
[ 0.462423] usbcore: registered new interface driver usbfs
[ 0.462487] usbcore: registered new interface driver hub
[ 0.462601] usbcore: registered new device driver usb
[ 0.463440] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 0.464386] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[ 0.465126] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
[ 0.465496] media: Linux media interface: v0.10
[ 0.465552] Linux video capture interface: v2.00
[ 0.465732] pps_core: LinuxPPS API ver. 1 registered
[ 0.465744] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
[ 0.465769] PTP clock support registered
[ 0.466486] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.470256] FPGA manager framework
[ 0.470360] Advanced Linux Sound Architecture Driver Initialized.
[ 0.470987] NetLabel: Initializing
[ 0.471002] NetLabel: domain hash size = 128
[ 0.471010] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.471091] NetLabel: unlabeled traffic allowed by default
[ 0.474283] clocksource: Switched to clocksource timer1
[ 0.607144] VFS: Disk quotas dquot_6.6.0
[ 0.607270] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.619448] NET: Registered protocol family 2
[ 0.620328] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.620381] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.620443] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.620564] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.620589] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.620793] NET: Registered protocol family 1
[ 0.629742] RPC: Registered named UNIX socket transport module.
[ 0.629762] RPC: Registered udp transport module.
[ 0.629770] RPC: Registered tcp transport module.
[ 0.629779] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.630964] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 0.631243] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 0.633080] audit: initializing netlink subsys (disabled)
[ 0.634466] audit: type=2000 audit(0.632:1): state=initialized audit_enabled=0 res=1
[ 0.634616] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.640406] zbud: loaded
[ 0.647857] NFS: Registering the id_resolver key type
[ 0.647908] Key type id_resolver registered
[ 0.647919] Key type id_legacy registered
[ 0.647942] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.648297] fuse init (API version 7.26)
[ 0.657815] Key type asymmetric registered
[ 0.657839] Asymmetric key parser 'x509' registered
[ 0.657966] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 0.662502] io scheduler noop registered
[ 0.662521] io scheduler deadline registered
[ 0.662770] io scheduler cfq registered (default)
[ 0.662785] io scheduler mq-deadline registered
[ 0.665014] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.673305] gpio-of-helper ocp:cape-universal: ready
[ 0.680026] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 0.682088] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 0.685631] console [ttyS0] disabled
[ 0.685733] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[ 1.224018] random: fast init done
[ 1.497293] console [ttyS0] enabled
[ 1.501928] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[ 1.511824] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250
[ 1.521660] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 33, base_baud = 3000000) is a 8250
[ 1.533519] omap_rng 48310000.rng: Random Number Generator ver. 20
[ 1.541108] [drm] Initialized vgem 1.0.0 20120112 for vgem on minor 0
[ 1.547838] usbcore: registered new interface driver udl
[ 1.598963] libphy: Fixed MDIO Bus: probed
[ 1.604044] CAN device driver interface
[ 1.609232] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=39)
[ 1.619218] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=40)
[ 1.631170] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.637844] ehci-platform: EHCI generic platform driver
[ 1.643461] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.649544] usbcore: registered new interface driver usb-storage
[ 1.658680] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[ 1.672978] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 1.678440] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[ 1.686228] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.693096] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.700375] usb usb1: Product: MUSB HDRC host driver
[ 1.705384] usb usb1: Manufacturer: Linux 4.14.108 musb-hcd
[ 1.711003] usb usb1: SerialNumber: musb-hdrc.0
[ 1.716494] hub 1-0:1.0: USB hub found
[ 1.720464] hub 1-0:1.0: 1 port detected
[ 1.727217] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 1.741415] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 1.746892] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[ 1.754651] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.761516] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.768796] usb usb2: Product: MUSB HDRC host driver
[ 1.773806] usb usb2: Manufacturer: Linux 4.14.108 musb-hcd
[ 1.779423] usb usb2: SerialNumber: musb-hdrc.1
[ 1.784885] hub 2-0:1.0: USB hub found
[ 1.788850] hub 2-0:1.0: 1 port detected
[ 1.803594] omap_rtc 44e3e000.rtc: already running
[ 1.809284] omap_rtc 44e3e000.rtc: registered as rtc0
[ 1.815697] i2c /dev entries driver
[ 1.820392] Driver for 1-wire Dallas network protocol.
[ 1.829342] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.836925] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[ 1.847110] cpuidle: enable-method property 'ti,am3352' found operations
[ 1.854802] sdhci: Secure Digital Host Controller Interface driver
[ 1.861072] sdhci: Copyright(c) Pierre Ossman
[ 1.866451] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.911596] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.922965] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.929716] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 1.935895] omap-aes 53500000.aes: will run requests pump with realtime priority
[ 1.949123] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 1.958814] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.965264] usbcore: registered new interface driver usbhid
[ 1.971136] usbhid: USB HID core driver
[ 1.975648] remoteproc remoteproc0: wkup_m3 is available
[ 1.984529] ti_am3359-tscadc 44e0d000.tscadc: chan 0 step_avg truncating to 16
[ 1.991967] ti_am3359-tscadc 44e0d000.tscadc: chan 1 step_avg truncating to 16
[ 1.999307] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.007384] ti_am3359-tscadc 44e0d000.tscadc: chan 2 step_avg truncating to 16
[ 2.014693] ti_am3359-tscadc 44e0d000.tscadc: chan 3 step_avg truncating to 16
[ 2.022086] mmc0: new high speed SDHC card at address 5048
[ 2.027635] ti_am3359-tscadc 44e0d000.tscadc: chan 4 step_avg truncating to 16
[ 2.035995] mmcblk0: mmc0:5048 SD16G 14.4 GiB
[ 2.040587] ti_am3359-tscadc 44e0d000.tscadc: chan 5 step_avg truncating to 16
[ 2.048765] ti_am3359-tscadc 44e0d000.tscadc: chan 6 step_avg truncating to 16
[ 2.056262] mmcblk0: p1
[ 2.059779] ti_am3359-tscadc 44e0d000.tscadc: chan 7 step_avg truncating to 16
[ 2.071946] wireguard: WireGuard 0.0.20190702 loaded. See www.wireguard.com for information.
[ 2.080600] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld [email protected]. All Rights Reserved.
[ 2.090533] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.096933] NET: Registered protocol family 10
[ 2.106971] Segment Routing with IPv6
[ 2.110840] mip6: Mobile IPv6
[ 2.113833] NET: Registered protocol family 17
[ 2.118345] can: controller area network core (rev 20170425 abi 9)
[ 2.124672] NET: Registered protocol family 29
[ 2.129302] Key type dns_resolver registered
[ 2.133624] mpls_gso: MPLS GSO support
[ 2.137518] omap_voltage_late_init: Voltage driver support not added
[ 2.144428] PM: Cannot get wkup_m3_ipc handle
[ 2.149094] ThumbEE CPU extension supported.
[ 2.153455] Registering SWP/SWPB emulation handler
[ 2.159248] registered taskstats version 1
[ 2.163668] zswap: loaded using pool lzo/zbud
[ 2.170553] Btrfs loaded, crc32c=crc32c-generic
[ 2.175258] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[ 2.181665] ima: Allocated hash algorithm: sha256
[ 2.232178] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[ 2.243721] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 2.249613] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 2.256694] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 2.263930] remoteproc remoteproc0: powering up wkup_m3
[ 2.269851] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[ 2.279307] PM: Cannot get wkup_m3_ipc handle
[ 2.284093] remoteproc remoteproc0: remote processor wkup_m3 is now up
[ 2.284111] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193
[ 2.298951] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 2.307890] of_cfs_init
[ 2.310533] of_cfs_init: OK
[ 2.314825] ALSA device list:
[ 2.317823] No soundcards found.
[ 2.333382] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 2.341794] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
[ 2.349922] devtmpfs: mounted
[ 2.357106] Freeing unused kernel memory: 1024K
[ 2.681723] systemd[1]: System time before build time, advancing clock.
[ 2.726401] systemd[1]: systemd 249 running in system mode (-PAM -AUDIT -SELINUX -APPARMOR -IMA -SMACK -SECCOMP -GCRYPT -GNUTLS -OPENSSL -ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN +IPTC +KMOD -LIBCRYPTSETUP -LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 +XZ +ZLIB -ZSTD -XKBCOMMON -UTMP -SYSVINIT default-hierarchy=hybrid)
[ 2.757275] systemd[1]: Detected architecture arm.

Welcome to Buildroot 2021.11-rc3!

[ 2.796248] systemd[1]: Hostname set to .
[ 2.809138] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.816054] systemd[1]: Initializing machine ID from random generator.
[ 2.823101] systemd[1]: Installed transient /etc/machine-id file.
[ 3.549921] systemd[1]: Queued start job for default target Multi-User System.
[ 3.559859] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.620209] systemd[1]: Created slice Slice /system/getty.
[ OK ] Created slice Slice /system/getty.
[ 3.642822] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.653669] systemd[1]: Created slice Slice /system/modprobe.
[ OK ] Created slice Slice /system/modprobe.
[ 3.678870] systemd[1]: Created slice Slice /system/serial-getty.
[ OK ] Created slice Slice /system/serial-getty.
[ 3.703464] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password …ts to Console Directory Watch.
[ 3.727303] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password R…uests to Wall Directory Watch.
[ 3.751530] systemd[1]: Reached target Path Units.
[ OK ] Reached target Path Units.
[ 3.766846] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 3.790766] systemd[1]: Reached target Slice Units.
[ OK ] Reached target Slice Units.
[ 3.806776] systemd[1]: Reached target Swaps.
[ OK ] Reached target Swaps.
[ 3.824618] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 3.848008] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 3.872288] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 3.888304] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 3.919517] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 3.943848] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 3.967859] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 3.985032] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 4.025511] systemd[1]: Mounting Kernel Debug File System...
Mounting Kernel Debug File System...
[ 4.064927] systemd[1]: Mounting Kernel Trace File System...
Mounting Kernel Trace File System...
[ 4.098799] systemd[1]: Mounting Temporary Directory /tmp...
Mounting Temporary Directory /tmp...
[ 4.135258] systemd[1]: Starting Create List of Static Device Nodes...
Starting Create List of Static Device Nodes...
[ 4.175926] systemd[1]: Starting Load Kernel Module configfs...
Starting Load Kernel Module configfs...
[ 4.219784] systemd[1]: Starting Load Kernel Module fuse...
Starting Load Kernel Module fuse...
[ 4.258717] systemd[1]: Starting File System Check on Root Device...
Starting File System Check on Root Device...
[ 4.309108] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 4.342251] systemd[1]: Condition check resulted in Load Kernel Modules being skipped.
[ 4.396408] systemd[1]: Starting Apply Kernel Variables...
Starting Apply Kernel Variables...
[ 4.472044] systemd[1]: Starting Coldplug All udev Devices...
Starting Coldplug All udev Devices...
[ 4.596914] systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Mounted POSIX Message Queue File System.
[ 4.644803] systemd[1]: Mounted Kernel Debug File System.
[ OK ] Mounted Kernel Debug File System.
[ 4.684410] systemd[1]: Mounted Kernel Trace File System.
[ OK ] Mounted Kernel Trace File System.
[ 4.720384] systemd[1]: Mounted Temporary Directory /tmp.
[ OK ] Mounted Temporary Directory /tmp.
[ 4.768552] systemd[1]: Finished Create List of Static Device Nodes.
[ OK ] Finished Create List of Static Device Nodes.
[ 4.809618] systemd[1]: [email protected]: Deactivated successfully.
[ 4.847152] systemd[1]: Finished Load Kernel Module configfs.
[ OK ] Finished Load Kernel Module configfs.
[ 4.885704] systemd[1]: [email protected]: Deactivated successfully.
[ 4.923301] systemd[1]: Finished Load Kernel Module fuse.
[ OK ] Finished Load Kernel Module fuse.
[ 4.956413] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
[ OK ] Finished File System Check on Root Device.
[ OK ] Finished Apply Kernel Variables.
Mounting FUSE Control File System...
Mounting Kernel Configuration File System...
Starting Remount Root and Kernel File Systems...
Starting Create Static Device Nodes in /dev...
[ 5.249746] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[ OK ] Mounted FUSE Control File System.
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Finished Remount Root and Kernel File Systems.
[ OK ] Finished Create Static Device Nodes in /dev.
[ OK ] Reached target Preparation for Local File Systems.
Mounting /var...
Starting Rule-based Manage…for Device Events and Files...
[ OK ] Mounted /var.
[ OK ] Reached target Local File Systems.
Starting Flush Journal to Persistent Storage...
[ 5.840186] systemd-journald[114]: Received client request to flush runtime journal.
[ OK ] Finished Flush Journal to Persistent Storage.
Starting Create Volatile Files and Directories...
[ OK ] Started Rule-based Manager for Device Events and Files.
Starting Network Configuration...
[ OK ] Finished Create Volatile Files and Directories.
Starting Rebuild Journal Catalog...
Starting Network Time Synchronization...
[ OK ] Finished Rebuild Journal Catalog.
Starting Update is Completed...
[ OK ] Finished Update is Completed.
[ OK ] Finished Coldplug All udev Devices.
[ OK ] Started Network Configuration.
Starting Network Name Resolution...
[ 8.298493] usb 2-1: new high-speed USB device number 2 using musb-hdrc
[ 8.479604] usb 2-1: New USB device found, idVendor=1e0e, idProduct=9011
[ 8.506476] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8.537120] usb 2-1: Product: SimTech, Incorporated
[ 8.557138] usb 2-1: Manufacturer: SimTech, Incorporated
[ 8.582471] usb 2-1: SerialNumber: 0123456789ABCDEF
[ 8.616911] PM: bootloader does not support rtc-only!
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target System Time Set.
[ OK ] Reached target Timer Units.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Socket Units.
[ OK ] Reached target Basic System.
[ OK ] Started D-Bus System Message Bus.
Starting Connection service...
[ OK ] Started Getty on tty1.
Starting WPA supplicant...
[ OK ] Started WPA supplicant.
[ OK ] Started Connection service.
[ 10.812286] audit: type=1325 audit(1634052252.128:2): table=filter family=2 entries=4
[ 10.843902] audit: type=1300 audit(1634052252.128:2): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=9 a1=0 a2=40 a3=2295ec0 items=0 ppid=1 pid=143 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="connmand" exe="/usr/sbin/connmand" key=(null)
[ 10.976839] audit: type=1327 audit(1634052252.128:2): proctitle=2F7573722F7362696E2F636F6E6E6D616E64002D6E
[ 11.010211] audit: type=1325 audit(1634052252.248:3): table=mangle family=2 entries=0
[ 11.049106] audit: type=1300 audit(1634052252.248:3): arch=40000028 syscall=128 per=800000 success=yes exit=0 a0=1029448 a1=1a44 a2=465bf5 a3=0 items=0 ppid=143 pid=150 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="modprobe" exe="/usr/bin/kmod" key=(null)
[ 11.171250] audit: type=1327 audit(1634052252.248:3): proctitle=2F7362696E2F6D6F6470726F62650069707461626C655F6D616E676C65002D71
[ OK ] Started Network Name Resolution.
[ OK ] Reached target Network.
[ 11.227434] audit: type=1325 audit(1634052252.364:4): table=mangle family=2 entries=6
[ OK ] Reached target Host and Network Name Lookups.
[ 11.259824] audit: type=1300 audit(1634052252.364:4): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=9 a1=0 a2=40 a3=2296630 items=0 ppid=1 pid=143 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="connmand" exe="/usr/sbin/connmand" key=(null)
[ 11.312987] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
Starting Dropbear SSH daemon...
[ OK ] Started Respond to IPv6 Node Information Queries.
[ 11.416981] audit: type=1327 audit(1634052252.364:4): proctitle=2F7573722F7362696E2F636F6E6E6D616E64002D6E
[ OK ] Started Network Router Discovery Daemon.
[ 11.537245] audit: type=1325 audit(1634052252.852:5): table=nat family=2 entries=0
[ OK ] Found device /dev/ttyS0.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Started Dropbear SSH daemon.
Starting Hostname Service...
[ OK ] Reached target Hardware activated USB gadget.
[ OK ] Started Hostname Service.

Welcome to Buildroot
buildroot login: [ 16.779991] usbcore: registered new interface driver cdc_ether
[ 16.860129] rndis_host 2-1:1.0 usb0: register 'rndis_host' at usb-musb-hdrc.1-1, RNDIS device, b2:d0:24:26:07:e9
[ 16.877878] usbcore: registered new interface driver rndis_host
[ 16.907844] usbcore: registered new interface driver rndis_wlan

Regards.

@jadonk jadonk transferred this issue from beagleboard/buildroot-old Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants