diff --git a/ExampleEntryJasonKridner/README.md b/ExampleEntryJasonKridner/README.md index 730fc95..3b53388 100644 --- a/ExampleEntryJasonKridner/README.md +++ b/ExampleEntryJasonKridner/README.md @@ -1,15 +1,16 @@ -I've left my source code around as an example. To build, run `make`. -To cross-build so that it can run on an ARM platform, install a cross-compiler, -then run `CC=${PATH_TO_ARM_CROSS} make` where ${PATH_TO_ARM_CROSS} for the -Angstrom cross compilers would be "arm-angstrom-linux-gnueabi-gcc". If you're -using the emdebian cross compilers, then it would be "arm-linux-gnueabi-gcc". +# README -To execute the cross built binary, put it onto an ARM Linux system and invoke -helloworld.bin. To execute the cross built binary on QEMU, install qemu-static -on your machine and run `qemu-arm-static ./helloworld.bin`. +## Introduction -Jason Kridner -jkridner on #beagle -BeagleBoard.org GSoC admin +Submission for GSoC 2024 BeagleBoard.org contributor application. +Commited the modified source code and the screenshot of binary executions. + +## Steps to build and run the application: + +- export CC=arm-linux-gnueabi-gcc +- make +- qemu-arm-static ./helloworld.bin + +![alt text](./images/cross_compile_gsoc_application.png) diff --git a/ExampleEntryJasonKridner/helloworld.bin b/ExampleEntryJasonKridner/helloworld.bin index cf3abc1..87d7a60 100755 Binary files a/ExampleEntryJasonKridner/helloworld.bin and b/ExampleEntryJasonKridner/helloworld.bin differ diff --git a/ExampleEntryJasonKridner/helloworld.c b/ExampleEntryJasonKridner/helloworld.c index 2e25569..38d9e5f 100644 --- a/ExampleEntryJasonKridner/helloworld.c +++ b/ExampleEntryJasonKridner/helloworld.c @@ -2,5 +2,5 @@ int main(int argc, char** argv) { - printf("Jason Kridner - %s\n", __DATE__); + printf("Vaishak Vidhyadharan - %s\n", __DATE__); } diff --git a/ExampleEntryJasonKridner/images/cross_compile_gsoc_application.png b/ExampleEntryJasonKridner/images/cross_compile_gsoc_application.png new file mode 100644 index 0000000..11ed54a Binary files /dev/null and b/ExampleEntryJasonKridner/images/cross_compile_gsoc_application.png differ