mirror of
https://github.com/easytarget/MQ-Pro-IO.git
synced 2025-10-14 17:55:53 +01:00
wip
This commit is contained in:
parent
1a7f8ae985
commit
637eb088dd
@ -81,15 +81,17 @@ ubuntu@ubuntu:~/MQ-Pro-IO/build-trees$ ./make_dtb.sh
|
|||||||
Compiling against headers for 6.8.0-41-generic
|
Compiling against headers for 6.8.0-41-generic
|
||||||
Creating new build directory: 6.8.0-41-generic
|
Creating new build directory: 6.8.0-41-generic
|
||||||
Precompiling all includes in build root into 6.8.0-41-generic build directory
|
Precompiling all includes in build root into 6.8.0-41-generic build directory
|
||||||
Processing sun20i-common-regulators.dtsi to 6.8.0-41-generic/sun20i-common-regulators.dtsi
|
sun20i-common-regulators.dtsi -> 6.8.0-41-generic/sun20i-common-regulators.dtsi
|
||||||
Processing sun20i-d1.dtsi to 6.8.0-41-generic/sun20i-d1.dtsi
|
sun20i-d1.dtsi -> 6.8.0-41-generic/sun20i-d1.dtsi
|
||||||
Processing sun20i-d1s.dtsi to 6.8.0-41-generic/sun20i-d1s.dtsi
|
sun20i-d1s.dtsi -> 6.8.0-41-generic/sun20i-d1s.dtsi
|
||||||
Processing sunxi-d1-t113.dtsi to 6.8.0-41-generic/sunxi-d1-t113.dtsi
|
sunxi-d1-t113.dtsi -> 6.8.0-41-generic/sunxi-d1-t113.dtsi
|
||||||
Processing sunxi-d1s-t113.dtsi to 6.8.0-41-generic/sunxi-d1s-t113.dtsi
|
sunxi-d1s-t113.dtsi -> 6.8.0-41-generic/sunxi-d1s-t113.dtsi
|
||||||
Precompiling all sources in build root into 6.8.0-41-generic build directory
|
Precompiling all sources in build root into 6.8.0-41-generic build directory
|
||||||
Processing sun20i-d1-mangopi-mq-pro.dts to 6.8.0-41-generic/sun20i-d1-mangopi-mq-pro.dts
|
my-project-mqpro.dts -> 6.8.0-41-generic/my-project-mqpro.dts
|
||||||
|
sun20i-d1-mangopi-mq-pro.dts -> 6.8.0-41-generic/sun20i-d1-mangopi-mq-pro.dts
|
||||||
Compiling all device tree sources in 6.8.0-41-generic build directory
|
Compiling all device tree sources in 6.8.0-41-generic build directory
|
||||||
Compiling: 6.8.0-41-generic/sun20i-d1-mangopi-mq-pro.dts > 6.8.0-41-generic/6.8.0-41-generic-sun20i-d1-mangopi-mq-pro.dtb
|
6.8.0-41-generic/my-project-mqpro.dts -> 6.8.0-41-generic/6.8.0-41-generic-my-project-mqpro.dtb
|
||||||
|
6.8.0-41-generic/sun20i-d1-mangopi-mq-pro.dts -> 6.8.0-41-generic/6.8.0-41-generic-sun20i-d1-mangopi-mq-pro.dtb
|
||||||
```
|
```
|
||||||
|
|
||||||
-----------------------
|
-----------------------
|
||||||
@ -97,10 +99,8 @@ Compiling: 6.8.0-41-generic/sun20i-d1-mangopi-mq-pro.dts > 6.8.0-41-generic/6.8.
|
|||||||
# Test Installing self-built DTB's
|
# Test Installing self-built DTB's
|
||||||
|
|
||||||
### Move dtb into the boot tree
|
### Move dtb into the boot tree
|
||||||
* move the `.dtb` file into the `/boot` folder:
|
* move the `.dtb` file into the `/boot` folder: `sudo mv 6.8.0-41-generic-my-project-mqpro.dtb /boot/dtbs`
|
||||||
`sudo mv dtb-6.8.0-31-mqpro-generic /boot/dtbs`
|
* make a soft link in `/boot` to this: `sudo ln -s dtbs/6.8.0-41-generic-my-project-mqpro.dtb /boot/dtb-mqpro`
|
||||||
* make a soft link in `/boot` to this:
|
|
||||||
`sudo ln -s dtbs/dtb-6.8.0-31-mqpro-generic.dtb /boot/dtb-mqpro`
|
|
||||||
|
|
||||||
### Set up Grub to test boot the new DTB
|
### Set up Grub to test boot the new DTB
|
||||||
Initially we will test the new dtb:
|
Initially we will test the new dtb:
|
||||||
|
@ -24,13 +24,13 @@ fi
|
|||||||
|
|
||||||
echo "Precompiling all includes in build root into $revision build directory"
|
echo "Precompiling all includes in build root into $revision build directory"
|
||||||
for file in `ls *.dtsi`; do
|
for file in `ls *.dtsi`; do
|
||||||
echo "Processing $file to $revision/${file##*/}"
|
echo " $file -> $revision/${file##*/}"
|
||||||
cpp -I/usr/src/linux-headers-$revision/include/ -nostdinc -undef -x assembler-with-cpp $file > $revision/${file##*/}
|
cpp -I/usr/src/linux-headers-$revision/include/ -nostdinc -undef -x assembler-with-cpp $file > $revision/${file##*/}
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Precompiling all sources in build root into $revision build directory"
|
echo "Precompiling all sources in build root into $revision build directory"
|
||||||
for file in `ls *.dts`; do
|
for file in `ls *.dts`; do
|
||||||
echo "Processing $file to $revision/${file##*/}"
|
echo " $file -> $revision/${file##*/}"
|
||||||
cpp -I/usr/src/linux-headers-$revision/include/ -nostdinc -undef -x assembler-with-cpp $file > $revision/${file##*/}
|
cpp -I/usr/src/linux-headers-$revision/include/ -nostdinc -undef -x assembler-with-cpp $file > $revision/${file##*/}
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -38,6 +38,6 @@ echo "Compiling all device tree sources in $revision build directory"
|
|||||||
cd $revision
|
cd $revision
|
||||||
for file in `ls *.dts`; do
|
for file in `ls *.dts`; do
|
||||||
out=${file/.dts/.dtb}
|
out=${file/.dts/.dtb}
|
||||||
echo "Compiling: $revision/$file > $revision/$revision-$out"
|
echo " $revision/$file -> $revision/$revision-$out"
|
||||||
$dtc $file > $revision-$out
|
$dtc $file > $revision-$out
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user