X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=README-AGL.md;h=146d6ff160a5b257f1fcc20c810c7bdab19354ea;hb=262a60a409ee14cf9d1589750bf76639d479de37;hp=caa547a1c938bf56ea2aec64cae867e552fbc82f;hpb=5ebeb205189943259a83f05301aba1a161157960;p=AGL%2Fmeta-agl.git diff --git a/README-AGL.md b/README-AGL.md index caa547a1c..146d6ff16 100644 --- a/README-AGL.md +++ b/README-AGL.md @@ -173,7 +173,7 @@ To build an image from 'meta-agl' > $ bitbake agl-demo-platform - If you want to run QEMU directly as VM in Virtual Box or your other favorite VM software then add this line to your "conf/local.conf" file. - > IMAGE_FSTYPES += "vmdk" + > IMAGE_FSTYPES += "wic.vmdk" 5. Run in the emulator > $ runqemu agl-image-ivi qemux86-64 @@ -194,7 +194,7 @@ To build an image from 'meta-agl' > $ runqemu agl-image-ivi qemux86-64 bootparams="uvesafb.mode_option=1280x720-32" serial **Or use the virtual disk in Virtual Box from this location:** - > tmp/deploy/images/qemux86-64/agl-demo-platform-qemux86-64.vmdk + > tmp/deploy/images/qemux86-64/agl-demo-platform-qemux86-64.wic.vmdk 6. Some weston samples are available from weston terminal (click top left icon). Check the folder `/opt/AGL/ALS2016`. @@ -340,7 +340,7 @@ NOTE: To boot weston on porter board, we need keyboard and mouse. (USB2.0 can be > => setenv bootargs_console console=ttySC6,${baudrate} > => setenv bootargs_video vmalloc=384M video=HDMI-A-1:1024x768-32@60 > => setenv bootcmd_sd 'ext4load mmc 0:1 0x40007fc0 boot/uImage;ext4load mmc 0:1 0x40f00000 boot/uImage-r8a7791-porter.dtb' -> => setenv bootcmd 'setenv bootargs ${bootargs_console} ${bootargs_video} root=/dev/mmcblk0p1 rw rootfstype=ext3;run bootcmd_sd;bootm 0x40007fc0 - 0x40f00000' +> => setenv bootcmd 'setenv bootargs ${bootargs_console} ${bootargs_video} root=/dev/mmcblk0p1 rw rootfstype=ext4;run bootcmd_sd;bootm 0x40007fc0 - 0x40f00000' > => saveenv ##### Boot from SD card @@ -352,47 +352,6 @@ NOTE: To boot weston on porter board, we need keyboard and mouse. (USB2.0 can be 3. Have fun! :) -4. (Optional) This is how to test and play multimedia contents with acceleration. - - 1. Boot porter without mouse and keyboard, it avoid to boot weston automatically. - For now, when running weston, V4L2 deosn't work correctly, so we have to - stop weston first (GST plugin `waylandsink` also doesn't work correctly for now). - - 2. Execute these instructions - - # Set the mixer -> $ export LD_LIBRARY_PATH="/lib:/usr/lib:/usr/local/lib:"^ - - # Set the mixer -> $ amixer set "LINEOUT Mixer DACL" on -> $ amixer set "DVC Out" 10 -> -> $ modprobe -a mmngr mmngrbuf s3ctl uvcs_cmn vspm fdpm -> -> $ media-ctl -d /dev/media0 -r -> $ media-ctl -d /dev/media0 -l '"vsp1.2 rpf.0":1 -> "vsp1.2 uds.0":0 [1]' -> $ media-ctl -d /dev/media0 -l '"vsp1.2 uds.0":1 -> "vsp1.2 wpf.0":0 [1]' -> $ media-ctl -d /dev/media0 -l '"vsp1.2 wpf.0":1 -> "vsp1.2 lif":0 [1]' -> $ media-ctl -d /dev/media0 -V '"vsp1.2 rpf.0":0 [fmt:AYUV32/1920x1080]' -> $ media-ctl -d /dev/media0 -V '"vsp1.2 rpf.0":1 [fmt:AYUV32/1920x1080]' -> $ media-ctl -d /dev/media0 -V '"vsp1.2 uds.0":0 [fmt:AYUV32/1920x1080]' -> $ media-ctl -d /dev/media0 -V '"vsp1.2 uds.0":1 [fmt:AYUV32/640x480]' -> $ media-ctl -d /dev/media0 -V '"vsp1.2 wpf.0":0 [fmt:AYUV32/640x480]' -> $ media-ctl -d /dev/media0 -V '"vsp1.2 wpf.0":1 [fmt:ARGB32/640x480]' -> $ media-ctl -d /dev/media0 -V '"vsp1.2 lif":0 [fmt:ARGB32/640x480]' -> -> # in case R-Car M2 (HDMI - DU1 - vspd0) -> $ modetest -M rcar-du -s 10@8:1280x720@AR24 -d -P '8@19:640x480+100+200@XR24' & - -After these command, Test pattern will show on display connected to porter's HDMI port. - -Then, you can play H264(MP4) movie like this: - -> $ gst-launch-1.0 filesrc location=./sample.mp4 ! qtdemux name=d d. ! \ -> queue ! omxh264dec no-copy=true ! v4l2sink device=/dev/video1 \ -> io-mode=userptr d. ! queue ! faad ! alsasink device=hw:0,0 - - ### Deployment (TFTP/NFS) NOTE: These instructions are based on Embedded Linux Wiki, [here](http://www.elinux.org/R-Car/Boards/Yocto#Loading_kernel_via_TFTP_and_rootfs_via_NFS). And a Debian (wheezy, ip: 192.168.30.70) is used as the host for this instructions.