CC-A80-Android Sys config Configuration, Android
[ Pobierz całość w formacie PDF ]
//-->Web:http://cubieboard.org/E-mail:support@cubietech.comCC-A80 android sys_configConfiguration methodThe first thing you need to connect a serial port on board.As shown in figure in the ubuntu computer terminal input$ sudo minicom(windowssystem of the computer can use the terminal)For CC-A80 board after electrify, immediately press thekeyboard "s" long, about 2, 3 seconds after the board willenter uboot mode, as shown in figureThen we can start setting sys_config configuration content,here basically use setcfg this command, the command usage,and parameters:# setcfgmain_key sub_keyCopyright © Cubietech Limited. All right reservedWeb:http://cubieboard.org/E-mail:support@cubietech.comNote: refer to the following figure shows: main_keycorresponding to 3g_para, corresponding to three sub_keyg_used, 3g_usbc_num etc, and the following section.Explain sys_config configurable item (in 3g, for example),the following figure1.Number item changesIf we want to change 3g_para 3g_used in this item, you canuse the command:# setcfg 3g_para 3g_usedThen the terminal will print:3g_used: 0?The output mean 3g_used current values for "0". If you needto change, in the "?" Right after the digital input, pressthe return key, as shown:No need to modify, press enter to skip directly.Copyright © Cubietech Limited. All right reservedWeb:http://cubieboard.org/E-mail:support@cubietech.com2.String item changesIf we want to change 3g_para bb_name in this item, you canuse the command:# setcfg 3g_para bb_nameThen the terminal will print:bb_name?The output mean bb_name current values for "mu509". If youneed to change, in the "?" Right after the digital input,press the return key, as shown::mu509Here I changed to "EM770W",No need to modify, press enterto skip directly.3.Empty item changesEmpty item shall be the default using "deault", the toolcannot be modified to empty, if the parameter selectedempty, will jump out. As shown in figure:# setcfg 3g_para bb_vbatCopyright © Cubietech Limited. All right reservedWeb:http://cubieboard.org/E-mail:support@cubietech.com4.GPIO item changesGPIO item setting is longer, if you use the command:# setcfg 3g_para bb_onWill be in order to modify theport:PM02<1><default><default><0> this in all parameters,modifying methods as above,"?" On the left is the currentvalue, "?" Fill out need to modify the value on the right,don't fill represents not modify, after press the returnkey to jump to the next item parameter changes. As shown infigure:The diagram, I put the port:PM02<1><default><default><0>changed to port:PG02<0><1><default><0>PORT:PORT_NUM:MUL_SEL:Corresponding control type“PM”The corresponding pin number“02”Corresponding to the first Angle brackets “<1>”Copyright © Cubietech Limited. All right reservedWeb:http://cubieboard.org/E-mail:support@cubietech.comPULL:DRV_LEVEL:Corresponding to the second Angle brackets “<default>”Corresponding to the third Angle brackets “<default>”DATA: Corresponding to the fourth Angle brackets “<0>”Finally, when after the configuration change, you need touse the command to save. And then reset the configurationcan take effect.# savecfg5.Special instructionssetcfg can carry only one parameter, such as :# setcfg 3g_paraIn this way, can be configured in turn 3 g_para all theoptions.In addition, setcfg cannot make no options, if no 3 g_parasys_cong, then we can't use setcfg add and modify.Copyright © Cubietech Limited. All right reserved
[ Pobierz całość w formacie PDF ]