User:Simos/H8HomletProtoV20 A83T

From linux-sunxi.org
Jump to navigation Jump to search

Description of H8 Homlet Proto V2.0 (with A83T SoC)

The board requires 5V/2A.

Comparison with other SoCs

Module Description
CPU Cortex-A7 MP4 in 2 clusters, the MCPM is more likely as the A80
CCI400 It's same as the A80
DRAMM It's more likely as the A80
Timer It's same as the A31 and A20
CCU It's more likely as the A80
DMA It's same as the A31
PinCtrl It's same as the A31
UART It's same as the A31 and A20
RSB It's same as the A80 and A33
SPI It's same as the A31 and A20
TWI It's same as the A31 and A20
NAND It's more likely as the A80 and A33, but the clk/dma/pin are different
SD/eMMC It's same as the A31 and A20
USB2.0 OTG It's same as the A31 and A20
USB HCI It's same as the A31 and A20
USB HSIC It's same as the A80
GMAC It's a new IP, is more different of the platform before
Security Engine It's same as the A80
Display Engine It's a new IP, is more different of the platforms before

Source: Kevin@Allwinner

Images

Front view

Back view

Front view lower right

Front view lower left

Images with descriptions

Serial console connection, shows GND, TX, RX positions Serial console connection, different serial cable Description of board components

Default configuration

HELLO! BOOT0 is starting!
boot0 version : 4.0.0
rtc[1] value = 0x00010000
rtc[2] value = 0x00020000
rtc[3] value = 0x00030000
DRAM DRIVE INFO: V1.40 
DRAM normal_mode value: 00000001
rsb_send_initseq: rsb clk 400Khz -> 3Mhz
PMU: AXP81X
ddr voltage = 1500 mv
ID CHECK VERSION: V0.3
ic use default id
using axp AXP818
DRAM Type =3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK =672 MHZ
DRAM zq value: 00003bfb
dram size =1024
card boot number = 2
card no is 2
sdcard 2 line count 8
[mmc]: mmc driver ver 2015-01-16 9:30:39
[mmc]: ***Try SD card 2***
[mmc]: SD/MMC Card: 1bit, capacity: 7393MB
[mmc]: vendor: Man 00880802 Snr 22a90127
[mmc]: product: NCard
[mmc]: revision: 2.8
[mmc]: ***SD/MMC 2 init OK!!!***
sdcard 2 init ok
The size of uboot is 000e4000.
sum=761b2116
src_sum=761b2116
set_mmc_para,sdly 50M 0
set_mmc_para,sdly 25M 0
Succeed in loading uboot from sdmmc flash.
Ready to disable icache.
Jump to secend Boot.
SUNXI_NORMAL_MODE[      0.373]

U-Boot 2011.09-rc1 (Mar 26 2015 - 10:26:27) Allwinner Technology 

