This file contains hidden or 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
| https://github.com/RobertCNelson/bb-kernel/commit/97f5ce8ecc682d56faa38a85f9f773d33e4dab95 | |
| root@BeagleBone:~# uname -r ; dmesg | grep -i mdio ; dmesg | grep -i cpsw | |
| 5.15.10-bone15.1 | |
| [ 1.266868] libphy: Fixed MDIO Bus: probed | |
| [ 1.557184] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000 | |
| [ 1.557242] libphy: 4a101000.mdio: probed | |
| [ 1.559332] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720 | |
| [ 23.079372] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL) | |
| [ 1.559785] cpsw-switch 4a100000.switch: initialized cpsw ale version 1.4 |
This file contains hidden or 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
| debian@BeagleBone:~$ cat /etc/udev/rules.d/87-iio-noroot.rules | |
| # /etc/udev/rules.d/87-iio-noroot.rules | |
| # | |
| KERNEL=="iio:device[0-9]*", SUBSYSTEM=="iio", GROUP="gpio" | |
| #5.15.4-bone10 | |
| #Startup finished in 10.453s (kernel) + 1min 32.782s (userspace) = 1min 43.236s | |
| #graphical.target reached after 1min 32.174s in userspace | |
| #DRIVER=="*", ACTION=="add", \ |
This file contains hidden or 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
| diff --git a/arch/arm/mach-stm32mp/cpu.c b/arch/arm/mach-stm32mp/cpu.c | |
| index eb79f3ff..f410d038 100644 | |
| --- a/arch/arm/mach-stm32mp/cpu.c | |
| +++ b/arch/arm/mach-stm32mp/cpu.c | |
| @@ -607,8 +607,8 @@ __weak int setup_mac_address(void) | |
| struct udevice *dev; | |
| /* MAC already in environment */ | |
| - if (eth_env_get_enetaddr("ethaddr", enetaddr)) | |
| - return 0; |
This file contains hidden or 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
| /** | |
| * Note: This file was auto-generated by TI PinMux on 10/20/2021. | |
| * | |
| * \file J721E_pinmux.h | |
| * | |
| * \brief This file contains pad configure register offsets and bit-field | |
| * value macros for different configurations, | |
| * | |
| * BIT[21] TXDISABLE disable the pin's output driver | |
| * BIT[18] RXACTIVE enable the pin's input buffer (typically kept enabled) |
This file contains hidden or 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
| root@beaglebone:~# apt upgrade | |
| Reading package lists... Done | |
| Building dependency tree | |
| Reading state information... Done | |
| Calculating upgrade... Done | |
| The following NEW packages will be installed: | |
| gt libbrotli1 libconfig9 libusbgx | |
| The following packages have been kept back: | |
| c9-core-installer | |
| The following packages will be upgraded: |
This file contains hidden or 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
| Oct 11 16:08:12 BeagleBone bb-start-usb-gadgets[367]: [uMTPrd - 16:08:11 - Debug] -------------------------------------------------- | |
| Oct 11 16:08:12 BeagleBone bb-start-usb-gadgets[367]: [uMTPrd - 16:08:11 - Debug] Incoming_packet : 0x146f738 - rawsize : 24 | |
| Oct 11 16:08:12 BeagleBone bb-start-usb-gadgets[367]: [uMTPrd - 16:08:11 - Debug] MTP Packet size : 24 bytes | |
| Oct 11 16:08:12 BeagleBone bb-start-usb-gadgets[367]: [uMTPrd - 16:08:11 - Debug] MTP Operation : 0x0001 (OPERATION) | |
| Oct 11 16:08:12 BeagleBone bb-start-usb-gadgets[367]: [uMTPrd - 16:08:11 - Debug] MTP code : 0x95C3 (MTP_OPERATION_TRUNCATE_OBJECT) | |
| Oct 11 16:08:12 BeagleBone bb-start-usb-gadgets[367]: [uMTPrd - 16:08:11 - Debug] MTP Tx ID : 0x00000358 | |
| Oct 11 16:08:12 BeagleBone bb-start-usb-gadgets[367]: [uMTPrd - 16:08:11 - Debug] Header : | |
| Oct 11 16:08:12 BeagleBone bb-start-usb-gadgets[367]: [uMTPrd - 16:08:11 - Debug] 18 00 00 00 01 00 C3 95 58 03 00 00 ........X... | |
| Oct 11 16:08:12 BeagleBone bb-start-usb-gadgets[367]: |
This file contains hidden or 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
| #!/bin/bash | |
| if ! id | grep -q root; then | |
| echo "must be run as root" | |
| exit | |
| fi | |
| log="bb-setup-mac-address:" | |
| #mac address: |
This file contains hidden or 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
| SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan0", DRIVERS=="wl18xx_driver" \ | |
| RUN+="/sbin/iw dev %k interface add ap%n type managed" |
This file contains hidden or 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
| File Locations: | |
| root@BeagleBone:~# cat /etc/systemd/network/ | |
| eth0.network usb0.network usb1.network wlan0.network | |
| root@BeagleBone:~# cat /etc/wpa_supplicant/wpa_supplicant-wlan0.conf | |
| root@BeagleBone:~# ls /etc/bbb.io/templates/ | |
| eth0-DHCP.network usb1-DHCP.network wpa_supplicant-wlan0.conf | |
| usb0-DHCP.network usb1-DHCPServer.network |
This file contains hidden or 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
| #!/bin/sh -e | |
| # | |
| # Copyright (c) 2013-2020 Robert Nelson <[email protected]> | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: |