X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=README-AGL.md;h=bb6e8aa637776c745492401569ad460e41aaf443;hb=4af95fe9819cbfbdee201f2e68d9525b4737512d;hp=caa547a1c938bf56ea2aec64cae867e552fbc82f;hpb=5ebeb205189943259a83f05301aba1a161157960;p=AGL%2Fmeta-agl.git diff --git a/README-AGL.md b/README-AGL.md index caa547a1c..bb6e8aa63 100644 --- a/README-AGL.md +++ b/README-AGL.md @@ -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.