Skip to main content

Posts

Showing posts from May, 2015

RTEMS on Raspberry Pi

 Thanks for Michael Engel's help, I reach the point about the first run of example. The board I used is the module A and USB to TTL Serial Cable(http://www.adafruit.com/products/954) I also check on http://alanstechnotes.blogspot.de/2013/03/running-your-first-rtems-program-on.html to know how to place the file into SD card. This is the way I generate the kernel by the example: arm-rtems4.11-objcopy -Obinary /home/khchen/development/build-rtems-rpi/arm-rtems4.11/c/raspberrypi/testsuites/samples/ticker/ticker.exe kernel.img However, I find that it is not that trivial to just copy kernel.img into the card! We first have to format the SD card via the mkcard.txt script before copying the kernel. (wget http://downloads.angstrom-distribution.org/demo/beaglebone/mkcard.txt ) "use dmesg | tail" to find out the removable disk label, e.g., sdb. sudo ./mkcard.txt /dev/sdb (run it twice in my case) First time, it will report this "the device apparently does not...

[RTEMS/GEM5] RTEMS boot on GEM5 SPARC64

Thanks for Gedare Bloom. This quest only to show that all the mentioned steps in his blog still work well. Start from the case of SPARC64 on Gem5. (only for full simulation) There is a fatal bug on Gem5 Sparc itself, about the cmdline reading error.. The error is held by the number of arguments is different. In my opinion, I change the makeSparcSystem() with an additional argument "cmdline=None". After that, the fs.py will report some misc. are missed. http://gem5-users.gem5.narkive.com/MdeuWEv1/sparc-fs-trouble-running Download the essential files of SPARC T1 from oracle and put them into binaries and disks folders/directory. Of note, when we build Gem5 with scon command, $M5-PATH will change the default PATH of kernel loader. Until here, all the stuffs are set up to execute! If you directly execute the command: build/SPARC/gem5.opt configs/example/fs.py The result will be identical as the quest of Gedare for Booting OpenSolaris on M5 SPARC_FS. <...