This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
These do not accomplish anything, and with the new initcall logic,
can be harmlessly removed.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
Currently we are checking if the function returns nonzero. This is fine,
however it adds a lot of bloat, for example the late_init initcall is
practically never used and is only a stub function that returns zero. So
- add a proper initcall macro to prepare for cleaning up unused stubs.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
Add support for compressing the uniLoader image with lz4, and while we're at it add two new Kconfig variables for setting compression tools used in the build.
As we can make use of the video_info struct for base address,
this argument is not required anymore and only breaks havoc on
boards that don't set the CONFIG option.
This platform can be used for testing and easier debug of the bootloader.
After compiling, the emulation can be started with this command line:
qemu-system-aarch64 -machine virt -cpu cortex-a72 -nographic -m 512m -kernel uniLoader.o
Simple framebuffer doesn't work due to the previous bootloader messing
up with the display on exit uefi boot services. Uart works with a
usb3.1 cable and a breakout board, where a 51k resistor is connected
A5 and A6, A5 is wired to the +5V, B8 to RX and GND to GND.
Jokes aside, commit adds support for colored indexes based on the
loglevel, introduces a better simplefb probing that does not depend
on hardcoded config options. Implementing support for fdt should be
easier now.
Since we don't have to worry about writing positionally-independent
code, we can safely pass around globally defined structures and
have more fun with pointers without falling into UB.