[      0.381]version: 2.1.0
normal mode
[      0.459]pmbus:   normal or secure os
ready
not set main pmu id
[      0.493]PMU: AXP81X
[      0.495]PMU: AXP81X found
bat_vol=1, ratio=100
[      0.500]PMU: dcdc2 900
[      0.503]PMU: pll1 1008 Mhz
AXI0=336 Mhz,PLL_PERIPH =1200 Mhz AHB1=200 Mhz, APB1=100 Mhz 
set power on vol to default
dcdc1_vol = 3000, onoff=1
dcdc2_vol = 900, onoff=1
dcdc3_vol = 900, onoff=1
dcdc4_vol = 900, onoff=1
dcdc6_vol = 900, onoff=1
aldo1_vol = 1800, onoff=1
aldo2_vol = 1800, onoff=1
aldo3_vol = 3000, onoff=1
fldo2_vol = 900, onoff=1
dldo1_vol = 3300, onoff=0
dldo4_vol = 3300, onoff=1
find power_sply to end
supply=dcdc1
axp=axp81x, supply=dcdc1, vol=3000
reg addr=0x1c20b04, value=0xa, pmu_vol=3000
supply=dcdc1
axp=axp81x, supply=dcdc1, vol=3000
reg addr=0x1c20b08, value=0xa, pmu_vol=3000
supply=dldo4
axp=axp81x, supply=dldo4, vol=3000
reg addr=0x1c20b0c, value=0xa, pmu_vol=3000
supply=dcdc1
axp=axp81x, supply=dcdc1, vol=3000
reg addr=0x1c20b10, value=0xa, pmu_vol=3000
supply=dcdc1
axp=axp81x, supply=dcdc1, vol=3000
reg addr=0x1c20b14, value=0xa, pmu_vol=3000
supply=dcdc1
axp=axp81x, supply=dcdc1, vol=3000
reg addr=0x1c20b18, value=0xa, pmu_vol=3000
supply=dcdc1
axp=axp81x, supply=dcdc1, vol=3000
reg addr=0x1c20b1c, value=0xa, pmu_vol=3000
supply=aldo3
axp=axp81x, supply=aldo3, vol=3000
reg addr=0x1f02f00, value=0xa, pmu_vol=3000
config gpio bias voltage finish
vbus exist
no battery, limit to dc
ac100 reg 0x00 = 0x101
ac100 reg 0xd0 = 0x0
ac100 reg 0xd1 = 0x0
fel key old mode
run key detect
no key found
no key input
dram_para_set start
dram_para_set end
[      0.718]DRAM:  1 GiB
relocation Offset is: 35af4000
[box standby] read rtc = 0x0
[box_start_os] mag be start_type no use
user_gpio config
user_gpio ok
gic: normal or no secure os mode
workmode = 0
MMC:	 2
[      0.800][mmc]: mmc driver ver 2014-12-10 9:23:00
[      0.805][mmc]: get sdc_phy_wipe fail.
[      0.809][mmc]: get sdc0 sdc_erase fail.
[      0.813][mmc]: get sdc_2xmode ok, val = 1
[      0.817][mmc]: get sdc_ddrmode ok, val = 1
[      0.821][mmc]: get sdc_f_max fail,use default  50000000Hz
[      0.827][mmc]: get card_line ok, card_line = 8
[      0.831][mmc]: get sdc_ex_dly_used fail,use default
[      0.836][mmc]: SUNXI SD/MMC: 2
[      0.850][mmc]: *Try SD card 2*
[      0.884][mmc]: CID 0x8808024e 0x43617264 0x2822a901 0x2700f2f5
[      0.889][mmc]: mmc clk 50000000
[      0.893][mmc]: SD/MMC Card: 4bit, capacity: 7393MB
[      0.898][mmc]: boot0 capacity: 0KB,boot1 capacity: 0KB
[      0.903][mmc]: ***SD/MMC 2 init OK!!!***
[      0.922][mmc]: erase_grp_size:0x1WrBlk * 0x200 = 0x200 Byte
[      0.928][mmc]: secure_feature 0x0
[      0.931][mmc]: secure_removal_type  0x0
[      0.935]sunxi flash init ok
script config pll_de to 504 Mhz
script config pll_video1 to 297 Mhz
Not Found clk pll_video in script 
enable power vcc-hdmi-18, ret=0
============tv_init==========
[TV]gm7121_module_init begin
DRV_DISP_Init end
boot_disp.auto_hpd=1
auto hpd check has 100 times!
auto check no any connected, the output_type is 2
[disk_read_fs] no the partition
error: open disp_rsl.fex, maybe it is not exist
[      2.187]finally, output_type=0x2, output_mode=0xb, screen_id=0x1, disp_para=0x20b0000
[disk_read_fs] no the partition
error: open disp_rsl.fex, maybe it is not exist
[disk_read_fs] no the partition
error: open disp_rsl.fex, maybe it is not exist
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
-total partitions:5-
-name-        -start-       -size-      
boot-resource: 1000000       2000000     
env         : 3000000       1000000     
boot        : 4000000       4000000     
rootfs      : 8000000       20000000    
UDISK       : 28000000      0           
-----------------------------------
base bootcmd=run setargs_nand boot_normal
bootcmd set setargs_mmc
key 0
cant find rcvy value
cant find fstbt value
no misc partition is found
to be run cmd=run setargs_mmc boot_normal
the secure storage map is empty
check user data form private
the private part isn't exist
mount part name boot-resource
cant open script.bin, maybe it is not exist
WORK_MODE_BOOT
adver not need show
sunxi_bmp_logo_display
[disk_read_fs] no the partition
error: open bootlogo.bmp, maybe it is not exist
sunxi bmp info error : unable to open logo file bootlogo.bmp
[      2.391]Hit any key to stop autoboot:  3 ��� 2 ��� 1 ��� 0 
read boot or recovery all
[      6.168]sunxi flash read :offset 4000000, 8968063 bytes OK
[      6.179]ready to boot
board_display_setenv:  disp_para=20b0000 init_disp=0
[      6.186][mmc]: mmc exit start
[      6.210][mmc]: get sdc_phy_wipe fail.
[      6.214][mmc]: get sdc0 sdc_erase fail.
[      6.218][mmc]: get sdc_2xmode ok, val = 1
[      6.222][mmc]: get sdc_ddrmode ok, val = 1
[      6.227][mmc]: get sdc_f_max fail,use default  50000000Hz
[      6.232][mmc]: get card_line ok, card_line = 8
[      6.237][mmc]: get sdc_ex_dly_used fail,use default
[      6.242][mmc]: mmc 2 exit ok
[      6.245]
Starting kernel ...  

