beagleboard / cloud9-examples

MIT License
52 stars 28 forks source link

TechLab SD image no longer found #5

Open CoolGames opened 5 years ago

CoolGames commented 5 years ago

Link to TechLab SD image directory from README.md is not found so

or newer

is ambiguous

Alternate specific TechLab workshop link is earlier date. at Beaglebone TechLab SD image link found without image builder configurations in scripts directory at same site. The uEnv.txt edits described here do not work on that image and are already applied to the workshop SD image.

$ sudo /opt/scripts/tools/version.sh
[sudo] password for debian: 
git:/opt/scripts/:[702a85c3ea80bf39c36f539e40dbd0e877b173dc]
eeprom:[A335PBGL00A21750EPB03100]
model:[TI_AM335x_PocketBeagle]
dogtag:[BeagleBoard.org Debian Image 2018-10-07]
bootloader:[microSD]:[/dev/mmcblk0]:[U-Boot 2018.09-00002-g0b54a51eee]:[location: dd MBR]
kernel:[4.14.91-ti-r90]
nodejs:[v6.14.4]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr0=/lib/firmware/PB-I2C2-ACCEL-TECHLAB-CAPE.dtbo]
uboot_overlay_options:[uboot_overlay_addr1=/lib/firmware/PB-PWM-RGB-TECHLAB-CAPE.dtbo]
uboot_overlay_options:[uboot_overlay_addr2=/lib/firmware/PB-SPI1-7SEG-TECHLAB-CAPE.dtbo]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade <pkg>]
pkg:[bb-cape-overlays]:[4.4.20180928.0-0rcnee0~stretch+20180928]
pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~stretch+20180517]
pkg:[kmod]:[23-2rcnee1~stretch+20171005]
pkg:[librobotcontrol]:[1.0.3-git20181005.0-0rcnee0~stretch+20181005]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee1~stretch+20180328]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdk weston-launch xenomai]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet]
dmesg | grep pinctrl-single
[    0.903324] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
dmesg | grep gpio-of-helper
[    0.911544] gpio-of-helper ocp:cape-universal: ready
END
jadonk commented 5 years ago

Doh!

jadonk commented 5 years ago

@CoolGames Can you try the updated link to use a super-fresh image? Please report any issues.

jadonk commented 5 years ago

http://debian.beagleboard.org/images/bone-debian-9.9-iot-armhf-2019-08-03-4gb.img.xz

CoolGames commented 5 years ago

sed commands fail to modify uEnv.txt from https://github.com/beagleboard/cloud9-examples/tree/master/PocketBeagle/TechLab

jadonk commented 5 years ago

Please report what happened. Provide uEnv.txt before and after as well as shell log output.

CoolGames commented 5 years ago

@jadonk No change in comment text lines containing addr0 on Pocketbeagle Linux console Line shown in result for search for addr0 was correctly added manually Complete uEnv.txt file is uploaded to slack #testing channel

Shown before and after size and date unchanged with search for target proved unmodified near file0

Use raw to see in case preview has modified the view.

' debian@coolbbp:$ ls -l /boot/uEnv.txt -rw-r--r-- 1 debian debian 2952 Aug 13 17:16 /boot/uEnv.txt debian@coolbbp:$ sudo sed -i -e "s/#?uboot_overlay_addr0=.*$/uboot_overlay_pru=\/lib\/firmware\/PB-I2C2-ACCEL-TECHLAB-CAPE.dtbo/;" /boot/uEnv.txt debian@coolbbp:$ ls -l /boot/uEnv.txt -rw-r--r-- 1 debian debian 2952 Aug 13 17:17 /boot/uEnv.txt debian@coolbbp:$ grep file0 /boot/uEnv.txt

uboot_overlay_addr0=/lib/firmware/\.dtbo

debian@coolbbp:~$