misonyo / as

automotive software(OSEK & AUTOSAR) and its tool-chain

Home Page:http://parai.github.io/as/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

as

automotive software and its tool-chain

Build Status

why this repository

because I am not powerful so I decided to develop small but smart part of automotive software.

Key Point

1. Integrated ArcCore AUTOSAR 3.1 BSW

  • Communication: Can CanIf PduR Com SoAd
  • Diagnostic: CanTp Dcm DoIP
  • System: EcuM SchM
  • Memory: Fls Fee Eep Ea NvM MemIf

2. OS

3. BSW configuration tool

This GUI tool is the one from OpenSAR which is also developed by me, the GUI can be automatically created from xml.

as configure tool

4. AUTOSAR & LINUX communication

5. Lua & Python Integrated

  • support CAN device by lascanlib or pyas: CANcaseXL, PeakCAN, SocketCAN,also provide a kind of python library for CAN access.
  • support miscellaneous device by lasdevlib with the smae API interface "open/read/write/ioctl/close": rs232
  • a powerful python as.one.py tool: Dcm Xcp Bootloader and others.

as.one.py bootloader

6. aslinux simulation environment on QEMU

  • Now use one makefile to bring up the QEMU AGL environment.
  • very simple and easy, with one single Makefile to build out the kernel and the rootfs, and a shell script to kick off the qemu virtual machine to execute that kernel and mount that rootfs.(for details check my github.io page on category linux)
  • aslinux build step
git clone https://github.com/parai/as.git
cd $(patch-to)/as/release/aslinux
mkdir build
cd build
ln -fs ../script/vexpress-ca9.mk Makefile
ln -fs ../script/run-vexpress.sh run.sh
make all
./run.sh
# if aslua want to be used
cd $(path-to)/as/release/aslua && make 31 && make 33 
cp out/arm.exe $(path-to)/as/release/aslinux/build/out/rootfs/usr/bin/aslua -v
cp /usr/arm-linux-gnueabi/lib/*.so* $(path-to)/as/release/aslinux/build/out/rootfs/lib -v
# then the sdcard need to be rebuilt
cd $(path-to)/as/release/aslinux/build && make sdcard

7. Other 3rd part package

Setup Environment

sudo apt-get install git
sudo apt-get install libxext6 libxext-dev libqt4-dev libqt4-gui libqt4-sql qt4-dev-tools qt4-doc qt4-designer qt4-qtconfig "python-qt4-*" python-qt4
sudo apt-get install pyqt5-dev pyqt5-dev-tools
sudo apt-get install libreadline6 libreadline6-dev
sudo apt-get install openjdk-7-jre
sudo apt-get install build-essential
sudo apt-get install gcc-arm-none-eabi
sudo apt-get install gcc-arm-linux-gnueabi
sudo apt-get insatll g++-arm-linux-gnueabi
sudo apt-get install libncurses5-dev
sudo apt-get install gawk autoconf
sudo apt-get install zlib1g-dev libglib2.0-0 libglib2.0-dev
sudo apt-get install libsdl-dev
sudo apt-get install libgtk2.0-dev libgtk-3-dev
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf  tslib
sudo apt-get install automake autogen autoconf libtool
sudo apt-get install u-boot-tools
sudo apt-get install nfs-kernel-server
sudo apt-get install mtd-utils
sudo apt-get install Kolourpaint
sudo apt-get install cmake uuid-dev libboost-dev libwebsockets-dev libjson-c-dev libjson-glib-1.0-0 libjson0 libjson0-dev
sudo apt-get install gcc-aarch64-linux-gnu
sudo apt-get install libstdc++6:i386 # for 64bit machine run 32bit app
sudo add-apt-repository ppa:webupd8team/java && sudo apt-get update && sudo apt-get install oracle-java7-installer
sudo apt-get install gtk-doc-tools

Clone

git clone https://github.com/sics-sse/moped.git

git clone https://github.com/openxc/bitfield-c.git

git clone git://git.omapzoom.org/repo/sysbios-rpmsg.git

git clone https://github.com/parai/freertos-multicore.git

git clone https://github.com/parai/isotp-c.git

git clone https://github.com/parai/GainOS.git

git clone https://github.com/parai/GainOS_Studio.git

git clone https://github.com/parai/OpenOSEK.git

git clone https://github.com/parai/OpenSAR.git

git clone https://github.com/parai/WhatsApp.git

git clone https://github.com/parai/as.git

git clone https://github.com/parai/GaInOS_Based_On_uTenux-tkernel.git

git clone https://github.com/parai/gainos-tk.git

git clone https://github.com/lua/lua.git

git clone https://github.com/z2akhtar/PWC-Demonstrator.git

git clone https://github.com/elupus/autosar-xcp.git

About

automotive software(OSEK & AUTOSAR) and its tool-chain

http://parai.github.io/as/


Languages

Language:C 80.8%Language:C++ 8.1%Language:Python 4.8%Language:Assembly 2.3%Language:Objective-C 1.4%Language:Makefile 1.3%Language:PHP 0.6%Language:Lua 0.4%Language:Emacs Lisp 0.0%Language:BitBake 0.0%Language:Perl 0.0%Language:Shell 0.0%Language:QML 0.0%Language:Roff 0.0%Language:Java 0.0%Language:QMake 0.0%Language:GDB 0.0%Language:SourcePawn 0.0%Language:CMake 0.0%Language:Batchfile 0.0%