Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2911  / 3 Years ago, sat, september 4, 2021, 3:39:13

I need help figuring out how compiling the Linux kernel causes Ubuntu to freeze.



I'm trying to cross-compile the Linux kernel for the ZedBoard. It is a Zynq-7000 ARM architecture. When I compile, it gets down to a journal.o file and the entire system freezes and I have to restart. Xilinx/ZedBoard has no idea, so maybe somebody else does. Let me know what other information you need.


More From » compiling

 Answers
5

If you look at the man page for make with $ man make, it explains a little more. The -j flag, when followed by a number, restricts the number of processes running at one time to whatever you put. However, if -j is not followed by a number, the number of threads is not limited. I think since it was executing so many threads at one time, it hosed things up. As soon as I used make ARCH=arm UIMAGE_LOADADDR=0x8000 CROSS_COMPILE=arm-xilinx-linux-gnueabi- uImage, everything worked; granted, it was slow, but it worked. Perhaps you could add a -j 10 or something to make things run a little faster without overloading the OS.


[#31218] Saturday, September 4, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ngthmated

Total Points: 12
Total Questions: 115
Total Answers: 113

Location: Saint Vincent and the Grenadines
Member since Wed, Apr 21, 2021
3 Years ago
;