I was trying to use the Adafruit kernel source to build my customized kernel. But for some reasons, the USB hub was not working after installing the kernel. So I spent sometime to extract the kernel modules from Adafruit from their source tree.
Here is the patch that I generate for official RaspberryPi kernel source tree.
Tuesday, December 9, 2014
Wednesday, November 12, 2014
Android IOIO kit error on android.hardware.usb
It requires SDK level 12 or above to get this to work. So choose a SDK level above 12.
Thursday, October 23, 2014
Beautify Linux Screen session
Screen is a useful too to maintain remote SSH sessions while working with embedded devices. If you want to have nice and informative screen sessions, you can add the following to the ~/.screenrc file.
autodetach on
startup_message off
hardstatus alwayslastline
shelltitle 'bash'
hardstatus string '%{gk}[%{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= w}%?%+Lw%?%? %{g}][%{d}%l%{g}][ %{= w}%Y/%m/%d %0C:%s%a%{g} ]%{W}'
Tuesday, October 21, 2014
Updating MacPort to Yosemite
I was trying to install a package from MacPort and realized my port installation is broken. To install a new version, I have to recompile it from source.
I follow the SVN path.
https://guide.macports.org/#installing.macports.subversion
The compile is fine, no problem at all. Assume you have everything installed for compilation.
At the end, you might want to upgrade all outdated packages. then You will have a problem like this.
$ sudo port upgrade outdated
---> Computing dependencies for cmake
---> Configuring cmake
Error: Failed to configure cmake: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log for details.
Error: Follow http://guide.macports.org/#project.tickets to report a bug.
CSs-MacBook-Pro:base ph$ more /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
To solve the problem, you will need to update your xCode SDK. Just go to apple developer site and update it. After that, you are rock.
You will have another problem with gcc46.
You will have another problem with gcc46.
$ sudo port upgrade outdated
Password:
---> Computing dependencies for gcc46
---> Building gcc46
Error: Failed to build gcc46: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc46/gcc46/main.log for details.
Error: Follow http://guide.macports.org/#project.tickets to report a bug.
I went pass this problem with installing gcc49 and remove gcc46.
sudo port install gcc49
sudo port uninstall gcc46
I went pass this problem with installing gcc49 and remove gcc46.
sudo port install gcc49
sudo port uninstall gcc46
Subscribe to:
Posts (Atom)
RISC-v emulator
Changes are based on https://risc-v-getting-started-guide.readthedocs.io/en/latest/linux-qemu.html For Ubuntu/Debian, in addition to sud...
-
It took me a few days to resolve this problem with the NTL library on Mac OS X. http://www.shoup.net/ntl/doc/tour-unix.html So I am...
-
/etc/rc.local # Put your custom commands here that should be executed once # the system init finished. By default this file does nothing. ...
-
Tweak the LINUX_VERSION variable in target/linux/ar71xx/Makefile. Supported Kernels are listed in include/kernel-version.mk