Created
June 28, 2022 14:09
-
-
Save RobertCNelson/f69b8874d84d80457de1d0e491d057ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ./setup_sdcard.sh --img-4gb bone-debian-11.3-iot-armhf-2022-06-28 --dtb beaglebone --distro-bootloader --enable-cape-universal --optional-uboot-uio-pru --enable-bypass-bootup-scripts | |
syncing media... | |
0+0 records in | |
0+0 records out | |
0 bytes copied, 8.6362e-05 s, 0.0 kB/s | |
----------------------------- | |
U-Boot Overlays Enabled... | |
Debug: ARM rootfs: armhf-rootfs-debian-bullseye.tar | |
Using Distro Bootloader | |
----------------------------- | |
'./u-boot/bb-u-boot-am335x-evm/MLO' -> '/tmp/tmp.7MbQFXVT42/dl/MLO' | |
SPL Bootloader: u-boot/bb-u-boot-am335x-evm/MLO | |
'./u-boot/bb-u-boot-am335x-evm/u-boot.img' -> '/tmp/tmp.7MbQFXVT42/dl/u-boot.img' | |
UBOOT Bootloader: u-boot/bb-u-boot-am335x-evm/u-boot.img | |
Using dd to place bootloader on drive | |
----------------------------- | |
MLO: [dd if=../dl/MLO of=/var/lib/jenkins/workspace/daily-debian-armhf-iot-builds/debian-11.3-iot-armhf-2022-06-28/bone-debian-11.3-iot-armhf-2022-06-28-4gb.img count=2 seek=1 conv=notrunc bs=128k] | |
----------------------------- | |
0+1 records in | |
0+1 records out | |
106028 bytes (106 kB, 104 KiB) copied, 0.00054075 s, 196 MB/s | |
----------------------------- | |
u-boot.img: [dd if=..dl/u-boot.img of=/var/lib/jenkins/workspace/daily-debian-armhf-iot-builds/debian-11.3-iot-armhf-2022-06-28/bone-debian-11.3-iot-armhf-2022-06-28-4gb.img count=4 seek=1 conv=notrunc bs=384k] | |
----------------------------- | |
2+1 records in | |
2+1 records out | |
987236 bytes (987 kB, 964 KiB) copied, 0.00251681 s, 392 MB/s | |
----------------------------- | |
log: sfdisk: 2.26.x or greater detected | |
sfdisk: [sfdisk from util-linux 2.36.1] | |
sfdisk: [--force /var/lib/jenkins/workspace/daily-debian-armhf-iot-builds/debian-11.3-iot-armhf-2022-06-28/bone-debian-11.3-iot-armhf-2022-06-28-4gb.img] | |
sfdisk: [4M,,L,*] | |
Checking that no-one is using this disk right now ... OK | |
Disk /var/lib/jenkins/workspace/daily-debian-armhf-iot-builds/debian-11.3-iot-armhf-2022-06-28/bone-debian-11.3-iot-armhf-2022-06-28-4gb.img: 3.52 GiB, 3774873600 bytes, 7372800 sectors | |
Units: sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 512 bytes | |
I/O size (minimum/optimal): 512 bytes / 512 bytes | |
>>> Created a new DOS disklabel with disk identifier 0x38f0fb09. | |
/var/lib/jenkins/workspace/daily-debian-armhf-iot-builds/debian-11.3-iot-armhf-2022-06-28/bone-debian-11.3-iot-armhf-2022-06-28-4gb.img1: Created a new partition 1 of type 'Linux' and of size 3.5 GiB. | |
/var/lib/jenkins/workspace/daily-debian-armhf-iot-builds/debian-11.3-iot-armhf-2022-06-28/bone-debian-11.3-iot-armhf-2022-06-28-4gb.img2: Done. | |
New situation: | |
Disklabel type: dos | |
Disk identifier: 0x38f0fb09 | |
Device Boot Start End Sectors Size Id Type | |
/var/lib/jenkins/workspace/daily-debian-armhf-iot-builds/debian-11.3-iot-armhf-2022-06-28/bone-debian-11.3-iot-armhf-2022-06-28-4gb.img1 * 8192 7372799 7364608 3.5G 83 Linux | |
The partition table has been altered. | |
Syncing disks. | |
Partition Setup: | |
----------------------------- | |
Disk /var/lib/jenkins/workspace/daily-debian-armhf-iot-builds/debian-11.3-iot-armhf-2022-06-28/bone-debian-11.3-iot-armhf-2022-06-28-4gb.img: 3.52 GiB, 3774873600 bytes, 7372800 sectors | |
Units: sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 512 bytes | |
I/O size (minimum/optimal): 512 bytes / 512 bytes | |
Disklabel type: dos | |
Disk identifier: 0x38f0fb09 | |
Device Boot Start End Sectors Size Id Type | |
/var/lib/jenkins/workspace/daily-debian-armhf-iot-builds/debian-11.3-iot-armhf-2022-06-28/bone-debian-11.3-iot-armhf-2022-06-28-4gb.img1 * 8192 7372799 7364608 3.5G 83 Linux | |
----------------------------- | |
add map loop0p1 (253:0): 0 7364608 linear 7:0 8192 | |
Formating with: [mkfs.ext4 /dev/mapper/loop0p1 -L rootfs] | |
----------------------------- | |
mke2fs 1.46.2 (28-Feb-2021) | |
Discarding device blocks: 4096/920576 done | |
Creating filesystem with 920576 4k blocks and 230144 inodes | |
Filesystem UUID: cfaaf4fc-4756-4963-b7b1-73be32f8b262 | |
Superblock backups stored on blocks: | |
32768, 98304, 163840, 229376, 294912, 819200, 884736 | |
Allocating group tables: 0/29 done | |
Writing inode tables: 0/29 done | |
Creating journal (16384 blocks): done | |
Writing superblocks and filesystem accounting information: 0/29 done | |
Populating Boot Partition | |
----------------------------- | |
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT | |
loop0 7:0 0 3.5G 0 loop | |
└─loop0p1 253:0 0 3.5G 0 part /tmp/tmp.7MbQFXVT42/disk | |
sda 8:0 0 128G 0 disk | |
├─sda1 8:1 0 127G 0 part / | |
├─sda2 8:2 0 1K 0 part | |
└─sda5 8:5 0 975M 0 part [SWAP] | |
----------------------------- | |
'/var/lib/jenkins/workspace/daily-debian-armhf-iot-builds/debian-11.3-iot-armhf-2022-06-28/ID.txt' -> '/tmp/tmp.7MbQFXVT42/disk/ID.txt' | |
Debug: Contents of Boot Partition | |
----------------------------- | |
total 20K | |
-rw-r--r-- 1 root root 53 Jun 28 06:38 ID.txt | |
drwx------ 2 root root 16K Jun 28 06:38 lost+found | |
24K /tmp/tmp.7MbQFXVT42/disk/ | |
----------------------------- | |
Finished populating Boot Partition | |
----------------------------- | |
Populating rootfs Partition | |
Please be patient, this may take a few minutes, as its transfering a lot of data.. | |
----------------------------- | |
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT | |
loop0 7:0 0 3.5G 0 loop | |
└─loop0p1 253:0 0 3.5G 0 part /tmp/tmp.7MbQFXVT42/disk | |
sda 8:0 0 128G 0 disk | |
├─sda1 8:1 0 127G 0 part / | |
├─sda2 8:2 0 1K 0 part | |
└─sda5 8:5 0 975M 0 part [SWAP] | |
----------------------------- | |
Transfer of data is Complete, now syncing data to disk... | |
Disk Size | |
1.9G /tmp/tmp.7MbQFXVT42/disk/ | |
----------------------------- | |
----------------------------- | |
debug: kernel_select: picking the first available kernel... | |
debug: kernel_select: found: [5.10.109-ti-r45] | |
/tmp/tmp.7MbQFXVT42/disk/boot/ | |
├── config-5.10.109-ti-r45 | |
├── dtbs | |
│ └── 5.10.109-ti-r45 | |
│ ├── am335x-baltos-ir2110.dtb | |
│ ├── am335x-baltos-ir3220.dtb | |
│ ├── am335x-baltos-ir5221.dtb | |
│ ├── am335x-base0033.dtb | |
│ ├── am335x-boneblack.dtb | |
│ ├── am335x-boneblack-pps.dtb | |
│ ├── am335x-boneblack-pruswuart.dtb | |
│ ├── am335x-boneblack-uboot.dtb | |
│ ├── am335x-boneblack-uboot-univ.dtb | |
│ ├── am335x-boneblack-wireless.dtb | |
│ ├── am335x-boneblue.dtb | |
│ ├── am335x-bone.dtb | |
│ ├── am335x-bonegreen.dtb | |
│ ├── am335x-bonegreen-gateway.dtb | |
│ ├── am335x-bonegreen-wireless.dtb | |
│ ├── am335x-bonegreen-wireless-uboot-univ.dtb | |
│ ├── am335x-bone-uboot-univ.dtb | |
│ ├── am335x-chiliboard.dtb | |
│ ├── am335x-cm-t335.dtb | |
│ ├── am335x-evm.dtb | |
│ ├── am335x-evmsk.dtb | |
│ ├── am335x-guardian.dtb | |
│ ├── am335x-icev2.dtb | |
│ ├── am335x-icev2-prueth.dtb | |
│ ├── am335x-lxm.dtb | |
│ ├── am335x-moxa-uc-2101.dtb | |
│ ├── am335x-moxa-uc-8100-me-t.dtb | |
│ ├── am335x-nano.dtb | |
│ ├── am335x-netcan-plus-1xx.dtb | |
│ ├── am335x-netcom-plus-2xx.dtb | |
│ ├── am335x-netcom-plus-8xx.dtb | |
│ ├── am335x-osd3358-sm-red.dtb | |
│ ├── am335x-pdu001.dtb | |
│ ├── am335x-pepper.dtb | |
│ ├── am335x-phycore-rdk.dtb | |
│ ├── am335x-pocketbeagle.dtb | |
│ ├── am335x-regor-rdk.dtb | |
│ ├── am335x-sancloud-bbe.dtb | |
│ ├── am335x-sancloud-bbe-extended-wifi.dtb | |
│ ├── am335x-sancloud-bbe-extended-wifi-uboot.dtb | |
│ ├── am335x-sancloud-bbe-extended-wifi-uboot-univ.dtb | |
│ ├── am335x-sancloud-bbe-lite.dtb | |
│ ├── am335x-sancloud-bbe-lite-uboot.dtb | |
│ ├── am335x-sancloud-bbe-lite-uboot-univ.dtb | |
│ ├── am335x-sancloud-bbe-uboot.dtb | |
│ ├── am335x-sancloud-bbe-uboot-univ.dtb | |
│ ├── am335x-sbc-t335.dtb | |
│ ├── am335x-shc.dtb | |
│ ├── am335x-sl50.dtb | |
│ ├── am335x-wega-rdk.dtb | |
│ ├── am571x-idk.dtb | |
│ ├── am5729-beagleboneai.dtb | |
│ ├── am572x-idk.dtb | |
│ ├── am574x-idk.dtb | |
│ ├── am57xx-beagle-x15.dtb | |
│ ├── am57xx-beagle-x15-revb1.dtb | |
│ ├── am57xx-beagle-x15-revc.dtb | |
│ ├── am57xx-cl-som-am57x.dtb | |
│ ├── am57xx-sbc-am57x.dtb | |
│ ├── dra71-evm.dtb | |
│ ├── dra72-evm.dtb | |
│ ├── dra72-evm-revc.dtb | |
│ ├── dra76-evm.dtb | |
│ ├── dra7-evm.dtb | |
│ ├── omap5-cm-t54.dtb | |
│ ├── omap5-igep0050.dtb | |
│ ├── omap5-sbc-t54.dtb | |
│ ├── omap5-uevm.dtb | |
│ └── overlays | |
│ ├── AM335X-PRU-UIO-00A0.dtbo | |
│ ├── AM57XX-PRU-UIO-00A0.dtbo | |
│ ├── BB-ADC-00A0.dtbo | |
│ ├── BB-BBBW-WL1835-00A0.dtbo | |
│ ├── BB-BBGG-WL1835-00A0.dtbo | |
│ ├── BB-BBGW-WL1835-00A0.dtbo | |
│ ├── BB-BONE-4D5R-01-00A1.dtbo | |
│ ├── BB-BONE-eMMC1-01-00A0.dtbo | |
│ ├── BB-BONE-LCD4-01-00A1.dtbo | |
│ ├── BB-BONE-NH7C-01-A0.dtbo | |
│ ├── BB-CAPE-DISP-CT4-00A0.dtbo | |
│ ├── BB-HDMI-TDA998x-00A0.dtbo | |
│ ├── BB-I2C2-BME680.dtbo | |
│ ├── BBORG_COMMS-00A2.dtbo | |
│ ├── BBORG_FAN-A000.dtbo | |
│ ├── BBORG_RELAY-00A2.dtbo | |
│ ├── BB-SPIDEV0-00A0.dtbo | |
│ ├── BB-SPIDEV1-00A0.dtbo | |
│ ├── BB-W1-P9.12-00A0.dtbo | |
│ ├── BONE-ADC.dtbo | |
│ ├── M-BB-BBG-00A0.dtbo | |
│ ├── M-BB-BBGG-00A0.dtbo | |
│ ├── PB-HACKADAY-2021.dtbo | |
│ ├── PB-MIKROBUS-0.dtbo | |
│ └── PB-MIKROBUS-1.dtbo | |
├── initrd.img-5.10.109-ti-r45 | |
├── System.map-5.10.109-ti-r45 | |
└── vmlinuz-5.10.109-ti-r45 | |
3 directories, 97 files | |
/boot/uEnv.txt--------------- | |
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0 | |
uname_r=5.10.109-ti-r45 | |
#uuid= | |
#dtb= | |
###U-Boot Overlays### | |
###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays | |
###Master Enable | |
enable_uboot_overlays=1 | |
### | |
###Overide capes with eeprom | |
#uboot_overlay_addr0=<file0>.dtbo | |
#uboot_overlay_addr1=<file1>.dtbo | |
#uboot_overlay_addr2=<file2>.dtbo | |
#uboot_overlay_addr3=<file3>.dtbo | |
### | |
###Additional custom capes | |
#uboot_overlay_addr4=<file4>.dtbo | |
#uboot_overlay_addr5=<file5>.dtbo | |
#uboot_overlay_addr6=<file6>.dtbo | |
#uboot_overlay_addr7=<file7>.dtbo | |
### | |
###Custom Cape | |
#dtb_overlay=<file8>.dtbo | |
### | |
###Disable auto loading of virtual capes (emmc/video/wireless/adc) | |
#disable_uboot_overlay_emmc=1 | |
#disable_uboot_overlay_video=1 | |
#disable_uboot_overlay_audio=1 | |
#disable_uboot_overlay_wireless=1 | |
#disable_uboot_overlay_adc=1 | |
### | |
###PRUSS OPTIONS | |
###pru_uio (5.4.106-ti-rt-r40 & 5.10.100-ti-r40 newer...) | |
###Default is PRU_REMOTEPROC, but classic UIO_PRUSS can be enabled here. | |
#uboot_overlay_pru=AM335X-PRU-UIO-00A0.dtbo | |
### | |
###Cape Universal Enable | |
enable_uboot_cape_universal=1 | |
### | |
###Debug: disable uboot autoload of Cape | |
#disable_uboot_overlay_addr0=1 | |
#disable_uboot_overlay_addr1=1 | |
#disable_uboot_overlay_addr2=1 | |
#disable_uboot_overlay_addr3=1 | |
### | |
###U-Boot fdt tweaks... (60000 = 384KB) | |
#uboot_fdt_buffer=0x60000 | |
###U-Boot Overlays### | |
console=ttyS0,115200n8 | |
cmdline=coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet | |
#In the event of edid real failures, uncomment this next line: | |
#cmdline=coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet video=HDMI-A-1:1024x768@60e | |
#Use an overlayfs on top of a read-only root filesystem: | |
#cmdline=coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet overlayroot=tmpfs | |
##enable Generic eMMC Flasher: | |
#cmdline=init=/usr/sbin/init-beagle-flasher | |
----------------------------- | |
Backup version of u-boot (MLO): /opt/backup/uboot/ | |
'./u-boot/bb-u-boot-am335x-evm/MLO' -> '/tmp/tmp.7MbQFXVT42/disk/opt/backup/uboot/MLO' | |
Backup version of u-boot (u-boot.img): /opt/backup/uboot/ | |
'./u-boot/bb-u-boot-am335x-evm/u-boot.img' -> '/tmp/tmp.7MbQFXVT42/disk/opt/backup/uboot/u-boot.img' | |
making ping/ping6 setuid root | |
'/tmp/tmp.7MbQFXVT42/disk/etc/beagle-flasher/beaglebone-black-microsd-to-emmc' -> '/tmp/tmp.7MbQFXVT42/disk/etc/default/beagle-flasher' | |
/tmp/tmp.7MbQFXVT42/disk/boot/ | |
├── config-5.10.109-ti-r45 | |
├── dtbs | |
│ └── 5.10.109-ti-r45 | |
│ ├── am335x-baltos-ir2110.dtb | |
│ ├── am335x-baltos-ir3220.dtb | |
│ ├── am335x-baltos-ir5221.dtb | |
│ ├── am335x-base0033.dtb | |
│ ├── am335x-boneblack.dtb | |
│ ├── am335x-boneblack-pps.dtb | |
│ ├── am335x-boneblack-pruswuart.dtb | |
│ ├── am335x-boneblack-uboot.dtb | |
│ ├── am335x-boneblack-uboot-univ.dtb | |
│ ├── am335x-boneblack-wireless.dtb | |
│ ├── am335x-boneblue.dtb | |
│ ├── am335x-bone.dtb | |
│ ├── am335x-bonegreen.dtb | |
│ ├── am335x-bonegreen-gateway.dtb | |
│ ├── am335x-bonegreen-wireless.dtb | |
│ ├── am335x-bonegreen-wireless-uboot-univ.dtb | |
│ ├── am335x-bone-uboot-univ.dtb | |
│ ├── am335x-chiliboard.dtb | |
│ ├── am335x-cm-t335.dtb | |
│ ├── am335x-evm.dtb | |
│ ├── am335x-evmsk.dtb | |
│ ├── am335x-guardian.dtb | |
│ ├── am335x-icev2.dtb | |
│ ├── am335x-icev2-prueth.dtb | |
│ ├── am335x-lxm.dtb | |
│ ├── am335x-moxa-uc-2101.dtb | |
│ ├── am335x-moxa-uc-8100-me-t.dtb | |
│ ├── am335x-nano.dtb | |
│ ├── am335x-netcan-plus-1xx.dtb | |
│ ├── am335x-netcom-plus-2xx.dtb | |
│ ├── am335x-netcom-plus-8xx.dtb | |
│ ├── am335x-osd3358-sm-red.dtb | |
│ ├── am335x-pdu001.dtb | |
│ ├── am335x-pepper.dtb | |
│ ├── am335x-phycore-rdk.dtb | |
│ ├── am335x-pocketbeagle.dtb | |
│ ├── am335x-regor-rdk.dtb | |
│ ├── am335x-sancloud-bbe.dtb | |
│ ├── am335x-sancloud-bbe-extended-wifi.dtb | |
│ ├── am335x-sancloud-bbe-extended-wifi-uboot.dtb | |
│ ├── am335x-sancloud-bbe-extended-wifi-uboot-univ.dtb | |
│ ├── am335x-sancloud-bbe-lite.dtb | |
│ ├── am335x-sancloud-bbe-lite-uboot.dtb | |
│ ├── am335x-sancloud-bbe-lite-uboot-univ.dtb | |
│ ├── am335x-sancloud-bbe-uboot.dtb | |
│ ├── am335x-sancloud-bbe-uboot-univ.dtb | |
│ ├── am335x-sbc-t335.dtb | |
│ ├── am335x-shc.dtb | |
│ ├── am335x-sl50.dtb | |
│ ├── am335x-wega-rdk.dtb | |
│ ├── am571x-idk.dtb | |
│ ├── am5729-beagleboneai.dtb | |
│ ├── am572x-idk.dtb | |
│ ├── am574x-idk.dtb | |
│ ├── am57xx-beagle-x15.dtb | |
│ ├── am57xx-beagle-x15-revb1.dtb | |
│ ├── am57xx-beagle-x15-revc.dtb | |
│ ├── am57xx-cl-som-am57x.dtb | |
│ ├── am57xx-sbc-am57x.dtb | |
│ ├── dra71-evm.dtb | |
│ ├── dra72-evm.dtb | |
│ ├── dra72-evm-revc.dtb | |
│ ├── dra76-evm.dtb | |
│ ├── dra7-evm.dtb | |
│ ├── omap5-cm-t54.dtb | |
│ ├── omap5-igep0050.dtb | |
│ ├── omap5-sbc-t54.dtb | |
│ ├── omap5-uevm.dtb | |
│ └── overlays | |
│ ├── AM335X-PRU-UIO-00A0.dtbo | |
│ ├── AM57XX-PRU-UIO-00A0.dtbo | |
│ ├── BB-ADC-00A0.dtbo | |
│ ├── BB-BBBW-WL1835-00A0.dtbo | |
│ ├── BB-BBGG-WL1835-00A0.dtbo | |
│ ├── BB-BBGW-WL1835-00A0.dtbo | |
│ ├── BB-BONE-4D5R-01-00A1.dtbo | |
│ ├── BB-BONE-eMMC1-01-00A0.dtbo | |
│ ├── BB-BONE-LCD4-01-00A1.dtbo | |
│ ├── BB-BONE-NH7C-01-A0.dtbo | |
│ ├── BB-CAPE-DISP-CT4-00A0.dtbo | |
│ ├── BB-HDMI-TDA998x-00A0.dtbo | |
│ ├── BB-I2C2-BME680.dtbo | |
│ ├── BBORG_COMMS-00A2.dtbo | |
│ ├── BBORG_FAN-A000.dtbo | |
│ ├── BBORG_RELAY-00A2.dtbo | |
│ ├── BB-SPIDEV0-00A0.dtbo | |
│ ├── BB-SPIDEV1-00A0.dtbo | |
│ ├── BB-W1-P9.12-00A0.dtbo | |
│ ├── BONE-ADC.dtbo | |
│ ├── M-BB-BBG-00A0.dtbo | |
│ ├── M-BB-BBGG-00A0.dtbo | |
│ ├── PB-HACKADAY-2021.dtbo | |
│ ├── PB-MIKROBUS-0.dtbo | |
│ └── PB-MIKROBUS-1.dtbo | |
├── initrd.img-5.10.109-ti-r45 | |
├── SOC.sh | |
├── System.map-5.10.109-ti-r45 | |
├── uboot | |
├── uEnv.txt | |
└── vmlinuz-5.10.109-ti-r45 | |
4 directories, 99 files | |
Finished populating rootfs Partition | |
----------------------------- | |
setup_sdcard.sh script complete | |
----------------------------- | |
The default user:password for this image: | |
debian:temppwd | |
----------------------------- | |
Image file: bone-debian-11.3-iot-armhf-2022-06-28-4gb.img | |
----------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment