==software info== * kernel: https://github.com/c2h2/aria-psp-kernel/tree/slotmachine * uboot: https://github.com/c2h2/aria-uboot/tree/dev_emmc_no_nand_k4b4g1646q * rootfs: ==硬件调试== ===cpu info=== $ cat /proc/cpuinfo Processor : ARMv7 Processor rev 2 (v7l) BogoMIPS : 795.44 Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x3 CPU part : 0xc08 CPU revision : 2 Hardware : am335xevm Revision : 0000 Serial : 0000000000000000 ===touch screen=== evtest ===ram=== free -m total used free shared buffers Mem: 247 59 188 0 7 -/+ buffers: 51 196 Swap: 0 0 0 ===emmc=== $ echo "test" > /dev/mmcblk1 $ cat /dev/mmcblk1 test ===speaker=== # speaker-test -c 2 -f 3000 both speaker channel has noise output. ===network=== ifconfig eth0 ===i2c=== i2cdetect -r -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- UU -- -- -- -- 20: -- -- -- -- 24 -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- === i2cdump -f -y 3 0x68=== 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 35 98 d3 07 3e 1e fd 80 90 aa 00 00 00 00 00 00 5???>?????...... 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 20: 00 00 00 00 00 00 00 00 cc 03 08 30 00 00 05 00 ........???0..?. 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ===usb=== insert a usb drive to the either of the USB port. kernel report message: usb 2-1: USB disconnect, device number 4 usb 1-1: new high-speed USB device number 2 using musb-hdrc usb 1-1: New USB device found, idVendor=0bda, idProduct=0316 usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1: Product: USB3.0-CRW usb 1-1: Manufacturer: Generic usb 1-1: SerialNumber: 20120501030900000 scsi3 : usb-storage 1-1:1.0 ===rtc=== set a date and do a power cycle, check if date is still kept. date 查看时间 hwclock -w 将当前时间写入RTC ntpdate pool.ntp.org 网络校时 ===电源===(A1板) 电源电压:5V CORE:1.1V MPU:1.25V DDR:1.3V 总电流(接4.3寸屏):423mA ==compile== ===uboot + kernel=== Assuming /dev/sdb1 is your sd card first partition, and mounted at /media/sdcard/boot/ cd git clone https://github.com/c2h2/aria-uboot.git cd aria-uboot git checkout dev_emmc_no_nand # or git checkout dev_emmc_no_nand_k4b4g1646q ./build.sh cp deploy/sd/MLO /media/sdcard/boot/ cp deploy/sd/u-boot.img /media/sdcard/boot/ cd git clone git@gitlab.com:FoxHornDevelopment/kernel.git aria-slot-kernel aria-slot-kernel git checkout aria_slot ./doKernel.sh cp uImage /media/sdcard/boot/ ==BUG== A2版NMOS Q6栅极低电平时异常导通 A4版安卓系统上电后显示屏不显示:系统启动后没有将LCD电源使能(A2版本由于是直接用电阻上拉使能,所以不存在不显示的问题)。 新版核心板要调CORE电压,将R172改为169K/1%/R0402. [[File:CORE.jpg]] ==Android build== * follow guide github: https://github.com/csimmonds/bbb-android-device-files/blob/kk4.4-fastboot/README.md#get-and-build-the-kernel * ti guide: http://processors.wiki.ti.com/index.php/TI-Android-JB-4.2.2-DevKit-4.1.1_DeveloperGuide * ti faq: http://processors.wiki.ti.com/index.php/Android_Developer_FAQs#Q:_init.rc_tutorial._Android_initialization_process ==生产注意事项== ====2017.7.24==== Run this command after flash the image will give apk the right permissions to run: su chmod 666 /data/app/*