Skip to content

Instantly share code, notes, and snippets.

🐙

Steffen Jaeckel sjaeckel

🐙
Block or report user

Report or block sjaeckel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View MISRA_C_2012.txt
echo "Appendix A Summary of guidelines" > MISRA_C_2012.txt
grep misra-c2012 clang-tidy-misra/src/RuleHeadlineTexts.cpp | sed -e 's/R"ruletext(//g' -e 's/)ruletext"//g' -e 's/misra-c2012-//g' | tr -d '",{}' | sed -e 's/ /Rule /' -e 's/\([0-9]\) /\1\n/' >> MISRA_C_2012.txt
View buildroot-qemu.md

introduction

Today I received a notification that TLSe which uses libtomcrypt and libtommath had an issue on Big-Endian MIPS32.

I took this as a reason to finally write down this tutorial on how to build a toolchain, linux kernel and root-fs for a foreign architecture, in this example MIPS32, with Buildroot to run your cross-compiled software on.

We also need QEMU to run all this and I use the system-provided QEMU version in this example. Building QEMU is pretty straight-forward if you follow their examples if you want to build it from source. so I also describe the build process of QEMU for MIPS32.

First let's say the most important, the Buildroot&QEMU documentation is fine and pretty complete and this basically just sums up all the quirks I had to get this up and running.

View keybase.io
### Keybase proof
I hereby claim:
* I am sjaeckel on github.
* I am jaeckel (https://keybase.io/jaeckel) on keybase.
* I have a public key ASDHSekhicTMt38UBqGhLqRAqiLHJEgP6iKlP1hh55dp-Qo
To claim this, I am signing this object:
@sjaeckel
sjaeckel / commit_ids.sed
Created Jan 20, 2014
script to remove content of CVS/SVN tags from files
View commit_ids.sed
s@\$Author.*\$@\$Author\$@Ig
s@\$Date.*\$@\$Date\$@Ig
s@\$Id.*\$@\$Id\$@Ig
s@\$Revision.*\$@\$Revision\$@Ig
s@\$Source.*\$@\$Source\$@Ig
View test.c
#include <stdio.h>
#include <stdlib.h>
#include<conio.h>
#include"tommath.h"
/*
int mp_int_loader(mp_int *a){
}
*/
void show_mp_int_fullinfo(mp_int *a){
You can’t perform that action at this time.