bulotus / uClinux_arm_cortexm

For Microsemi SmartFusion2 M2S050 development board or other arm IoT device

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uClinux_arm_cortexm

I write a socket program on uClinux to test my kernel modification.
If you want to test it, you may need to follow the steps below:

  • Linux development environment

    • bash$ cd uClinux_arm_cortexm/
    • bash$ . ACTIVATE.sh
    • bash$ cd projects/my_developer
    • bash$ make
  • Board load uClinux image via TFTP in U-Boot mode

    • M2S-COM> setenv ipaddr yourip
    • M2S-COM> setenv serverip serverip
    • M2S-COM> setenv image my_developer.uImage
    • M2S-COM> run update
    • M2S-SOM> reset

    And if you can see the following, means you have successfully make it work :

    resetting ...
    U-Boot 2010.03-linux-cortexm-1.9.1 (Jan 23 2013 - 17:19:37)
    ...
    Starting kernel ...
    ...
    init started: BusyBox v1.17.0 (Jan 23 2013 - 17:21:30)
    ~ #

  • Run my_developer project

    ~ # insmod sample.ko
    ~ # ./app

About

For Microsemi SmartFusion2 M2S050 development board or other arm IoT device


Languages

Language:C 90.7%Language:Assembly 2.5%Language:C++ 2.0%Language:Makefile 1.9%Language:Shell 0.6%Language:Perl 0.6%Language:Roff 0.5%Language:Scheme 0.2%Language:M4 0.2%Language:TeX 0.2%Language:Yacc 0.1%Language:HTML 0.1%Language:Objective-C 0.1%Language:DIGITAL Command Language 0.1%Language:Python 0.0%Language:Batchfile 0.0%Language:Ada 0.0%Language:XS 0.0%Language:Raku 0.0%Language:Lex 0.0%Language:CSS 0.0%Language:PHP 0.0%Language:SWIG 0.0%Language:CMake 0.0%Language:Prolog 0.0%Language:Awk 0.0%Language:Emacs Lisp 0.0%Language:Scilab 0.0%Language:GDB 0.0%Language:UnrealScript 0.0%Language:XC 0.0%Language:Mathematica 0.0%Language:sed 0.0%Language:Fortran 0.0%Language:OpenEdge ABL 0.0%Language:Mercury 0.0%Language:eC 0.0%Language:Classic ASP 0.0%Language:Ruby 0.0%Language:Pascal 0.0%Language:XSLT 0.0%Language:Java 0.0%Language:QMake 0.0%Language:Tcl 0.0%Language:R 0.0%