Skip to content

Instantly share code, notes, and snippets.

@nmenon
Created February 20, 2024 18:36
Show Gist options
  • Save nmenon/75df38bee907785d1d78d1ec4abd7304 to your computer and use it in GitHub Desktop.
Save nmenon/75df38bee907785d1d78d1ec4abd7304 to your computer and use it in GitHub Desktop.
32k beagleplay v2
U-Boot SPL 2024.04-rc2-00045-g28a60823f3dd (Feb 20 2024 - 12:14:49 -0600)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
SPL initial stack usage: 13384 bytes
Trying to boot from MMC2
Starting ATF on ARM64 core...
NOTICE: BL31: v2.10.0(debug):v2.10.0-367-g00f1ec6b8740
NOTICE: BL31: Built : 12:14:49, Feb 20 2024
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: Maximum SPI INTID supported: 287
INFO: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
INFO: BL31: Initializing runtime services
INFO: BL31: cortex_a53: CPU workaround for erratum 855873 was applied
INFO: BL31: cortex_a53: CPU workaround for erratum 1530924 was applied
INFO: BL31: Initializing BL32
I/TC:
I/TC: OP-TEE version: 4.1.0-75-g89853006a609 (gcc version 11.3.1 20220712 (Arm GNU Toolchain 11.3.Rel1)) #1 Tue Feb 20 18:14:49 UTC 2024 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: GIC redistributor base address not provided
I/TC: Assuming default GIC group status and modifier
I/TC: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
I/TC: HUK Initialized
I/TC: Primary CPU switching to normal world boot
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x80080000
INFO: SPSR = 0x3c9
U-Boot SPL 2024.04-rc2-00045-g28a60823f3dd (Feb 20 2024 - 12:14:52 -0600)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
SPL initial stack usage: 1888 bytes
Trying to boot from MMC2
U-Boot 2024.04-rc2-00045-g28a60823f3dd (Feb 20 2024 - 12:14:52 -0600)
SoC: AM62X SR1.0 GP
Model: BeagleBoard.org BeaglePlay
DRAM: 2 GiB
Core: 98 devices, 27 uclasses, devicetree: separate
MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
Loading Environment from nowhere... OK
In: serial@2800000
Out: serial@2800000
Err: serial@2800000
Net: No ethernet found.
Press SPACE to abort autoboot in 2 seconds
=> printenv
addr_fit=0x90000000
arch=arm
args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000
args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
baudrate=115200
board=beagleplay
board_name=beagleplay
boot=mmc
boot_fdt=try
boot_fit=0
boot_targets=mmc1 mmc0
bootcmd=run set_led_state_start_load;run findfdt; run envboot; bootflow scan -lb;run set_led_state_fail_load
bootcmd_ti_mmc=run findfdt; run init_${boot}; if test ${boot_fit} -eq 1; then run get_fit_${boot}; run get_fit_overlaystring; run run_fit; else; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern; fi;
bootdelay=2
bootdir=/boot
bootenvfile=uEnv.txt
bootm_size=0x10000000
bootmeths=script extlinux efi pxe
bootpart=1:1
bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
console=ttyS2,115200n8
cpu=armv8
default_device_tree="k3-am625-beagleplay"
default_device_tree_arch=ti
do_main_cpsw0_qsgmii_phyinit=0
dtboaddr=0x89000000
envboot=if mmc dev ${mmcdev}; then if mmc rescan; then echo SD/MMC found on device ${mmcdev}; if test -n "${loadbootscript}" && run loadbootscript; then run bootscript; else if run loadbootenv; then echo Loaded env from ${bootenvfile}; run importbootenv; fi; if test -n $uenvcmd; then echo Running uenvcmd ...; run uenvcmd; fi; fi; fi; fi;
fdt_addr_r=0x88000000
fdtaddr=0x88000000
fdtcontroladdr=ffb12a00
fdtoverlay_addr_r=0x89000000
findfdt=setenv name_fdt ${default_device_tree_arch}/${default_device_tree}.dtb; setenv fdtfile ${name_fdt}
finduuid=part uuid ${boot} ${bootpart} uuid
get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/dtb/${name_fdt}
get_fit_config=setexpr name_fit_config gsub / _ conf-${fdtfile}
get_fit_mmc=load mmc ${bootpart} ${addr_fit} ${bootdir}/${name_fit}
get_fit_overlaystring=for overlay in $name_overlays; do; setexpr name_fit_overlay gsub / _ conf-${overlay}; setenv overlaystring ${overlaystring}'#'${name_fit_overlay}; done;
get_kern_mmc=load mmc ${bootpart} ${loadaddr} ${bootdir}/${name_kern}
get_overlay_mmc=fdt address ${fdtaddr}; fdt resize 0x100000; for overlay in $name_overlays; do; load mmc ${bootpart} ${dtboaddr} ${bootdir}/dtb/${overlay} && fdt apply ${dtboaddr}; done;
importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
init_mmc=run args_all args_mmc
kernel_addr_r=0x82000000
loadaddr=0x82000000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/dtb/${fdtfile}
loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
mmcboot=if mmc dev ${mmcdev}; then devnum=${mmcdev}; devtype=mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev}; if run loadimage; then run args_mmc; if test ${boot_fit} -eq 1; then run run_fit; else run mmcloados; fi; fi; fi; fi;
mmcdev=1
mmcloados=if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run get_fdt_mmc; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
mmcrootfstype=ext4 rootwait
name_fit=fitImage
name_kern=Image
partitions=name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}
pxefile_addr_r=0x80100000
ramdisk_addr_r=0x88080000
rd_spec=-
rdaddr=0x88080000
run_fit=run get_fit_config; bootm ${addr_fit}#${name_fit_config}${overlaystring}
run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
scriptaddr=0x80000000
set_led_state_fail_load= led led-0 off; led led-1 on; led led-2 off; led led-3 on; led led-4 off
set_led_state_start_load=led led-0 on; led led-1 off; led led-2 on; led led-3 off; led led-4 on
soc=k3
stderr=serial@2800000
stdin=serial@2800000
stdout=serial@2800000
update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit}
vendor=beagle
Environment size: 3812/126972 bytes
=> bootflow scan -l
Scanning for bootflows in all bootdevs
Seq Method State Uclass Part Name Filename
--- ----------- ------ -------- ---- ------------------------ ----------------
Scanning bootdev 'mmc@fa00000.bootdev':
0 extlinux ready mmc 1 mmc@fa00000.bootdev.part_ /extlinux/extlinux.conf
Scanning bootdev 'mmc@fa10000.bootdev':
1 extlinux ready mmc 1 mmc@fa10000.bootdev.part_ /extlinux/extlinux.conf
No more bootdevs
--- ----------- ------ -------- ---- ------------------------ ----------------
(2 bootflows, 2 valid)
=> bootflow scan -b
** Booting bootflow 'mmc@fa00000.bootdev.part_1' with extlinux
BeaglePlay microSD (extlinux.conf) (swap enabled)
1: microSD Recovery
2: microSD disable BCFSERIAL
3: copy microSD to eMMC
4: microSD (default)
Enter choice: 4: microSD (default)
Retrieving file: /Image
Retrieving file: /initrd.img
append: root=/dev/mmcblk1p3 ro rootfstype=ext4 resume=/dev/mmcblk1p2 rootwait net.ifnames=0 quiet
Retrieving file: /k3-beagleplay.dtb
Skipping fdtdir / for failure retrieving dts
## Flattened Device Tree blob at ffb12a00
Booting using the fdt blob at 0xffb12a00
Working FDT set to ffb12a00
Loading Ramdisk to 8ec9f000, end 8fffff34 ... OK
Loading Device Tree to 000000008ec8a000, end 000000008ec9e397 ... OK
Working FDT set to 8ec8a000
Starting kernel ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
I/TC: Reserved shared memory is enabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled
I/TC: Asynchronous notifications are disabled
[ 0.143201] omap-mailbox 29000000.mailbox: no available mbox devices found
[ 1.429130] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
[ 1.626065] omap8250 2860000.serial: Failed to create device link (0x180) with 600000.gpio
1;-1ftrap: EXIT: bad trap
[ OK ] Finished console-setup.ser [0m - Set console font and keymap.
[ OK ] Finished plymouth-read-wri lymouth To Write Out Runtime Data.
Mounting proc-sys-fs-binfm utable File Formats File System...
[ OK ] Mounted proc-sys-fs-binfmt ecutable File Formats File System.
[ OK ] Finished systemd-binfmt.se Set Up Additional Binary Formats.
[ OK ] Finished systemd-tmpfiles- te Volatile Files and Directories.
Starting systemd-timesyncd - Network Time Synchronization...
Starting systemd-update-ut rd System Boot/Shutdown in UTMP...
[ OK ] Finished apparmor.service - Load AppArmor profiles.
Starting networking.service - Raise network interfaces...
[ OK ] Finished systemd-update-ut cord System Boot/Shutdown in UTMP.
[ OK ] Started systemd-timesyncd. 0m - Network Time Synchronization.
[ OK ] Reached target sysinit.target - System Initialization.
[ OK ] Started systemd-tmpfiles-c Cleanup of Temporary Directories.
[ OK ] Reached target time-set.target - System Time Set.
[ OK ] Started apt-daily.timer - Daily apt download activities.
[ OK ] Started apt-daily-upgrade. apt upgrade and clean activities.
[ OK ] Started dpkg-db-backup.tim Daily dpkg database backup timer.
[ OK ] Started e2scrub_all.timer etadata Check for All Filesystems.
[ OK ] Started fstrim.timer - Discard unused blocks once a week.
[ OK ] Started logrotate.timer - Daily rotation of log files.
[ OK ] Reached target timers.target - Timer Units.
[ OK ] Listening on avahi-daemon. NS/DNS-SD Stack Activation Socket.
[ OK ] Listening on dbus.socket - D-Bus System Message Bus Socket.
Starting docker.socket - Docker Socket for the API...
[ OK ] Listening on gpsd.socket ositioning System) Daemon Sockets.
[ OK ] Listening on docker.socket - Docker Socket for the API.
[ OK ] Reached target sockets.target - Socket Units.
[ OK ] Reached target basic.target - Basic System.
Starting avahi-daemon.serv e - Avahi mDNS/DNS-SD Stack...
Starting bb-symlinks.servi - BeagleBoard Generate Symlinks...
Starting bb-usb-gadgets.se m - BeagleBoard.org USB gadgets...
Starting bbbio-set-sysconf ard Set up system configuration...
[ OK ] Started cron.service - kground program processing daemon.
Starting dbus.service - D-Bus System Message Bus...
Starting dphys-swapfile.se unmount, and delete a swap file...
Starting e2scrub_reap.serv e ext4 Metadata Check Snapshots...
Starting iwd.service - Wireless service...
[ OK ] Started mender-client.serv e - Mender OTA update service.
Starting systemd-logind.se ice - User Login Management...
Starting ti-sgx-23.1-am62- LSB: Start daemon at boot time...
Starting udisks2.service - Disk Manager...
[ OK ] Started dbus.service - D-Bus System Message Bus.
[ OK ] Finished networking.service - Raise network interfaces.
[ OK ] Finished bb-symlinks.servi m - BeagleBoard Generate Symlinks.
[ OK ] Finished bbbio-set-sysconf Board Set up system configuration.
[ OK ] Finished e2scrub_reap.serv ine ext4 Metadata Check Snapshots.
[ OK ] Reached target usb-gadget. m - Hardware activated USB gadget.
Starting wpa_supplicant.service - WPA supplicant...
[ OK ] Started avahi-daemon.service - Avahi mDNS/DNS-SD Stack.
[ OK ] Finished dphys-swapfile.se t/unmount, and delete a swap file.
[ OK ] Started ti-sgx-23.1-am62-d - LSB: Start daemon at boot time.
Starting polkit.service - Authorization Manager...
[ OK ] Started wpa_supplicant.service - WPA supplicant.
[ OK ] Started systemd-logind.service - User Login Management.
[ OK ] Started iwd.service - Wireless service.
[ OK ] Reached target network.target - Network.
[ OK ] Reached target network-online.target - Network is Online.
Starting bb-code-server.se m - BeagleBoard.org Code Server...
Starting containerd.servic - containerd container runtime...
Starting nginx.service rver and a reverse proxy server...
Starting ssh.service - OpenBSD Secure Shell server...
Starting systemd-user-sess vice - Permit User Sessions...
[ OK ] Started unattended-upgrade 0m - Unattended Upgrades Shutdown.
[ OK ] Started polkit.service - Authorization Manager.
[ OK ] Finished systemd-user-sess ervice - Permit User Sessions.
Starting lightdm.service - Light Display Manager...
Starting plymouth-quit-wai until boot process finishes up...
[ OK ] Listening on systemd-rfkil l Switch Status /dev/rfkill Watch.
[ OK ] Started bb-code-server.ser [0m - BeagleBoard.org Code Server.
K[ OK ] Started nginx.service server and a reverse proxy server.
K[ OK ] Found device dev-ttyGS0.device - /dev/ttyGS0.
Debian GNU/Linux 12 BeaglePlay ttyS2
BeagleBoard.org Debian Bookworm Xfce Image 2024-02-08
Support: https://bbb.io/debian
default username is [debian] with a one time password of [temppwd]
default [root] account is also enabled, make sure to login once as [root] to setup your password
BeaglePlay login:
Terminating...
Skipping tty reset...
Thanks for using picocom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment