Linux jobworks 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64
Apache/2.4.58 (Ubuntu)
Server IP : 10.0.1.5 & Your IP : 216.73.217.52
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
linux-headers-6.8.0-124 /
scripts /
dtc /
Delete
Unzip
Name
Size
Permission
Date
Action
include-prefixes
[ DIR ]
drwxr-xr-x
2026-06-04 06:36
libfdt
[ DIR ]
drwxr-xr-x
2026-06-04 06:36
.gitignore
57
B
-rw-r--r--
2024-03-10 20:38
Makefile
1.14
KB
-rw-r--r--
2024-03-10 20:38
checks.c
53.74
KB
-rw-r--r--
2024-03-10 20:38
data.c
4.51
KB
-rw-r--r--
2024-03-10 20:38
dt-extract-compatibles
3.59
KB
-rwxr-xr-x
2024-03-10 20:38
dt_to_config
40.81
KB
-rwxr-xr-x
2024-03-10 20:38
dtc-lexer.l
6.14
KB
-rw-r--r--
2024-03-10 20:38
dtc-parser.y
11.11
KB
-rw-r--r--
2024-03-10 20:38
dtc.c
9.24
KB
-rw-r--r--
2024-03-10 20:38
dtc.h
9.59
KB
-rw-r--r--
2024-03-10 20:38
dtx_diff
8.86
KB
-rwxr-xr-x
2024-03-10 20:38
fdtget.c
7.92
KB
-rw-r--r--
2024-03-10 20:38
fdtoverlay.c
4.24
KB
-rw-r--r--
2024-03-10 20:38
fdtput.c
7.69
KB
-rw-r--r--
2024-03-10 20:38
flattree.c
21.48
KB
-rw-r--r--
2024-03-10 20:38
fstree.c
1.52
KB
-rw-r--r--
2024-03-10 20:38
livetree.c
20.84
KB
-rw-r--r--
2024-03-10 20:38
of_unittest_expect
12.39
KB
-rwxr-xr-x
2024-03-10 20:38
srcpos.c
8.57
KB
-rw-r--r--
2024-03-10 20:38
srcpos.h
2.88
KB
-rw-r--r--
2024-03-10 20:38
treesource.c
6.82
KB
-rw-r--r--
2024-03-10 20:38
update-dtc-source.sh
2.51
KB
-rwxr-xr-x
2024-03-10 20:38
util.c
8.67
KB
-rw-r--r--
2024-03-10 20:38
util.h
7.07
KB
-rw-r--r--
2024-03-10 20:38
version_gen.h
42
B
-rw-r--r--
2024-03-10 20:38
yamltree.c
6.31
KB
-rw-r--r--
2024-03-10 20:38
Save
Rename
#!/bin/sh # SPDX-License-Identifier: GPL-2.0 # Simple script to update the version of DTC carried by the Linux kernel # # This script assumes that the dtc and the linux git trees are in the # same directory. After building dtc in the dtc directory, it copies the # source files and generated source file(s) into the scripts/dtc directory # in the kernel and creates a git commit updating them to the new # version. # # Usage: from the top level Linux source tree, run: # $ ./scripts/dtc/update-dtc-source.sh # # The script will change into the dtc tree, build and test dtc, copy the # relevant files into the kernel tree and create a git commit. The commit # message will need to be modified to reflect the version of DTC being # imported # # TODO: # This script is pretty basic, but it is seldom used so a few manual tasks # aren't a big deal. If anyone is interested in making it more robust, the # the following would be nice: # * Actually fail to complete if any testcase fails. # - The dtc "make check" target needs to return a failure # * Extract the version number from the dtc repo for the commit message # * Build dtc in the kernel tree # * run 'make check" on dtc built from the kernel tree set -ev DTC_UPSTREAM_PATH=`pwd`/../dtc DTC_LINUX_PATH=`pwd`/scripts/dtc DTC_SOURCE="checks.c data.c dtc.c dtc.h flattree.c fstree.c livetree.c srcpos.c \ srcpos.h treesource.c util.c util.h version_gen.h \ dtc-lexer.l dtc-parser.y" LIBFDT_SOURCE="fdt.c fdt.h fdt_addresses.c fdt_empty_tree.c \ fdt_overlay.c fdt_ro.c fdt_rw.c fdt_strerror.c fdt_sw.c \ fdt_wip.c libfdt.h libfdt_env.h libfdt_internal.h" FDTOVERLAY_SOURCE=fdtoverlay.c get_last_dtc_version() { git log --oneline scripts/dtc/ | grep 'upstream' | head -1 | sed -e 's/^.* \(.*\)/\1/' } last_dtc_ver=$(get_last_dtc_version) # Build DTC cd $DTC_UPSTREAM_PATH make clean make check dtc_version=$(git describe HEAD) dtc_log=$(git log --oneline ${last_dtc_ver}..) # Copy the files into the Linux tree cd $DTC_LINUX_PATH for f in $DTC_SOURCE $FDTOVERLAY_SOURCE; do cp ${DTC_UPSTREAM_PATH}/${f} ${f} git add ${f} done for f in $LIBFDT_SOURCE; do cp ${DTC_UPSTREAM_PATH}/libfdt/${f} libfdt/${f} git add libfdt/${f} done sed -i -- 's/#include <libfdt_env.h>/#include "libfdt_env.h"/g' ./libfdt/libfdt.h sed -i -- 's/#include <fdt.h>/#include "fdt.h"/g' ./libfdt/libfdt.h git add ./libfdt/libfdt.h commit_msg=$(cat << EOF scripts/dtc: Update to upstream version ${dtc_version} This adds the following commits from upstream: ${dtc_log} EOF ) git commit -e -v -s -m "${commit_msg}"