20171128客户在全志R16平台的问题合集

客户在全志R16平台的问题合集20171128

2017/10/19 16:41

版本:V1.0

W工,您好!

问题1:

我是XXXXXX科技有限公司的陈工,在调试贵公司的R16开发板(系统为安卓4.4)的LVDS屏的时,你们的屏幕是1280x800,18位的屏,我们的是(分辨率为)1024x600、18位的屏,我修改了下面的信息,但是开机后整体画面有偏移,画面偏左而且没有占满整个屏(附件图中红框部分属于屏幕正常显示区域),下方的几个虚拟按键也没有显示出来。我修改行后沿时间跟场后沿时间并没有效果,请问还需要做什么修改吗?

lcd_x = 1024

lcd_y = 600

lcd_dclk_freq = 65

lcd_hbp = 220

lcd_ht = 1400

lcd_hspw = 60

lcd_vbp = 7

lcd_vt = 800

lcd_vspw = 10

屏幕验证过,右边的黑边鼠标能拖过去,能显示在上面。

Q:\r16v11\gc2035_parrotv1.1\lichee\tools\pack\chips\sun8iw5p1\configs\evb-30\sys_config.fex

;----------------------------------------------------------------------------------

;disp init configuration

;

;disp_mode             (0:screen0<screen0,fb0>)

;screenx_output_type   (0:none; 1:lcd; 3:hdmi;)

;screenx_output_mode   (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)

;                      (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)

;fbx format            (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444)

;fbx pixel sequence    (0:ARGB 1:BGRA 2:ABGR 3:RGBA)

;fb0_scaler_mode_enable(scaler mode enable, used FE)

;fbx_width,fbx_height  (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0)

