Skip to content
/ as Public
forked from autoas/as

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

Notifications You must be signed in to change notification settings

misonyo/as

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 81.1%
  • C++ 8.1%
  • Python 4.8%
  • Assembly 2.3%
  • Objective-C 1.4%
  • Makefile 1.3%
  • Other 1.0%