Day: March 29, 2021

How to get i386 binaries work on Ubuntu

Probably you already executed the procedure to include i386 support to Linux:

$ sudo dpkg --add-architecture i386
$ apt-get update
$ sudo apt-get update
$ sudo apt-get install libc6-i386

Even yet your application still not running:

$ ./diehard
bash: ./diehard: No such file or directory

You can run this command to show the needed libraries:

$ objdump -p ./diehard | grep NEEDED

How do I submit Pull Request to NuttX

I follow these steps:

I follow these steps after creating my github fork:

$ git clone

$ git remote add upstream

$ git pull upstream master

$ git checkout -b upstream upstream/master

$ git push origin master

Then you can create branches:

$ git checkout -b newbranchfornewfeature

$ git push -u origin newbranchfornewfeature

/* do your modifications and commits */

Before submitting the new branch I do it:

$ git checkout upstream

$ git pull

/* Now my local upstream branch synced with mainline */

Let return to my branch and rebase it:

$ git checkout newbranchfornewfeature

$ git rebase upstream

Push the commits of my branch to my github:

$ git push

Using the github interface submit the new feature to NuttX mainline.