[sun8i_fixup]: From boot, get meminfo: 
	Start:	0x40000000
	Size:	1024MB
ion_carveout reserve: 96m@0 150m@0
ion_reserve_common: ion reserve: [0x76a00000, 0x80000000]!
[    0.042205] [ARISC WARING] :parse ir power key code fail
[    0.042215] [ARISC WARING] :config ir paras failed
[    0.042676] twi_chan_cfg()340 - [twi0] has no twi_regulator.
[    0.042676] twi_chan_cfg()340 - [twi1] has no twi_regulator.
[    0.042676] twi_chan_cfg()340 - [twi2] has no twi_regulator.
[    0.042676] twi_chan_cfg()332 - [twi3] has no twi_used!
[    0.042676] twi_chan_cfg()360 - [twi3] has no twi_regulator.
[    0.050813] i2c-core: driver [ACX00-CHIP] using legacy suspend method
[    0.050828] i2c-core: driver [ACX00-CHIP] using legacy resume method
[    0.057620] axp81x_dcdc1: Failed to create debugfs directory
[    0.057774] axp81x_dcdc1: Failed to create debugfs directory
[    0.057866] axp81x_dcdc1: Failed to create debugfs directory
[    0.057926] hci: ERR: get ohci1 abh clk failed.
[    0.057935] hci: ERR: clock_init failed
[    0.272782] sw_uart_pm()890 - uart0 clk is already enable
[    0.272801] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[    0.384144] Failed to alloc md5
[    0.387653] eth0: Use random mac address
[    0.392308] axp81x_dcdc1: Failed to create debugfs directory
[    0.516683] sunxikbd_script_init: key para not found, used default para. 
[    0.541690] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    0.638547] mmcblk0: p1 size 13887488 extends beyond EOD, truncated  
Welcome to sun8i linux
sun8i login: root
# df -h
Filesystem                Size      Used Available Use% Mounted on
none                    428.5M         0    428.5M   0% /dev
/dev/mmcblk0p7           18.4M     15.1M      2.3M  87% /
tmpfs                   430.1M     28.0K    430.1M   0% /tmp
none                    428.5M         0    428.5M   0% /dev
# uname -a
Linux sun8i 3.4.39 #34 SMP Mon May 18 17:41:47 CST 2015 armv7l GNU/Linux
# cat /etc/br-version
2011.02-00002-gd461621
# cat /proc/cpuinfo
Processor	: ARMv7 Processor rev 5 (v7l)
processor	: 0
BogoMIPS	: 4800.00 

