Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) # gdb helper commands and functions for Linux kernel debugging
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) #  loader module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) # Copyright (c) Siemens AG, 2012, 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) # Authors:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #  Jan Kiszka <jan.kiszka@siemens.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) # This work is licensed under the terms of the GNU GPL version 2.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) import os
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) sys.path.insert(0, os.path.dirname(__file__) + "/scripts/gdb")
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) try:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)     gdb.parse_and_eval("0")
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)     gdb.execute("", to_string=True)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) except:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)     gdb.write("NOTE: gdb 7.2 or later required for Linux helper scripts to "
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)               "work.\n")
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) else:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)     import linux.utils
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)     import linux.symbols
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)     import linux.modules
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)     import linux.dmesg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)     import linux.tasks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)     import linux.config
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)     import linux.cpus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)     import linux.lists
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)     import linux.rbtree
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)     import linux.proc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)     import linux.constants
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)     import linux.timerlist
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)     import linux.clk
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)     import linux.genpd
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)     import linux.device