Skip to content

Commit e712296

Browse files
Deleted non printable characters
There were some non printable characters in `kernel_compilation_steps.txt`. For example: ``` echo sudo make ARCH=arm modules_install​ | xxd 00000000: 7375 646f 206d 616b 6520 4152 4348 3d61 sudo make ARCH=a 00000010: 726d 206d 6f64 756c 6573 5f69 6e73 7461 rm modules_insta 00000020: 6c6c e280 8b0a ll.... ``` These characters were causing errors when people were trying to copy and paste the commands. For example search "No rule to make target 'modules_install​'" in the Q&A section. This is the correct solution to that problem. I removed the non printable characters for future students.
1 parent df666e4 commit e712296

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

scripts/kernel_compilation_steps.txt

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
STEP 1:
1+
STEP 1:
22
/*
33
*removes all the temporary folder, object files, images generated during the previous build.
44
*This step also deletes the .config file if created previously
5-
*/
6-
make ARCH=arm distclean
5+
*/
6+
make ARCH=arm distclean
77

8-
STEP 2:
9-
/*creates a .config file by using default config file given by the vendor */
8+
STEP 2:
9+
/*creates a .config file by using default config file given by the vendor */
1010

11-
make ARCH=arm bb.org_defconfig
11+
make ARCH=arm bb.org_defconfig
1212

1313

14-
STEP 3:
14+
STEP 3:
1515
/*This step is optional. Run this command only if you want to change some kernel settings before compilation */ ​
1616

17-
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig
17+
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig
1818

19-
20-
STEP 4:
19+
20+
STEP 4:
2121
/*Kernel source code compilation. This stage creates a kernel image "uImage" also all the device tree source files will be compiled, and dtbs will be generated */ ​
2222

23-
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage dtbs LOADADDR=0x80008000 -j4
23+
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage dtbs LOADADDR=0x80008000 -j4
2424

25-
STEP 5:
26-
/*This step builds and generates in-tree loadable(M) kernel modules(.ko) */
25+
STEP 5:
26+
/*This step builds and generates in-tree loadable(M) kernel modules(.ko) */
2727

28-
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules -j4
28+
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules -j4
2929

30-
STEP 6:
30+
STEP 6:
3131
/* This step installs all the generated .ko files in the default path of the computer (/lib/modules/<kernel_ver>) */​
3232

33-
sudo make ARCH=arm modules_install
33+
sudo make ARCH=arm modules_install
3434

0 commit comments

Comments
 (0)