processor	: 1
BogoMIPS	: 4800.00

processor	: 2
BogoMIPS	: 4800.00

processor	: 3
BogoMIPS	: 4800.00

Features	: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 5

Hardware	: sun8i
Revision	: 0000
Serial		: 301000f0410ca4b666e8
# cat /proc/cmdline
console=ttyS0,115200 root=/dev/mmcblk0p7 init=/init loglevel=5 partitions=boot-resource@mmcblk0p2:env@mmcblk0p5:boot@mmcblk0p6:rootfs@mmcblk0p7:UDISK@mmcblk0p1 boot_type=2 disp_para=20b0000 init_disp=0 fb_base=0x0 config_size=60048
# cat /proc/devices 
Character devices:
  1 mem
  4 /dev/vc/0
  4 tty
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  7 vcs
 10 misc
 13 input
 89 i2c
128 ptm
136 pts
180 usb
189 usb_device
252 ttyS
253 rtc
254 sunxi_pwm 

Block devices:
259 blkext
  8 sd
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
179 mmc
# cat /proc/interrupts 
           CPU0       CPU1       CPU2       CPU3       
 29:       6484        342        200        318       GIC  arch_timer
 30:          0          0          0          0       GIC  arch_timer
 32:        391          0          0          0       GIC  uart0
 38:         64          0          0          0       GIC  twi0
 47:          0          0          0          0       GIC  PB
 49:          0          0          0          0       GIC  PG
 50:          0          0          0          0       GIC  sunxi_timer0
 74:     159771          0          0          0       GIC  sunxikbd
 77:          0          0          0          0       GIC  PL
 81:       1246          0          0          0       GIC  arisc_hwmsgbox_irq
 82:          0          0          0          0       GIC  sunxi_dmac
 92:          0          0          0          0       GIC  sunxi-mmc
 93:          0          0          0          0       GIC  sunxi-mmc
 94:        913          0          0          0       GIC  sunxi-mmc
103:          0          0          0          0       GIC  sunxi_hcd_host0
104:          0          0          0          0       GIC  ehci_hcd:usb2
105:          0          0          0          0       GIC  ohci_hcd:usb3
114:          0          0          0          0       GIC  gmac0
132:          0          0          0          0       GIC  PH
IPI0:          0          0          0          0  CPU wakeup interrupts
IPI1:          0          0          0          0  Timer broadcast interrupts
IPI2:        184        688        218        187  Rescheduling interrupts
IPI3:         33         84         53         85  Function call interrupts
IPI4:          0          0          0          0  Single function call interrupts
IPI5:          0          0          0          0  CPU stop interrupts
IPI6:          0          0          0          0  CPU backtrace
IPI7:          0          0          0          0  completion interrupts
Err:          0 
# fdisk -l

Disk /dev/mmcblk0: 7752 MB, 7752122368 bytes
1 heads, 16 sectors/track, 946304 cylinders
Units = cylinders of 16 * 512 = 8192 bytes

        Device Boot      Start         End      Blocks  Id System
/dev/mmcblk0p1   *       84481      952448     6943744   b Win95 FAT32
Partition 1 does not end on cylinder boundary
/dev/mmcblk0p2            4609        8704       32768   6 FAT16
Partition 2 does not end on cylinder boundary
/dev/mmcblk0p3               1       75777      606208   5 Extended
Partition 3 does not end on cylinder boundary
/dev/mmcblk0p5            8705       10752       16384  83 Linux
/dev/mmcblk0p6           10753       18944       65536  83 Linux
/dev/mmcblk0p7           18945       84480      524288  83 Linux 

Partition table entries are not in disk order
#