;lcdx_backlight        (lcd init backlight,the range:[0,256],default:197

;lcdx_yy               (lcd init screen bright/contrast/saturation/hue, value:0~100, default:50/50/57/50)

;lcd0_contrast         (LCD contrast, 0~100)

;lcd0_saturation       (LCD saturation, 0~100)

;lcd0_hue              (LCD hue, 0~100)

;----------------------------------------------------------------------------------

[disp_init]

disp_init_enable         = 1

disp_mode                = 0

screen0_output_type      = 1

screen0_output_mode      = 4

screen1_output_type      = 1

screen1_output_mode      = 4

fb0_format               = 10

fb0_pixel_sequence       = 0

fb0_scaler_mode_enable   = 0

fb0_width                = 0

fb0_height               = 0

fb1_format               = 10

fb1_pixel_sequence       = 0

fb1_scaler_mode_enable   = 0

fb1_width                = 0

fb1_height               = 0

lcd0_backlight           = 50

lcd1_backlight           = 50

lcd0_bright              = 50

lcd0_contrast            = 50

lcd0_saturation          = 57

lcd0_hue                 = 50

lcd1_bright              = 50

lcd1_contrast            = 50

lcd1_saturation          = 57

lcd1_hue                 = 50

;----------------------------------------------------------------------------------

;lcd0 configuration

;lcd_if:               0:hv(sync+de); 1:8080; 2:ttl; 3:lvds; 4:dsi; 5:edp; 6:extend dsi

;lcd_x:                lcd horizontal resolution

;lcd_y:                lcd vertical resolution

;lcd_width:            width of lcd in mm

;lcd_height:           height of lcd in mm

;lcd_dclk_freq:        in MHZ unit

;lcd_pwm_freq:         in HZ unit

;lcd_pwm_pol:          lcd backlight PWM polarity

;lcd_pwm_max_limit     lcd backlight PWM max limit(<=255)

;lcd_hbp:              hsync back porch

;lcd_ht:               hsync total cycle

;lcd_vbp:              vsync back porch

;lcd_vt:               vysnc total cycle

;lcd_hspw:             hsync plus width

;lcd_vspw:             vysnc plus width

;lcd_lvds_if:          0:single link;  1:dual link

;lcd_lvds_colordepth:  0:8bit; 1:6bit

;lcd_lvds_mode:        0:NS mode; 1:JEIDA mode

;lcd_frm:              0:disable; 1:enable rgb666 dither; 2:enable rgb656 dither

;lcd_io_phase:         0:noraml; 1:intert phase(0~3bit: vsync phase; 4~7bit:hsync phase;

;                      8~11bit:dclk phase; 12~15bit:de phase)

;lcd_gamma_en          lcd gamma correction enable

;lcd_bright_curve_en   lcd bright curve correction enable

;lcd_cmap_en           lcd color map function enable

;deu_mode              0:smoll lcd screen; 1:large lcd screen(larger than 10inch)

;lcdgamma4iep:         Smart Backlight parameter, lcd gamma vale * 10;

;                      decrease it while lcd is not bright enough; increase while lcd is too bright

;smart_color           90:normal lcd screen 65:retina lcd screen(9.7inch)

;----------------------------------------------------------------------------------

[lcd0_para]

lcd_used            = 1

lcd_driver_name     = "default_lcd"

lcd_if              = 3

lcd_x               = 1024

lcd_y               = 600

lcd_width           = 150

lcd_height          = 94

lcd_dclk_freq       = 65

lcd_pwm_used        = 1

lcd_pwm_ch          = 0

lcd_pwm_freq        = 50000

lcd_pwm_pol         = 1

lcd_hbp             = 20

lcd_ht              = 1400

lcd_hspw            = 10

lcd_vbp             = 10

lcd_vt              = 800

lcd_vspw            = 5

lcd_lvds_if         = 0

lcd_lvds_colordepth = 1

lcd_lvds_mode       = 0

lcd_frm             = 1

lcd_gamma_en        = 0

lcd_bright_curve_en = 0

lcd_cmap_en         = 0

deu_mode            = 0

lcdgamma4iep        = 22

smart_color        = 90

lcd_bl_en           = port:PD13<1><0><default><1>

lcd_power           = "axp22_dc1sw"

lcdd0               = port:PD18<3><0><default><default>

lcdd1               = port:PD19<3><0><default><default>

lcdd2               = port:PD20<3><0><default><default>

lcdd3               = port:PD21<3><0><default><default>

lcdd4               = port:PD22<3><0><default><default>

lcdd5               = port:PD23<3><0><default><default>

lcdd6               = port:PD24<3><0><default><default>

lcdd7               = port:PD25<3><0><default><default>

lcdd8               = port:PD26<3><0><default><default>

lcdd9               = port:PD27<3><0><default><default>

;----------------------------------------------------------------------------------

;pwm config

;----------------------------------------------------------------------------------

[pwm0_para]

pwm_used            = 0

pwm_positive        = port:PH00<2><0><default><default>

[pwm1_para]

pwm_used            = 0

pwm_positive        = port:PH01<2><0><default><default>

LVDS接口的LCD屏幕右边有黑条.jpg


lvds格式的lcd的屏幕参数配置.png

马上想起来很久很久碰到的一个问题,通过全志A31S平台的HDMI接口输出854x480分辨率(TI的DLP)的时候,看见右边有一个黑条,调了一个星期,做驱动的和做Android的在扯皮!后来做硬件的一句话:你们看看,那个黑条是不是Android的虚拟导航条?最后那个做Android的小子咬死不承认问题,在老大强烈要求之后,那个小子才将虚拟导航条的宽度缩减了一半,马上黑条变小了。最后他不得已修改为宽度为0,解决问题了。

解决方法:

修改了/android/frameworks/base/core/res/res/values/dimens.xml里的status_bar_height修改成0,然后把android/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java里的addNavigationBar();方法屏蔽掉

Q:\r16v11\gc2035_parrotv1.1\android\frameworks\base\core\res\res\values\dimens.xml

<!-- <dimen name="status_bar_height">25dip</dimen>-->

<dimen name="status_bar_height">0dip</dimen>

<!-- Height of the bottom navigation / system bar. -->

<dimen name="navigation_bar_height">48dp</dimen>

<!-- Height of the bottom navigation bar in portrait; often the same as @dimen/navigation_bar_height -->

<dimen name="navigation_bar_height_landscape">48dp</dimen>

<!-- Width of the navigation bar when it is placed vertically on the screen -->

<dimen name="navigation_bar_width">42dp</dimen>

<!-- Height of notification icons in the status bar -->

<dimen name="status_bar_icon_size">24dip</dimen>

<!-- Size of the giant number (unread count) in the notifications -->

<dimen name="status_bar_content_number_size">48sp</dimen>

<!-- Height of the system bar (combined status & navigation); used by

SystemUI internally, not respected by the window manager. -->

<dimen name="system_bar_height">@dimen/navigation_bar_height</dimen>

[email protected]:/home/rediron/r16v11/gc2035_parrotv1.1$

[email protected]:/home/rediron/r16v11/gc2035_parrotv1.1$ find . -name PhoneStatusBar.java

./android/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

[email protected]:/home/rediron/r16v11/gc2035_parrotv1.1$

Q:\r16v11\gc2035_parrotv1.1\android\frameworks\base\packages\SystemUI\src\com\android\systemui\statusbar\phone\PhoneStatusBar.java

@Override

public void start() {

mDisplay = ((WindowManager)mContext.getSystemService(Context.WINDOW_SERVICE))

.getDefaultDisplay();

updateDisplaySize();

super.start(); // calls createAndAddWindows()

//addNavigationBar();

// Lastly, call to the icon policy to install/update all the icons.

mIconPolicy = new PhoneStatusBarPolicy(mContext);

mHeadsUpObserver.onChange(true); // set up

if (ENABLE_HEADS_UP) {

mContext.getContentResolver().registerContentObserver(

Settings.Global.getUriFor(SETTING_HEADS_UP), true,

mHeadsUpObserver);

}

}

问题2:

假如把开发板上的wifi模块改成AP6210应该怎么修改,我修改了/android/device/softwinner/astar-evb30目录下的astar_evb30.mk 文件和BoardConfig.mk 文件,但打开wifi时会报错(参附件6210.txt)

Q:\r16v11\gc2035_parrotv1.1\android\device\softwinner\astar-evb30\BoardConfig.mk

# 1.2 broadcom wifi support

BOARD_WIFI_VENDOR := broadcom

ifeq ($(BOARD_WIFI_VENDOR), broadcom)

BOARD_WPA_SUPPLICANT_DRIVER := NL80211

WPA_SUPPLICANT_VERSION      := VER_0_8_X

BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd

BOARD_HOSTAPD_DRIVER        := NL80211

BOARD_HOSTAPD_PRIVATE_LIB   := lib_driver_cmd_bcmdhd

BOARD_WLAN_DEVICE           := bcmdhd

WIFI_DRIVER_FW_PATH_PARAM   := "/sys/module/bcmdhd/parameters/firmware_path"

SW_BOARD_USR_WIFI := AP6212

endif

Q:\r16v11\gc2035_parrotv1.1\android\device\softwinner\astar-evb30\astar_evb30.mk

# ap6181/6210/6330 sdio wifi fw and nvram

#$(call inherit-product-if-exists, hardware/broadcom/wlan/firmware/ap6181/device-bcm.mk)

$(call inherit-product-if-exists, hardware/broadcom/wlan/firmware/ap6212/device-bcm.mk)

#$(call inherit-product-if-exists, hardware/broadcom/wlan/firmware/ap6330/device-bcm.mk)

AP6210的启动LOG截图CatchE78A(11-15-(12-11-15-36-50).jpg

配置AP6210 1 Catch38ED(11-15-(12-11-15-36-50).jpg


配置AP6210 2 InsertPic_83C8(1(12-11-15-36-50).png


配置AP6210 3 InsertPic_2379(1(12-11-15-36-50).png

出错的LOG:

D/WifiService(  489): setWifiEnabled: true pid=776, uid=1000

D/WifiHW  (  103): Enter: wifi_get_fw_path function, fw_type=0,

D/WifiHW  (  103): Eneter: wifi_change_fw_path, fwpath = /system/vendor/modules/fw_bcm43438a0.bin.

E/WifiHW  (  103): Failed to open wlan fw path param (No such file or directory)

E/SoftapController(  103): Softap fwReload failed

E/WifiStateMachine(  489): Failed to reload STA firmware java.lang.IllegalStateException: command ‘9 softap fwreload wlan0 STA‘ failed with ‘400 9 SoftAP command has failed‘

W/CommandListener(  103): Failed to retrieve HW addr for wlan0 (No such device)

D/CommandListener(  103): Setting iface cfg

E/WifiStateMachine(  489): Unable to change interface settings: java.lang.IllegalStateException: command ‘11 interface setcfg wlan0 0.0.0.0 0 down‘ failed with ‘400 11 Failed to set address (No such device)‘

E/WifiHW  (  489): ctrl_interface != /data/misc/wifi/sockets

D/WifiMonitor(  489): startMonitoring(wlan0) with mConnected = false

D/BluetoothAdapter(  776): 1102903192: getState() :  mService = null. Returning STATE_OFF

I/wpa_supplicant( 1360): Successfully initialized wpa_supplicant

I/wpa_supplicant( 1360): rfkill: Cannot open RFKILL control device

E/wpa_supplicant( 1360): Could not read interface wlan0 flags: No such device

E/wpa_supplicant( 1360): wlan0: Failed to initialize driver interface

V/AudioFlinger(  108): releasing 8 from 969

V/AudioFlinger(  108):  decremented refcount to 0

V/AudioFlinger(  108): purging stale effects

I/MediaFocusControl(  489):  AudioFocus  abandonAudioFocus() from [email protected][email protected]

I/ActivityManager(  489): Start proc com.android.musicfx for broadcast com.android.musicfx/.ControlPanelReceiver: pid=1365 uid=10008 gids={50008, 3003, 3002}

I/PackageManager(  489): Running dexopt on: com.android.musicfx

V/MusicFXControlPanelReceiver( 1365): onReceive

V/MusicFXControlPanelReceiver( 1365): Action: android.media.action.CLOSE_AUDIO_EFFECT_CONTROL_SESSION

V/MusicFXControlPanelReceiver( 1365): Package name: com.android.music

V/MusicFXControlPanelReceiver( 1365): Audio session: 8

V/MusicFXControlPanelEffect( 1365): closeSession([email protected], com.android.music, 8)

E/WifiHW  (  489): Supplicant not running, cannot connect

E/WifiHW  (  489): Supplicant not running, cannot connect

E/WifiHW  (  489): Supplicant not running, cannot connect

E/WifiHW  (  489): Supplicant not running, cannot connect

E/WifiHW  (  489): Supplicant not running, cannot connect

E/WifiMonitor(  489): startMonitoring(wlan0) failed!

E/WifiStateMachine(  489): Failed to setup control channel, restart supplicant

D/WifiHW  (  489): Enter wifi_unload_driver Function.

D/WifiHW  (  103): Enter: wifi_get_fw_path function, fw_type=0,

D/WifiHW  (  103): Eneter: wifi_change_fw_path, fwpath = /system/vendor/modules/fw_bcm43438a0.bin.

E/WifiHW  (  103): Failed to open wlan fw path param (No such file or directory)

E/SoftapController(  103): Softap fwReload failed

E/WifiStateMachine(  489): Failed to reload STA firmware java.lang.IllegalStateException: command ‘12 softap fwreload wlan0 STA‘ failed with ‘400 12 SoftAP command has failed‘

W/CommandListener(  103): Failed to retrieve HW addr for wlan0 (No such device)

D/CommandListener(  103): Setting iface cfg

E/WifiStateMachine(  489): Unable to change interface settings: java.lang.IllegalStateException: command ‘14 interface setcfg wlan0 0.0.0.0 0 down‘ failed with ‘400 14 Failed to set address (No such device)‘

D/BluetoothAdapter(  776): 1102903192: getState() :  mService = null. Returning STATE_OFF

E/WifiMonitor(  489): startMonitor called with unknown iface=wlan0

I/wpa_supplicant( 1399): Successfully initialized wpa_supplicant

I/wpa_supplicant( 1399): rfkill: Cannot open RFKILL control device

E/wpa_supplicant( 1399): Could not read interface wlan0 flags: No such device

E/wpa_supplicant( 1399): wlan0: Failed to initialize driver interface

D/dalvikvm( 1203): GC_CONCURRENT freed 1868K, 25% free 5830K/7740K, paused 21ms+1ms, total 90ms

D/BatteryService(  489): wanglei --> mBatteryProps.batteryTemperature = 300

^C

130|[email protected]:/ $ ls /system/vendor/modules/fw_bcm43438a0.bin

/system/vendor/modules/fw_bcm43438a0.bin

由于AP6210正基已经停产,退出了支持序列。不需要浪费时间了!

问题3:

电源管理芯片我想设置DLDO3,输出为2.8V,我给寄存器地址0x12写入0xff,把DLDO3开关控制寄存器打开,根据计算往寄存器地址0x17写入0x15,但是并没有输出电压,开机信息读寄存器的值,读出的值是我写进去的值(红色箭头处是我写进去的值)。

电源1 Catch(11-28-12-4(12-11-15-35-19).jpg


电源2 CatchBFDC(11-28-(12-11-15-35-19).jpg

(你们应该是要配置摄像头的电压^_。下次提问的时候可以说明一下你们的目的,这样我回答问题更有针对性!)

请参照:Rxx-user guide20170727全志的FAQ.pdf:3.3.电源配置(第18页)

Q:\r16v11\ov5640_parrotv1.1\lichee\tools\pack\chips\sun8iw5p1\configs\evb-30\sys_config.fex

;----------------------------------------------------------------------------------

;dcdc1_vol ---set dcdc1 voltage,mV,1600-3400,100mV/step

;dcdc2_vol ---set dcdc2 voltage,mV,600-1540,20mV/step

;dcdc3_vol ---set dcdc3 voltage,mV,600-1860,20mV/step

;dcdc4_vol ---set dcdc4 voltage,mV,600-1540,20mV/step

;dcdc5_vol ---set dcdc5 voltage,mV,1000-2550,50mV/step

;aldo2_vol ---set aldo2 voltage,mV,700-3300,100mV/step

;aldo3_vol ---set aldo3 voltage,mV,700-3300,100mV/step

;----------------------------------------------------------------------------------

[power_sply]

dcdc1_vol       = 3000

dcdc2_vol       = 1100

dcdc3_vol       = 1200

dcdc4_vol       = 0

dcdc5_vol       = 1500

aldo2_vol       = 2500

aldo3_vol       = 3000

dldo3_vol       = 2800

;gpio0_vol       = 2800

ldoio0_vol       = 2800

问题4:

安卓的开机打印信息很少(安卓4.4.2),我查看proc/sys/kernel/printk,打印的是4417.源码/lichee/linux-3.4/kernel/printk.c文件中已经定义了#define DEFAULT_CONSOLE_LOGLEVEL 7,为什么编译后还是显示4417,请问你们这个打印信息的等级在那里修改?

20161215请问全志的android平台的kernel启动早期的 打印信息 全关了吗.pdf

[email protected]:~/wyb/bt1_parrot_v1.1_20161212/lichee/linux-3.4$ make ARCH=arm menuconfig

General setup  --->

(16) Kernel log buffer size (16 => 64KB, 17 => 128KB)

修改为:

(18) Kernel log buffer size (16 => 64KB, 17 => 128KB)

Q:\r16v11\ov5640_parrotv1.1\lichee\tools\pack\chips\sun8iw5p1\configs\default\env.cfg

bootdelay=3

#default bootcmd, will change at runtime according to key press

bootcmd=run setargs_nand boot_normal#default nand boot

#kernel command arguments

console=ttyS0,115200

nand_root=/dev/nandd

mmc_root=/dev/mmcblk0p7

init=/init

loglevel=8

修改完成之后:

[email protected]:/ $

[email protected]:/ $ cat proc/sys/kernel/printk

8417

[email protected]:/ $

问题5、

安卓4.4 init.sun8i.rc这个文件应该在那里修改呢?我修改/device/softwinner/astar-evb30目录下的init.sun8i.rc文件,编译后out目录下的文件并没有修改。是我修改的文件错了吗?

修改init.sun8i.rc这个文件,只要把你要修改的内容那部分全部屏蔽掉,然后在下面重新写一个。

# virtual sdcard daemon running as media_rw (1023)

# service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated

#class late_start

# ril related services

service ril-daemon /system/bin/rild -l libsoftwinner-ril.so -- -d /dev/ttyUSB2

class main

socket rild stream 660 root radio

socket rild-debug stream 660 radio system

user root

disabled

group radio cache inet misc audio sdcard_rw log

修改为:

# virtual sdcard daemon running as media_rw (1023)

# service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated

#class late_start

# ril related services

#service ril-daemon /system/bin/rild -l libsoftwinner-ril.so -- -d /dev/ttyUSB2

#class main

#socket rild stream 660 root radio

#socket rild-debug stream 660 radio system

#user root

#disabled

#group radio cache inet misc audio sdcard_rw log

service ril-daemon /system/bin/rild -l libreference-ril.myzr.so -- -d /dev/ttyUSB2

class main

socket rild stream 660 root radio

socket rild-debug stream 660 radio system

user root

disabled

group radio cache inet misc audio sdcard_rw log

可选方式:

[email protected]:/home/rediron/r16v11/ov5640_parrotv1.1/android$ source build/envsetup.sh

including device/asus/flo/vendorsetup.sh

including device/asus/tilapia/vendorsetup.sh

including device/asus/grouper/vendorsetup.sh

including device/asus/deb/vendorsetup.sh

including device/lge/mako/vendorsetup.sh

including device/lge/hammerhead/vendorsetup.sh

including device/softwinner/r16-bell-one/vendorsetup.sh

including device/softwinner/polaris-common/vendorsetup.sh

including device/softwinner/astar-evb20/vendorsetup.sh

including device/softwinner/astar-evb/vendorsetup.sh

including device/softwinner/astar-evb30/vendorsetup.sh

including device/softwinner/bellone-sc3813r/vendorsetup.sh

including device/generic/x86/vendorsetup.sh

including device/generic/armv7-a-neon/vendorsetup.sh

including device/generic/mips/vendorsetup.sh

including device/samsung/manta/vendorsetup.sh

including sdk/bash_completion/adb.bash

[email protected]:/home/rediron/r16v11/ov5640_parrotv1.1/android$ lunch

You‘re building on Linux

Lunch menu... pick a combo:

1. aosp_arm-eng

2. aosp_x86-eng

3. aosp_mips-eng

4. vbox_x86-eng

5. aosp_flo-userdebug

6. aosp_tilapia-userdebug

7. aosp_grouper-userdebug

8. aosp_deb-userdebug

9. aosp_mako-userdebug

10. aosp_hammerhead-userdebug

11. r16_bell_one-eng

12. astar_evb20-eng

13. astar_evb-eng

14. astar_evb30-eng

15. bellone_sc3813r-eng

16. mini_x86-userdebug

17. mini_armv7a_neon-userdebug

18. mini_mips-userdebug

19. aosp_manta-userdebug

Which would you like? [aosp_arm-eng] 14

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.4.2

TARGET_PRODUCT=astar_evb30

TARGET_BUILD_VARIANT=eng

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=cortex-a7

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

BUILD_ID=KVT49L

OUT_DIR=out

============================================

[email protected]m-Product-Name:/home/rediron/r16v11/ov5640_parrotv1.1/android$ make installclean

[email protected]:/home/rediron/r16v11/ov5640_parrotv1.1/android$ make -j12

[email protected]:/home/rediron/r16v11/ov5640_parrotv1.1/android$ pack -d

时间: 2024-10-06 16:31:27

20171128客户在全志R16平台的问题合集的相关文章

009全志R16平台tinav3.0下编译不过的问题

2018/11/13 11:39 版本:V1.0 开发板:SC3817R SDK:tina v3.0 1.01原始编译全志r16平台tinav3.0系统: [email protected]:~$ cd /home/wwt [email protected]:/home/wwt$ [email protected]:~$ cd /home/wwt [email protected]:/home/wwt$ [email protected]:/home/wwt$ [email protected]

全志A33平台编译linux(分色排版)sina33

全志A33平台编译linux 大文实验室/大文哥 壹捌陆捌零陆捌捌陆捌贰 21504965 AT qq.com 完成时间:2017/12/12 17:36 版本:V1.0 Xshell 5 (Build 0964) Copyright (c) 2002-2016 NetSarang Computer, Inc. All rights reserved. Type `help' to learn how to use Xshell prompt. [c:\~]$ Connecting to 192

51全志R58平台Android4.4下Camera的HAL层修改

51全志R58平台Android4.4下Camera的HAL层修改 2018/11/7 15:20 版本:V1.0 开发板:SC5806 1.系统编译: (略) 2.全志R58平台Android4.4下Camera的HAL层在这个目录: /home/wwt/r58_android_v4.4/android/device/softwinner/octopus-common/hardware/camera 可以使用mm编译: BuildImg 0 Dragon execute image.cfg S

MySQL集群---②Windows平台搭建MySQL CLUSTER集群

本文将通过两台电脑来简单介绍一下Windows平台如何搭建MySQL集群. MySQL集群支持多台电脑,本文搭建的MySQL集群以两台机子为例,其中一台(IP为192.168.24.33)部署管理节点.数据节点和SQL节点,另一台(IP为192.168.24.82)部署数据节点和SQL节点. 实际应用中,不要将管理节点跟数据节点部署到一台机子上,因为如果数据节点宕机会导致管理节点不可用,同时整个MySQL群集也就都不可用了.所以一个MySQL群集理想情况下至少有三台服务器,将管理节点单独放到一台

全志H3平台CLOCK简析

1 概要 时钟管理模块是linux系统为统一管理各硬件的时钟而实现管理框架,负责所有模块的时钟调节和电源管理. 1.1 模块功能介绍 时钟管理模块主要负责处理各硬件模块的工作频率调节及电源切换管理.一个硬件模块要正常工作,必须先配置好硬件的工作频率.打开电源开关.总线访问开关等操作,时钟管理模块为设备驱动提供统一的操作接口,使驱动不用关心时钟硬件实现的具体细节. 1.2 相关术语介绍 晶振:晶体振荡器的简称,晶振有固定的振荡频率,如32K/24Mhz等,是芯片所有时钟的源头. PLL: 锁相环,

全志H3平台DMA框架

1 概要 Dmaengine是linux内核dma驱动框架,针对DMA驱动的混乱局面内核社区提出了一个全新的框架驱动,目标在统一dma API让各个模块使用DMA时不用关心硬件细节,同时代码复用提高,并且实现异步的数据传输,降低机器负载. 1.1 基本结构 dmaengine向其他模块提供接口:virt-dma,Virtual DMA向dmaengine提供初始化函数,传输各阶段状态登记链表,desc_free函数等:dma drivers为具体DMA控制器的驱动代码,其通过dma_async_

R16平台中断

要想使用中断,必须先配置GPIO. GPIO的配置在config.fex中实现,这是一个配置系统和GPIO的脚本. 下面内容来自网络: 1.源码中是一个配置文件sys_config.fex.编译期 是fex2bin之后变成script.bin, 运行期是保存在系统第一个分区.2 script.bin是由uboot读出并写到一个内存的固定地址,之后驱动才能去这个内存地址里面读出配置,所以uboot和驱动都可以进行动态配置3 接口的实现在sys_config.c,uboot有另外一个接口(忽略) 可

云平台中的可用性集

在Azure当中有地缘组的概念(http://maomaostyle.blog.51cto.com/2220531/1585696),之前的博文也提到过,这是一种提高"性能"或者说是尽可能减少系统间延迟的手段,是出于性能保障的,那么从可用性角度而言,就要提到"可用性集(Availability set)",Availability set是目前云平台上非常流行的一项"基本"功能,主要是提供一种高可用性的保障,在Azure当中对虚拟机提供最高99.

实时计算平台中的弹性集群资源管理

本文系微博运维数据平台(DIP)在实时计算平台的研发过程中集群资源管理方面的一些经验总结和运用,主要关注以下几个问题: 异构资源如何整合? 实时计算应用之间的物理资源如何隔离? 集群资源利用率如何提高? 集群运维成本如何降低? 1. 背景 这是我们初期的一个实时计算架构,大致划分为三个部分: (1)日志收集: 使用Rsynlog.Flume.Scribe汇聚各个业务方发送过来的日志数据:如果条件允许,业务方也可以直接将数据写入Kafka. (2)日志传输: 使用Kafka作为日志收集组件与实时应