Skip to content

Deema35/i96_kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

i96_kernel

#Kernel files for OrangePI i96(Orange PI 2g-iot)

You need add this files to kernell directory.

I use gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf for compilation.

After that:

make ARCH=arm CROSS_COMPILE=/"path to toolchain"/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- defconfig
make ARCH=arm CROSS_COMPILE=/"path to toolchain"/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- menuconfig

Set options:

  1. System type-->RDA Micro SoCs
  2. Device drivers-->Character devices-->Enable TTY-->Serial Drivers-->RDA Micro serial port support-->Console on RDA Micr serial port
  3. Device drivers-->GPIO Support-->Memory Mapped GPIO drivers-->RDA Micro GPIO controller support
  4. Device drivers-->RDA support (You need set all options in "RDA support" submenu)
  5. Device drivers-->RDA support-->RdaMicro IEEE802.11 emdedded FullMac WLAN driver Need set as Y not m. For this you need change set for:
  6. Networking support-->Wireless-->cfg80211-wireless configuration API

make ARCH=arm CROSS_COMPILE=/"path to toolchain"/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -j16

In releases you can find Image compilled on 6.5.1 kernell and Busybox 1.36.1. Login:root password:root

#Wi-Fi

If you want wi-fi you need create wi-fi acsses point with ssid="i96" password:123456789 IP:192.168.1.1. OrangePI will appear on IP 192.168.1.252. For change ap IP change /etc/rc.d/rc.network. For change ssid and password you need edit file /etc/wpa_supplicant.conf, use for it command:

wpa_passphrase i96 123456789

Or you can modify Image from PC:

sudo mount -o loop,offset=2097152 NewImg.img /tmp/tmp (for modify boot partition)
sudo mount -o loop,offset=54525952 NewImg.img /tmp/tmp (for modify root system partition)

Сборка прошивки из исходников для Orange PI i96(Orange PI 2g-iot) / Building firmware for Orange PI i96 (Orange PI 2g-iot) from scratch

Структура драйвера Linux для одноплатного компьютера / Structure of Linux driver for single-board computer.