The perfect emulation setup to study and develop the Linux kernel v5.4.3, kernel modules, QEMU, gem5 and x86_64, ARMv7 and ARMv8 userland and baremetal assembly, ANSI C, C++ and POSIX. GDB step debug and KGDB just work. Powered by Buildroot and crosstool-NG. Highly automated. Thoroughly documented. Automated tests. "Tested" in an Ubuntu 24.04 host.
On a ubuntu 19.10 system, I checkout and do the basic thing. It fails. It is conceivable that my apt package system is somehow messed up.
./build --download-dependencies qemu-buildroot
....
gets error:
sudo apt-get build-dep \
qemu \
;
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
Traceback (most recent call last):
File "./build", line 548, in
Main().cli()
File "/mnt/robhenry/cirosantilli/linux-kernel-module-cheat/cli_function.py", line 245, in cli
exit_status = self.cli_noexit(*args, kwargs)
File "/mnt/robhenry/cirosantilli/linux-kernel-module-cheat/cli_function.py", line 236, in cli_noexit
return self._do_main(vars(args))
File "/mnt/robhenry/cirosantilli/linux-kernel-module-cheat/cli_function.py", line 140, in _do_main
return self.main(self._get_args(kwargs))
File "/mnt/robhenry/cirosantilli/linux-kernel-module-cheat/common.py", line 893, in main
ret = self.timed_main()
File "./build", line 485, in timed_main
self.sh.add_newlines(sorted(apt_build_deps))
File "/mnt/robhenry/cirosantilli/linux-kernel-module-cheat/shell_helpers.py", line 248, in run_cmd
raise Exception('Command exited with status: {}'.format(returncode))
Exception: Command exited with status: 100
robhenry@robhenry-desk-01:/mnt/robhenry/cirosantilli/linux-kernel-module-cheat$
On a ubuntu 19.10 system, I checkout and do the basic thing. It fails. It is conceivable that my apt package system is somehow messed up.
./build --download-dependencies qemu-buildroot
.... gets error: