Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~ took 1m46s
- ❯ ssh debian@192.168.6.2
- Debian GNU/Linux 11
- BeagleBoard.org Debian Bullseye Xfce Image 2023-02-04
- Support: https://bbb.io/debian
- default username:password is [debian:temppwd]
- debian@192.168.6.2's password:
- The programs included with the Debian GNU/Linux system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
- permitted by applicable law.
- Last login: Tue Oct 24 13:55:34 2023 from 192.168.6.1
- debian@BeaglePlay:~$ uname -r
- 5.10.168-ti-arm64-r111
- debian@BeaglePlay:~$ cat /boot/firmware/extlinux/extlinux.conf
- label Linux eMMC
- kernel /Image
- append root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 quiet module_blacklist=bcfserial
- fdtdir /
- #fdtoverlays /overlays/k3-am625-beagleplay-bcfserial-no-firmware.dtbo
- initrd /initrd.img
- debian@BeaglePlay:~$ echo " fdtoverlays /overlays/k3-am625-beagleplay-bcfserial-no-firmware.dtbo" | sudo tee -a /boot/firmware/extlinux/extlinux.conf
- [sudo] password for debian:
- fdtoverlays /overlays/k3-am625-beagleplay-bcfserial-no-firmware.dtbo
- debian@BeaglePlay:~$ cat /boot/firmware/extlinux/extlinux.conf label Linux eMMC
- kernel /Image
- append root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 quiet module_blacklist=bcfserial
- fdtdir /
- #fdtoverlays /overlays/k3-am625-beagleplay-bcfserial-no-firmware.dtbo
- initrd /initrd.img
- fdtoverlays /overlays/k3-am625-beagleplay-bcfserial-no-firmware.dtbo
- debian@BeaglePlay:~$ sudo shutdown now -r
- Connection to 192.168.6.2 closed by remote host.
- Connection to 192.168.6.2 closed.
- ❯ ssh [email protected]
- Debian GNU/Linux 11
- BeagleBoard.org Debian Bullseye Xfce Image 2023-02-04
- Support: https://bbb.io/debian
- default username:password is [debian:temppwd]
- [email protected]'s password:
- The programs included with the Debian GNU/Linux system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
- permitted by applicable law.
- Last login: Tue Oct 24 13:57:22 2023 from 192.168.6.1
- debian@BeaglePlay:~$ sha256sum node.bin
- f8a6b042210a7e1efa23f6ababefdadd6fe96c5c46578017147cd9f4c0f608e2 node.bin
- debian@BeaglePlay:~$ sha256sum host.bin
- e2e9e6bb3de6ef931581ae87410889bee2c8073fcd4bff4f7cfc156cf3499c26 host.bin
- debian@BeaglePlay:~$ ls /dev | grep ttyS4
- ttyS4
- debian@BeaglePlay:~$ python cc1352-flasher/cc1352-flasher.py --beagleplay host.bin
- Setting filename to host.bin
- Using GPIO for BOOT (gpiochip2 13) and RESET (gpiochip2 14) lines.
- Setting BOOT and RESET low
- Setting RESET high
- Setting BOOT high
- Releasing GPIO lines
- Opening port /dev/ttyS4, baud 500000
- Reading data from host.bin
- Cannot auto-detect firmware filetype: Assuming .bin
- Connecting to target...
- pg_rev = 1, protocols = f, wafer_id = 0xbb77
- CC135x PG1.1 (7x7mm): 704KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x000AFFD8
- Primary IEEE Address: 00:12:4B:00:29:B9:98:1A
- Performing mass erase
- Erasing all main bank flash sectors
- Erase done
- Writing 720896 bytes starting at address 0x00000000
- Write 208 bytes at 0x000AFF300
- Write done
- Verifying by comparing CRC32 calculations.
- Verified (match: 0x4d806daf)
- debian@BeaglePlay:~$ sudo sed -e '/bcfserial-no-firmware/ s/^#*/#/' -i /boot/firmware/extlinux/extlinux.conf
- [sudo] password for debian:
- debian@BeaglePlay:~$ cat /boot/firmware/extlinux/extlinux.conf label Linux eMMC
- kernel /Image
- append root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 quiet module_blacklist=bcfserial
- fdtdir /
- # #fdtoverlays /overlays/k3-am625-beagleplay-bcfserial-no-firmware.dtbo
- initrd /initrd.img
- # fdtoverlays /overlays/k3-am625-beagleplay-bcfserial-no-firmware.dtbo
- debian@BeaglePlay:~$ sudo shutdown now -r
- Connection to 192.168.6.2 closed by remote host.
- Connection to 192.168.6.2 closed.
- ❯ ssh debian@192.168.6.2
- Debian GNU/Linux 11
- BeagleBoard.org Debian Bullseye Xfce Image 2023-02-04
- Support: https://bbb.io/debian
- default username:password is [debian:temppwd]
- debian@192.168.6.2's password:
- The programs included with the Debian GNU/Linux system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
- permitted by applicable law.
- Last login: Tue Oct 24 14:03:57 2023 from 192.168.6.1
- debian@BeaglePlay:~$ python cc1352-flasher/cc1352-flasher.py --beagleconnect node.bin
- Setting filename to node.bin
- Sending break
- Opening port /dev/ttyACM0, baud 500000
- Reading data from node.bin
- Cannot auto-detect firmware filetype: Assuming .bin
- Connecting to target...
- pg_rev = 1, protocols = f, wafer_id = 0xbb77
- CC135x PG1.1 (7x7mm): 704KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x000AFFD8
- Primary IEEE Address: 00:12:4B:00:29:B9:9A:15
- Performing mass erase
- Erasing all main bank flash sectors
- Erase done
- Writing 720896 bytes starting at address 0x00000000
- Write 208 bytes at 0x000AFF308
- Write done
- Verifying by comparing CRC32 calculations.
- Verified (match: 0xc69c8a3a)
- debian@BeaglePlay:~$ cd beagleplay-greybus-driver/
- debian@BeaglePlay:~/beagleplay-greybus-driver$ make -j12
- make -C /lib/modules/5.10.168-ti-arm64-r111/build M=/home/debian/beagleplay-greybus-driver modules
- make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
- make[1]: Entering directory '/usr/src/linux-headers-5.10.168-ti-arm64-r111'
- CC [M] /home/debian/beagleplay-greybus-driver/gb-beagleplay.o
- MODPOST /home/debian/beagleplay-greybus-driver/Module.symvers
- CC [M] /home/debian/beagleplay-greybus-driver/gb-beagleplay.mod.o
- LD [M] /home/debian/beagleplay-greybus-driver/gb-beagleplay.ko
- make[1]: Leaving directory '/usr/src/linux-headers-5.10.168-ti-arm64-r111'
- debian@BeaglePlay:~/beagleplay-greybus-driver$ sudo insmod gb-beagleplay.ko
- [sudo] password for debian:
- debian@BeaglePlay:~/beagleplay-greybus-driver$ iio_info
- Library version: 0.24 (git tag: v0.24)
- Compiled with backends: local xml ip usb
- IIO context created with local backend.
- Backend version: 0.24 (git tag: v0.24)
- Backend description string: Linux BeaglePlay 5.10.168-ti-arm64-r111 #1bullseye SMP Tue Sep 26 14:22:20 UTC 2023 aarch64
- IIO context has 2 attributes:
- local,kernel: 5.10.168-ti-arm64-r111
- uri: local:
- IIO context has 3 devices:
- iio:device0: adc102s051
- 2 channels found:
- voltage1: (input)
- 2 channel-specific attributes found:
- attr 0: raw value: 4072
- attr 1: scale value: 0.805664062
- voltage0: (input)
- 2 channel-specific attributes found:
- attr 0: raw value: 0
- attr 1: scale value: 0.805664062
- No trigger on this device
- iio:device1: hdc2010
- 3 channels found:
- temp: (input)
- 4 channel-specific attributes found:
- attr 0: offset value: -15887.515151
- attr 1: peak_raw value: 28928
- attr 2: raw value: 29120
- attr 3: scale value: 2.517700195
- humidityrelative: (input)
- 3 channel-specific attributes found:
- attr 0: peak_raw value: 38656
- attr 1: raw value: 38672
- attr 2: scale value: 1.525878906
- current: (output)
- 2 channel-specific attributes found:
- attr 0: heater_raw value: 0
- attr 1: heater_raw_available value: 0 1
- No trigger on this device
- iio:device2: opt3001
- 1 channels found:
- illuminance: (input)
- 2 channel-specific attributes found:
- attr 0: input value: 25.560000
- attr 1: integration_time value: 0.800000
- 2 device-specific attributes found:
- attr 0: current_timestamp_clock value: realtime
- attr 1: integration_time_available value: 0.1 0.8
- No trigger on this device
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement