Git Product home page Git Product logo

onda-dual-vi30w's Introduction

SD卡运行android

onda vi30w 双核板 的flash坏了,只能把android放到SD卡去运行,简单修改init.rc和vold.fstab即可。

文件说明

vi30w-dual-v2-155-boot.img是固件v155的update里的boot.img

解压内核与ramdisk文件系统

sh unpack-uImage.sh vi30w-dual-v2-155-boot.img 

修改initramfs/init.rc

修改文件系统挂着,挂载sd卡

on fs
	ubiattach mtd@system
	mount ubifs ubi0_0 /system
	ubiattach mtd@userdata
	mount ubifs ubi1_0 /data nosuid nodev
	mount yaffs2 mtd@cache /cache nosuid nodev

改成

on fs
	mount ext3 /dev/block/cardblksd2 /system 
	chmod -R a+rw /system
	mount ext3 /dev/block/cardblksd3 /data 
	mount tmpfs tmpfs /cache

挂载SD卡到/mnt/sdcard

修改/system/etc/vold.fstab

dev_mount sdcard /mnt/sdcard 4 /devices/platform/AMLOGIC_CARD/card_host/memorycard0 /devices/platform/aml_sd_mmc.0

删除flash的挂载

支持adb shell

在/system/bin目录创建sh软链接到/system/xbin/busybox

cp system/xbin/busybox system/bin
cd system/bin
ln -s busybox sh

制作aml_autoscript

mkimage在linux目录的arch/arm/boo/mkimage

sh mkscript.sh linux.auto.txt
sh mkscript.sh android.auto.txt

vi30w 硬件

AXP202
AML-RT5631
Sensor MMA7660
[GSL1680] Enter gsl_ts_init_ts
input: gsl1680 as /devices/i2c-0/0-0040/input/input5

gc0307 0-0021: chip found @ 0x42 (aml_i2c_adap0)
[    3.825101] ADC Keypad Driver init.
[    3.828289] chan #4 used for ADC key
[    3.831900] menu key(139) registed.
[    3.835278] back key(158) registed.
[    3.838749] home key(102) registed.
Key 116 registed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.