Quick Start Guide(s5p4418_daudio_ref)

1. Introduce

This document describe about BSP download, build and update on the s5p4418_daudio_ref board.
If you have the s5p4418_daudio_ref] board, try it like below.

1.1. PC Environment

You have to setup your Linux machine for Linux(sumo) development.
Please refer to this site : [Nexell Yocto GUIDE]

1.2. BSP Download

Please refer to this site : [BSP Repository & Target Board List]

 

2. Linux(Yocto)

2.1. Env

Install a cross-compiling environment on your PC(ubuntu).
Run just one time.

TOP $ ./tools/yocto_build_environment.sh

Related application packages are installed.

 

2.2. Build

help

TOP $ ./tools/build.sh -h

build

TOP $ ./tools/build.sh s5p4418-daudio-ref qt

result folder

[TOP]/yocto/out/result-s5p4418-daudio-ref-qt

 

2.3. Fusing

USB booting

Set the target board to usb boot mode : Turn on switches 2 and 3 on the ESW2 of the daudio-ref board.

USB BOOT MODE  : Turn on switche 2 and 3.
eMMC BOOT MODE : Turn off all switche.

Connect the Debug console to host PC.
Connect USB OTG to host PC.
Connect 12V power to theconvergence-daudio board.
Make sure that the usb is connected on the host PC(2375: 4330 Digit@lway, Inc.).
Run the following script.

TOP $ cd ./yocto/out/result-s5p4418-daudio-ref-qt
./tools/standalone-uboot-by-usb-download.sh

After running the script, enter uboot in the debug console.

Fusing

Execute the command “fastboot 0” in uboot.

s5p4418_daudio_ref# fastboot 0

Make sure that the usb is connected on the host PC(18d1:0002 Google Inc.).
Run the following script on your host PC.

TOP $ cd ./yocto/out/result-s5p4418-daudio-ref-qt
./tools/standalone-fastboot-download.sh

Now fusing is in progress.
Set the eMMC boot mode after fusing is completed.
Please reset the target board.

 

3. Features

3.1. RearCam(Video decoder)

How to use QuickRearCam :

Press the SW5 (REAR CAM) button on the daudio-ref board.

3.1.1. TW9900(defaulted to BSP)

H/W settings

There is no function.

Kernel Config

path : ./kernel/kernel-4.4.x/arch/arm/configs/s5p4418_daudio_ref_defconfig

Device Drivers  —>
<*> Multimedia support  —>

        Encoders, decoders, sensors and other helper chips  —>
            <*> Intersil TW9900 video decoder            //  CONFIG_VIDEO_TW9900

DTS

path : ./kernel/kernel-4.4.x/arch/arm/boot/dts/s5p4418-daudio_ref-common.dtsi

/* for TW9900 */
&vip_1 {
    status = “okay”;
};
&clipper_1 {
    interface_type = <NX_CAPTURE_INTERFACE_PARALLEL>;
    pinctrl-names = “default”;
    pinctrl-0 = <&vid2_data_clk>;
    gpios = <&gpio_c 9 0 &gpio_e 16 0 &gpio_e 12 0>;
    data_order = <NX_VIN_CBY0CRY1>;
    port = <1>;
    external_sync = <0>;
    interlace = <1>;
    status = “okay”;
    sensor {
        type = <NX_CAPTURE_SENSOR_I2C>;
        i2c_name = “tw9900”;
        i2c_adapter = <5>;
        addr = <0x44>;
    };
    power {
        enable_seq = <
                NX_ACTION_START NX_ACTION_TYPE_GPIO 2 0 1 0 10 NX_ACTION_END
                NX_ACTION_START NX_ACTION_TYPE_GPIO 1 0 1 0 10 NX_ACTION_END
                NX_ACTION_START NX_ACTION_TYPE_GPIO 0 1 10 NX_ACTION_END
        >;
    };
};

Yocto(nx_init)

There is no function.

Displayaudio SDK(rearcam_config)

path : ./solutions/displayaudio-sdk/apps/NxRearCam/Package/rearcam_config_daudio_ref.xml

<string name=”cam_width”>704</string>
<string name=”cam_height”>480</string>

 

3.2. Connectivity SDK

Please contact Sales Team or FAE Team of NEXELL.

After receiving the Connectivity SDK from NEXELL, please place it in the folder below.

TOP $ cp allgo-connectivity-sdk_xxx.tgz ./solutions/
TOP $ cd ./solutions/
$ tar xvzf allgo-connectivity-sdk_xxx.tgz
$ mv allgo-connectivity-sdk_xxx allgo-connectivity-sdk


Please add a feature to the target board.

yocto/meta-nexell/meta-nexell-distro/tools/configs/board/s5p4418-daudio-ref.xml

… … …
<!– board specified features –>
<feature text=’BBMASK_append = ” /meta-nexell/meta-nexell-distro/recipes-multimedia/smart-voice-app “‘/>
<feature text=’DISTRO_FEATURES_append = ” nexell-daudio-ref
                                                                                  support-daudio
                                                                                  support-daudio-sdk
                                                                                  support-ffmpeg
                                                                                  support-adanis-bt
                                                                                  support-allgo-connectivity
                                                                                  support-allgo-connectivity-sdk“‘/>