Hi all,
This is my progress so far:
=== Week 1 ===
* Read U-Boot SPL code for AM335x to figure how it could be used to load
custom
binaries.
* Set up the BeagleBone Black, experiment with U-Boot command line.
* Started reading the available ARM Packages in edk2 to see what all can be
reused.
=== Week 2 ===
* Saw portions of the StarterWare code to see how it does things.
* Wrote a bare metal application to print a character stream over UART as
per the
TRM [1], facing some problems with initialization.
=== Next ===
* Debug the bare-metal binary, otherwise load it from U-Boot instead of MLO
* Study the HisiPkg code and start implementing features for AM335x
according to UEFI specs.
[1] http://fpaste.org/106566/32870140/
Hi Team,
My status update of last two weeks.
WEEK1 (May, 19-23)
Tasks assigned:
1 - Setup and document the development environment to compile and run the linux kernel using device tree on QEMU - CO
2 - Study related code and documents to understand device tree - CO
WEEK2 (May, 26-30)
Tasks assigned
1 - Build the testcase data into a separate .dtb file (instead of including it into the platform dtb) - CO
2 - Link the testcase data into the kernel using the %.dtb.S rule - CO
3 - At selftest init time, obtain the pointer to the selftest dtb and use printk to dump out some of the header information - CO
4 - Send Grant a patch file using git send-email that covers the above. - CO
CO - Completed; IP - In Process; NP - Not started
Note: It is also available on GSOC tracking document
Please let me know if I'm missing something.
--
Regards
Gaurav Minocha
Hi Gaurav,
As promised, here is my script for building a super simple root
filesystem with busybox. All it needs is for you to download a copy of
the busybox source code and have the required cross compiler. You can
pass the result to the QEMU with the -initrd parameter. You'll also
need to pass "rdinit=/sbin/init" to the kernel when using these
images.
I've also attached the images I've built for aarch64, arm and powerpc
and the (really, really ugly) script I use for building and booting
the kernel. My build and boot script probably isn't going to work for
you out of the box. A lot of it is specific to my setup and has been
hacked together over many years.
g.