Advertisement
Guest User

BB-Kernel-Upgrade

a guest
Sep 11th, 2022
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.42 KB | None | 0 0
  1. login as: debian
  2. Debian GNU/Linux 10
  3.  
  4. BeagleBoard.org Debian Buster IoT Image 2020-04-06
  5.  
  6. Support: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
  7.  
  8. default username:password is [debian:temppwd]
  9.  
  10. debian@192.168.7.2's password:
  11.  
  12. The programs included with the Debian GNU/Linux system are free software;
  13. the exact distribution terms for each program are described in the
  14. individual files in /usr/share/doc/*/copyright.
  15.  
  16. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  17. permitted by applicable law.
  18. Last login: Thu Sep 8 23:18:46 2022 from 192.168.7.1
  19. debian@beaglebone:~$ sudo -s
  20. [sudo] password for debian:
  21. root@beaglebone:/home/debian# ping google.com
  22. ping: google.com: Temporary failure in name resolution
  23. root@beaglebone:/home/debian# ifconfig
  24. eth0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500
  25. inet 192.168.137.36 netmask 255.255.255.0 broadcast 192.168.137.255
  26. inet6 fe80::aae7:7dff:feed:c8f prefixlen 64 scopeid 0x20<link>
  27. ether a8:e7:7d:ed:0c:8f txqueuelen 1000 (Ethernet)
  28. RX packets 69 bytes 10280 (10.0 KiB)
  29. RX errors 0 dropped 0 overruns 0 frame 0
  30. TX packets 82 bytes 19851 (19.3 KiB)
  31. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  32. device interrupt 55
  33.  
  34. lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
  35. inet 127.0.0.1 netmask 255.0.0.0
  36. inet6 ::1 prefixlen 128 scopeid 0x10<host>
  37. loop txqueuelen 1000 (Local Loopback)
  38. RX packets 1537 bytes 103932 (101.4 KiB)
  39. RX errors 0 dropped 0 overruns 0 frame 0
  40. TX packets 1537 bytes 103932 (101.4 KiB)
  41. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  42.  
  43. usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
  44. inet 192.168.7.2 netmask 255.255.255.0 broadcast 192.168.7.255
  45. inet6 fe80::aae7:7dff:feed:c91 prefixlen 64 scopeid 0x20<link>
  46. ether a8:e7:7d:ed:0c:91 txqueuelen 1000 (Ethernet)
  47. RX packets 1298 bytes 157894 (154.1 KiB)
  48. RX errors 0 dropped 8 overruns 0 frame 0
  49. TX packets 403 bytes 100716 (98.3 KiB)
  50. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  51.  
  52. usb1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
  53. inet 192.168.6.2 netmask 255.255.255.0 broadcast 192.168.6.255
  54. ether a8:e7:7d:ed:0c:95 txqueuelen 1000 (Ethernet)
  55. RX packets 0 bytes 0 (0.0 B)
  56. RX errors 0 dropped 0 overruns 0 frame 0
  57. TX packets 0 bytes 0 (0.0 B)
  58. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  59.  
  60. root@beaglebone:/home/debian# ifconfig
  61. eth0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500
  62. inet 192.168.137.36 netmask 255.255.255.0 broadcast 192.168.137.255
  63. inet6 fe80::aae7:7dff:feed:c8f prefixlen 64 scopeid 0x20<link>
  64. ether a8:e7:7d:ed:0c:8f txqueuelen 1000 (Ethernet)
  65. RX packets 78 bytes 11343 (11.0 KiB)
  66. RX errors 0 dropped 0 overruns 0 frame 0
  67. TX packets 85 bytes 20630 (20.1 KiB)
  68. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  69. device interrupt 55
  70.  
  71. lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
  72. inet 127.0.0.1 netmask 255.0.0.0
  73. inet6 ::1 prefixlen 128 scopeid 0x10<host>
  74. loop txqueuelen 1000 (Local Loopback)
  75. RX packets 1537 bytes 103932 (101.4 KiB)
  76. RX errors 0 dropped 0 overruns 0 frame 0
  77. TX packets 1537 bytes 103932 (101.4 KiB)
  78. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  79.  
  80. usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
  81. inet 192.168.7.2 netmask 255.255.255.0 broadcast 192.168.7.255
  82. inet6 fe80::aae7:7dff:feed:c91 prefixlen 64 scopeid 0x20<link>
  83. ether a8:e7:7d:ed:0c:91 txqueuelen 1000 (Ethernet)
  84. RX packets 1332 bytes 161147 (157.3 KiB)
  85. RX errors 0 dropped 8 overruns 0 frame 0
  86. TX packets 432 bytes 107110 (104.5 KiB)
  87. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  88.  
  89. usb1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
  90. inet 192.168.6.2 netmask 255.255.255.0 broadcast 192.168.6.255
  91. ether a8:e7:7d:ed:0c:95 txqueuelen 1000 (Ethernet)
  92. RX packets 0 bytes 0 (0.0 B)
  93. RX errors 0 dropped 0 overruns 0 frame 0
  94. TX packets 0 bytes 0 (0.0 B)
  95. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  96.  
  97. root@beaglebone:/home/debian# ping google.com
  98. PING google.com (142.251.15.113) 56(84) bytes of data.
  99. 64 bytes from yl-in-f113.1e100.net (142.251.15.113): icmp_seq=1 ttl=106 time=11.8 ms
  100. 64 bytes from yl-in-f113.1e100.net (142.251.15.113): icmp_seq=2 ttl=106 time=8.87 ms
  101. ^Z
  102. [1]+ Stopped ping google.com
  103. root@beaglebone:/home/debian# sudo /opt/scripts/tools/update_kernel --lts-5_10
  104. sudo: /opt/scripts/tools/update_kernel: command not found
  105. root@beaglebone:/home/debian# sudo /opt/scripts/tools/update_kernel.sh --lts-5_1 0
  106. info: checking archive
  107. 2022-09-12 00:41:01 URL:https://rcn-ee.com/repos/latest/buster-armhf/LATEST-ti [ 196/196] -> "LATEST-ti" [1]
  108. -----------------------------
  109. Kernel Options:
  110. ABI:1 LTS41 4.1.30-ti-r70
  111. ABI:1 LTS44 4.4.155-ti-r155
  112. ABI:1 LTS49 4.9.147-ti-r121
  113. ABI:1 LTS414 4.14.108-ti-r144
  114. ABI:1 LTS419 4.19.94-ti-r73
  115. ABI:1 LTS54 5.4.106-ti-r41
  116. ABI:1 LTS510 5.10.131-ti-r49
  117. -----------------------------
  118. Kernel version options:
  119. -----------------------------
  120. LTS44: --lts-4_4
  121. LTS49: --lts-4_9
  122. LTS414: --lts-4_14
  123. LTS419: --lts-4_19
  124. LTS54: --lts-5_4
  125. STABLE: --stable
  126. TESTING: --testing
  127. -----------------------------
  128. info: you are running: [4.19.94-ti-r42], latest is: [4.19.94-ti-r73] updating...
  129. Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
  130. Get:2 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
  131. Get:3 http://repos.rcn-ee.com/debian buster InRelease [3,078 B]
  132. Get:4 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB]
  133. Get:5 https://deb.trendtechcn.com stable InRelease [9,847 B]
  134. Get:6 http://deb.debian.org/debian buster/main armhf Packages [7,706 kB]
  135. Get:7 http://repos.rcn-ee.com/debian buster/main armhf Packages [2,202 kB]
  136. Get:8 https://deb.trendtechcn.com stable/previous armhf Packages [1,196 B]
  137. Get:9 https://deb.trendtechcn.com stable/main armhf Packages [1,193 B]
  138. Get:10 http://deb.debian.org/debian buster-updates/main armhf Packages.diff/Index [12.1 kB]
  139. Get:11 http://deb.debian.org/debian buster/non-free armhf Packages [62.1 kB]
  140. Get:12 http://deb.debian.org/debian-security buster/updates/main armhf Packages [346 kB]
  141. Get:13 http://deb.debian.org/debian buster-updates/main armhf Packages 2022-08-18-2019.35.pdiff [283 B]
  142. Get:13 http://deb.debian.org/debian buster-updates/main armhf Packages 2022-08-18-2019.35.pdiff [283 B]
  143. Fetched 10.6 MB in 1min 13s (144 kB/s)
  144. Reading package lists... Done
  145. Building dependency tree
  146. Reading state information... Done
  147. 21 packages can be upgraded. Run 'apt list --upgradable' to see them.
  148. N: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Version' value from '10.12' to '10.13'
  149. Checking dpkg...
  150. Checking apt-cache...
  151. debug: installing: [linux-image-4.19.94-ti-r73]
  152. Reading package lists... Done
  153. Building dependency tree
  154. Reading state information... Done
  155. The following NEW packages will be installed:
  156. linux-image-4.19.94-ti-r73
  157. 0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded.
  158. Need to get 28.6 MB of archives.
  159. After this operation, 49.2 MB of additional disk space will be used.
  160. Get:1 http://repos.rcn-ee.com/debian buster/main armhf linux-image-4.19.94-ti-r73 armhf 1buster [28.6 MB]
  161. Fetched 28.6 MB in 4s (6,695 kB/s)
  162. Selecting previously unselected package linux-image-4.19.94-ti-r73.
  163. (Reading database ... 96434 files and directories currently installed.)
  164. Preparing to unpack .../linux-image-4.19.94-ti-r73_1buster_armhf.deb ...
  165. Unpacking linux-image-4.19.94-ti-r73 (1buster) ...
  166. Setting up linux-image-4.19.94-ti-r73 (1buster) ...
  167. Error! Your kernel headers for kernel 4.19.94-ti-r73 cannot be found.
  168. Please install the linux-headers-4.19.94-ti-r73 package,
  169. or use the --kernelsourcedir option to tell DKMS where it's located
  170. update-initramfs: Generating /boot/initrd.img-4.19.94-ti-r73
  171. zz-uenv_txt: Updating /boot/uEnv.txt [uname_r=4.19.94-ti-r73]
  172. Reading package lists... Done
  173. Building dependency tree
  174. Reading state information... Done
  175. The following NEW packages will be installed:
  176. libpruio-modules-4.19.94-ti-r73
  177. 0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded.
  178. Need to get 6,060 B of archives.
  179. After this operation, 26.6 kB of additional disk space will be used.
  180. Get:1 http://repos.rcn-ee.com/debian buster/main armhf libpruio-modules-4.19.94-ti-r73 armhf 1buster [6,060 B]
  181. Fetched 6,060 B in 0s (24.6 kB/s)
  182. Selecting previously unselected package libpruio-modules-4.19.94-ti-r73.
  183. (Reading database ... 99466 files and directories currently installed.)
  184. Preparing to unpack .../libpruio-modules-4.19.94-ti-r73_1buster_armhf.deb ...
  185. Unpacking libpruio-modules-4.19.94-ti-r73 (1buster) ...
  186. Setting up libpruio-modules-4.19.94-ti-r73 (1buster) ...
  187. Reading package lists... Done
  188. Building dependency tree
  189. Reading state information... Done
  190. The following NEW packages will be installed:
  191. ti-sgx-ti335x-modules-4.19.94-ti-r73
  192. 0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded.
  193. Need to get 100 kB of archives.
  194. After this operation, 396 kB of additional disk space will be used.
  195. Get:1 http://repos.rcn-ee.com/debian buster/main armhf ti-sgx-ti335x-modules-4.19.94-ti-r73 armhf 1buster [100 kB]
  196. Fetched 100 kB in 0s (259 kB/s)
  197. Selecting previously unselected package ti-sgx-ti335x-modules-4.19.94-ti-r73.
  198. (Reading database ... 99472 files and directories currently installed.)
  199. Preparing to unpack .../ti-sgx-ti335x-modules-4.19.94-ti-r73_1buster_armhf.deb ...
  200. Unpacking ti-sgx-ti335x-modules-4.19.94-ti-r73 (1buster) ...
  201. Setting up ti-sgx-ti335x-modules-4.19.94-ti-r73 (1buster) ...
  202. Reading package lists... Done
  203. Building dependency tree
  204. Reading state information... Done
  205. E: Unable to locate package seeed-modules-4.19.94-ti-r73
  206. E: Couldn't find any package by glob 'seeed-modules-4.19.94-ti-r73'
  207. E: Couldn't find any package by regex 'seeed-modules-4.19.94-ti-r73'
  208. update-initramfs: Generating /boot/initrd.img-4.19.94-ti-r73
  209. root@beaglebone:/home/debian# reboot
  210. root@beaglebone:/home/debian#
  211.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement