View source for Talk:R-Car/Boards/Yocto-Gen3
We have moved Q&A page to Renesas Rulz site.
Please submit a question to new site.
URL: http://renesasrulz.com/r-car-h3-m3-cockpit/
- [View source↑]
- [History↑]
Contents
![]() First page |
![]() Previous page |
![]() Next page |
![]() Last page |
Hello.
I wanted to use the NTL library with R-CarH3, but I tried to introduce it, but I am in trouble because it does not work well.
Would you please point out any problems with the environment or procedures?
I would be pleased if you could lend us your wisdom.
【usage environment】
ubuntu 18.04 (LTS)
【compiler】
gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu 1 ~ 18.04)
aarch64-linux-gnu-gcc (gcc version 7.3.0 (Ubuntu / Linaro 7.3.0-27ubuntu 1 to 18.04))
aarch64-linux-gnu-g ++
【Library and version you want to install】
gmp-6.1.2
ntl - 10.5.0
【procedure】
① Get gcc cross compiler with apt install (aarch64-linux-gnu-gcc, aarch64-linux-gnu-g ++)
② Create working directory, get gmp inside ~ install (gmp introduction succeeded)
mkdir / home / user / work
cd / home / user / work
sudo wget ftp://ftp.gnu.org/gnu/gmp/gmp-6.1.2.tar.xz
tar xvf gmp - 6.1.2.tar.xz
cd gmp - 6.1.2
./configure - prefix = / home / user / work / gmp --build = x86_64 - linux - gnu - host = aarch64 - linux - gnu - disable - shared
make
make check
make install
③ Obtaining ~ ntnt
cd / home / user / work
sudo wget http://www.shoup.net/ntl/ntl-10.5.0.tar.gz
tar xvf ntl-10.5.0.tar.gz
cd ntl - 10.5.0 / src
CXX = aarch64 - linux - gnu - g ++ "CXXFLAGS = - O 2 - march = armv 8 - a"
make
make setup1
make [1]: Enter directory '/usr/aarch64-linux-gnu/src/ntl-10.5.0/src'
aarch64 - linux - gnu - g ++ - I .. / include - I. - g - O 2 - march = armv 8 - a - c MakeDescAux.cpp
aarch64 - linux - gnu - g ++ - I .. / include - I. - g - O 2 - march = armv 8 - a - o MakeDesc MakeDesc.cpp MakeDescAux.o - lm
./MakeDesc
./MakeDesc: 1: ./MakeDesc: Syntax error: word unexpected (expecting ")")
makefile: 309: recipe for target 'setup1' failed
make [1]: *** [setup1] Error 2
make [1]: Exit the directory '/usr/aarch64-linux-gnu/src/ntl-10.5.0/src'
makefile: 298: recipe for target 'all' failed
make: *** [all] Error 2
Hello.
I built AGL 6.0.0 for the R-Car Starter Kit Premier/H3 according to the AGL guide, and tried booting AGL on the R-Car H3.
[See "Steps to reproduce"]
But I can not see completing of AGL boot on R-Car H3.
The kernel does not proceed from message of "Waiting for root device /dev/mmcblk1p1...".
[See attached "Booting log"]
Please tell me how to solve it.
In case of AGL 6.0.0 booting on M3, I can see completing of AGL boot[the shell is launched and home-screen is shown at hdmi-display].
Steps to reproduce:
1) Download all layers for the for Flounder 6.0.0 I have performed according to below page: https://wiki.automotivelinux.org/agl-distro/release-notes#funky_flounder $ repo init -b flounder -m flounder_6.0.0.xml -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo $ repo sync
2) Building and Booting the AGL for R-Car Starter Kit Premier/H3 I have performed for machine h3ulcb according to below page: http://docs.automotivelinux.org/docs/getting_started/en/dev/reference/machines/R-Car-Starter-Kit-gen3.html Note) I set "/boot/r8a7795-es1-h3ulcb.dtb" is instead of "/boot/Image-r8a7795-es1-h3ulcb.dtb" becaseu I cannot find "Image-r8a7795-es1-h3ulcb.dtb" on "/boot/".
Booting log:
[ 0.000295] NOTICE: BL2: R-Car Gen3 Initial Program Loader(CA57) Rev.1.0.16 [ 0.005858] NOTICE: BL2: PRR is R-Car H3 Ver1.1 [ 0.010440] NOTICE: BL2: Board is Starter Kit Rev1.0 [ 0.015468] NOTICE: BL2: Boot device is HyperFlash(80MHz) [ 0.020893] NOTICE: BL2: LCM state is CM [ 0.024936] NOTICE: BL2: AVS setting succeeded. DVFS_SetVID=0x53 [ 0.030919] NOTICE: BL2: DDR2800(rev.0.27)NOTICE: [COLD_BOOT]NOTICE: ..0 [ 0.065554] NOTICE: BL2: DRAM Split is 4ch [ 0.069438] NOTICE: BL2: QoS is default setting(rev.0.37) [ 0.074939] NOTICE: BL2: Lossy Decomp areas [ 0.079114] NOTICE: Entry 0: DCMPAREACRAx:0x80000540 DCMPAREACRBx:0x570 [ 0.086199] NOTICE: Entry 1: DCMPAREACRAx:0x40000000 DCMPAREACRBx:0x0 [ 0.093111] NOTICE: Entry 2: DCMPAREACRAx:0x20000000 DCMPAREACRBx:0x0 [ 0.100027] NOTICE: BL2: v1.3(release):b330e0e [ 0.104516] NOTICE: BL2: Built : 01:25:08, Jan 24 2018 [ 0.109703] NOTICE: BL2: Normal boot [ 0.113345] NOTICE: BL2: dst=0xe6320208 src=0x8180000 len=512(0x200) [ 0.119894] NOTICE: BL2: dst=0x43f00000 src=0x8180400 len=6144(0x1800) [ 0.126352] NOTICE: BL2: dst=0x44000000 src=0x81c0000 len=65536(0x10000) [ 0.133577] NOTICE: BL2: dst=0x44100000 src=0x8200000 len=524288(0x80000) [ 0.144057] NOTICE: BL2: dst=0x50000000 src=0x8640000 len=1048576(0x100000) U-Boot 2015.04 (Jan 24 2018 - 10:25:14) CPU: Renesas Electronics R8A7795 rev 1.1 Board: H3ULCB I2C: ready DRAM: 3.9 GiB Flash: 64 MiB MMC: sh-sdhi: 0, sh-sdhi: 1 In: serial Out: serial Err: serial Net: Board Net Initialization Failed No ethernet found. Hit any key to stop autoboot: 0 19347968 bytes read in 3092 ms (6 MiB/s) 69134 bytes read in 14 ms (4.7 MiB/s) ## Flattened Device Tree blob at 48000000 Booting using the fdt blob at 0x48000000 Using Device Tree in place at 0000000048000000, end 0000000048013e0d Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.0-yocto-standard (oe-user@oe-host) (gcc version 7.3.0 (GCC)) #1 SMP PREEMPT Fri Oct 19 01:57:21 UTC 2018 [ 0.000000] Boot CPU: AArch64 Processor [411fd073] [ 0.000000] Machine model: Renesas H3ULCB board based on r8a7795 ES1.x [ 0.000000] debug: ignoring loglevel setting. [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000057000000, size 400 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000070000000, size 256 MiB [ 0.000000] OF: reserved mem: initialized node linux,multimedia, compatible id shared-dma-pool [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000073fffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x73ff99a00-0x73ff9b4ff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000048000000-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x000000073fffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000048000000-0x0000000053ffffff] [ 0.000000] node 0: [mem 0x0000000057000000-0x000000007fffffff] [ 0.000000] node 0: [mem 0x0000000500000000-0x000000053fffffff] [ 0.000000] node 0: [mem 0x0000000600000000-0x000000063fffffff] [ 0.000000] node 0: [mem 0x0000000700000000-0x000000073fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000048000000-0x000000073fffffff] [ 0.000000] On node 0 totalpages: 1003520 [ 0.000000] DMA zone: 3392 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 217088 pages, LIFO batch:31 [ 0.000000] Normal zone: 12288 pages used for memmap [ 0.000000] Normal zone: 786432 pages, LIFO batch:31 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS resident on physical CPU 0x0 [ 0.000000] random: fast init done [ 0.000000] percpu: Embedded 23 pages/cpu @ffff8006ffede000 s55576 r8192 d30440 u94208 [ 0.000000] pcpu-alloc: s55576 r8192 d30440 u94208 alloc=23*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 [ 0.000000] Detected PIPT I-cache on CPU0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 987840 [ 0.000000] Policy zone: Normal [ 0.000000] Kernel command line: console=ttySC0,115200 ignore_loglevel vmalloc=384M video=HDMI-A-1:1920x1080-32@60 root=/dev/mmcblk1p1 rw rootfstype=ext4 rootwait rootdelay=2 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] software IO TLB [mem 0x4ffff000-0x53fff000] (64MB) mapped at [ffff80000ffff000-ffff800013ffefff] [ 0.000000] Memory: 3190236K/4014080K available (11196K kernel code, 1230K rwdata, 5276K rodata, 1152K init, 426K bss, 152100K reserved, 671744K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffff000000000000 - 0xffff000008000000 ( 128 MB) [ 0.000000] vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000 (129022 GB) [ 0.000000] .text : 0xffff000008080000 - 0xffff000008b70000 ( 11200 KB) [ 0.000000] .rodata : 0xffff000008b70000 - 0xffff0000090a0000 ( 5312 KB) [ 0.000000] .init : 0xffff0000090a0000 - 0xffff0000091c0000 ( 1152 KB) [ 0.000000] .data : 0xffff0000091c0000 - 0xffff0000092f3a00 ( 1231 KB) [ 0.000000] .bss : 0xffff0000092f3a00 - 0xffff00000935e550 ( 427 KB) [ 0.000000] fixed : 0xffff7dfffe7fd000 - 0xffff7dfffec00000 ( 4108 KB) [ 0.000000] PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 MB) [ 0.000000] vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 GB maximum) [ 0.000000] 0xffff7e0000200000 - 0xffff7e001c000000 ( 446 MB actual) [ 0.000000] memory : 0xffff800008000000 - 0xffff800700000000 ( 28544 MB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=8. [ 0.000000] Tasks RCU enabled. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f102f000 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] arch_timer: cp15 timer(s) running at 8.33MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1ec02923e, max_idle_ns: 440795202125 ns [ 0.000003] sched_clock: 56 bits at 8MHz, resolution 120ns, wraps every 2199023255496ns [ 0.000357] Console: colour dummy device 80x25 [ 0.000399] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.66 BogoMIPS (lpj=33333) [ 0.000407] pid_max: default: 32768 minimum: 301 [ 0.000449] Security Framework initialized [ 0.000458] Smack: Initializing. [ 0.000461] Smack: IPv6 port labeling enabled. [ 0.002078] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.002886] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.002929] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.002961] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.015963] ASID allocator initialised with 65536 entries [ 0.023952] Hierarchical SRCU implementation. [ 0.032444] Detected Renesas R-Car Gen3 r8a7795 ES1.1 [ 0.033480] EFI services will not be available. [ 0.039974] smp: Bringing up secondary CPUs ... [ 0.068129] Detected PIPT I-cache on CPU1 [ 0.068172] CPU1: Booted secondary processor [411fd073] [ 0.096136] Detected PIPT I-cache on CPU2 [ 0.096154] CPU2: Booted secondary processor [411fd073] [ 0.124164] Detected PIPT I-cache on CPU3 [ 0.124182] CPU3: Booted secondary processor [411fd073] [ 0.152106] psci: failed to boot CPU4 (-22) [ 0.152119] CPU4: failed to boot: -22 [ 0.152123] CPU4: failed in unknown state : 0x0 [ 0.180134] psci: failed to boot CPU5 (-22) [ 0.180138] CPU5: failed to boot: -22 [ 0.180141] CPU5: failed in unknown state : 0x0 [ 0.208166] psci: failed to boot CPU6 (-22) [ 0.208170] CPU6: failed to boot: -22 [ 0.208174] CPU6: failed in unknown state : 0x0 [ 0.236196] psci: failed to boot CPU7 (-22) [ 0.236200] CPU7: failed to boot: -22 [ 0.236204] CPU7: failed in unknown state : 0x0 [ 0.236233] smp: Brought up 1 node, 4 CPUs [ 0.236237] SMP: Total of 4 processors activated. [ 0.236242] CPU features: detected feature: 32-bit EL0 Support [ 0.236354] CPU: All CPU(s) started at EL2 [ 0.236890] devtmpfs: initialized [ 0.241742] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.241802] futex hash table entries: 2048 (order: 6, 262144 bytes) [ 0.249675] pinctrl core: initialized pinctrl subsystem [ 0.251047] DMI not present or invalid. [ 0.251298] NET: Registered protocol family 16 [ 0.252559] cpuidle: using governor menu [ 0.253416] vdso: 2 pages (1 code @ ffff000008b76000, 1 data @ ffff0000091c5000) [ 0.253429] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.253964] DMA: preallocated 256 KiB pool for atomic allocations [ 0.254199] Serial: AMBA PL011 UART driver [ 0.257329] sh-pfc e6060000.pin-controller: r8a77950_pfc support registered [ 0.277022] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.277982] ACPI: Interpreter disabled. [ 0.279989] rcar-cpufreq: use avs value: 0 [ 0.280002] rcar-cpufreq: /cpus/cpu@0 is running with: /opp_table0 [ 0.280010] rcar-cpufreq: /cpus/cpu@1 is running with: /opp_table0 [ 0.280017] rcar-cpufreq: /cpus/cpu@2 is running with: /opp_table0 [ 0.280023] rcar-cpufreq: /cpus/cpu@3 is running with: /opp_table0 [ 0.281259] vgaarb: loaded [ 0.281426] SCSI subsystem initialized [ 0.281548] libata version 3.00 loaded. [ 0.281708] usbcore: registered new interface driver usbfs [ 0.281732] usbcore: registered new interface driver hub [ 0.281789] usbcore: registered new device driver usb [ 0.282679] i2c-sh_mobile e60b0000.i2c: I2C adapter 7, bus speed 400000 Hz [ 0.283007] media: Linux media interface: v0.10 [ 0.283028] Linux video capture interface: v2.00 [ 0.283094] pps_core: LinuxPPS API ver. 1 registered [ 0.283098] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.283109] PTP clock support registered [ 0.283336] EDAC MC: Ver: 3.0.0 [ 0.283481] dmi: Firmware registration failed. [ 0.284052] Advanced Linux Sound Architecture Driver Initialized. [ 0.284296] NetLabel: Initializing [ 0.284301] NetLabel: domain hash size = 128 [ 0.284304] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.284340] NetLabel: unlabeled traffic allowed by default [ 0.284628] clocksource: Switched to clocksource arch_sys_counter [ 0.284741] VFS: Disk quotas dquot_6.6.0 [ 0.284779] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.284880] pnp: PnP ACPI: disabled [ 0.290375] NET: Registered protocol family 2 [ 0.290883] TCP established hash table entries: 32768 (order: 6, 262144 bytes) [ 0.291028] TCP bind hash table entries: 32768 (order: 7, 524288 bytes) [ 0.291290] TCP: Hash tables configured (established 32768 bind 32768) [ 0.291416] UDP hash table entries: 2048 (order: 4, 65536 bytes) [ 0.291447] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) [ 0.291569] NET: Registered protocol family 1 [ 0.291814] RPC: Registered named UNIX socket transport module. [ 0.291818] RPC: Registered udp transport module. [ 0.291822] RPC: Registered tcp transport module. [ 0.291825] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.291833] PCI: CLS 0 bytes, default 128 [ 0.292536] hw perfevents: enabled with armv8_cortex_a57 PMU driver, 7 counters available [ 0.292683] hw perfevents: /soc/pmu_a53: failed to probe PMU! [ 0.292689] hw perfevents: /soc/pmu_a53: failed to register PMU devices! [ 0.293028] kvm [1]: 8-bit VMID [ 0.293032] kvm [1]: IDMAP page: 48b57000 [ 0.293036] kvm [1]: HYP VA range: 800000000000:ffffffffffff [ 0.293770] kvm [1]: vgic-v2@f1040000 [ 0.293828] kvm [1]: vgic interrupt IRQ1 [ 0.293838] kvm [1]: virtual timer IRQ4 [ 0.293892] kvm [1]: Hyp mode initialized successfully [ 0.295643] audit: initializing netlink subsys (disabled) [ 0.295726] audit: type=2000 audit(0.291:1): state=initialized audit_enabled=0 res=1 [ 0.295950] workingset: timestamp_bits=44 max_order=20 bucket_order=0 [ 0.299072] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.299470] NFS: Registering the id_resolver key type [ 0.299491] Key type id_resolver registered [ 0.299495] Key type id_legacy registered [ 0.299503] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.299631] 9p: Installing v9fs 9p2000 file system support [ 0.301093] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 0.301101] io scheduler noop registered [ 0.301199] io scheduler cfq registered (default) [ 0.301204] io scheduler mq-deadline registered [ 0.301208] io scheduler kyber registered [ 0.306365] gpio_rcar e6050000.gpio: driving 16 GPIOs [ 0.306594] gpio_rcar e6051000.gpio: driving 28 GPIOs [ 0.306797] gpio_rcar e6052000.gpio: driving 15 GPIOs [ 0.306996] gpio_rcar e6053000.gpio: driving 16 GPIOs [ 0.307180] gpio_rcar e6054000.gpio: driving 18 GPIOs [ 0.307378] gpio_rcar e6055000.gpio: driving 26 GPIOs [ 0.307569] gpio_rcar e6055400.gpio: driving 32 GPIOs [ 0.307765] gpio_rcar e6055800.gpio: driving 4 GPIOs [ 0.326177] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.327725] SuperH (H)SCI(F) driver initialized [ 0.328146] e6e88000.serial: ttySC0 at MMIO 0xe6e88000 (irq = 139, base_baud = 0) is a scif [ 1.424882] console [ttySC0] enabled [ 1.429315] msm_serial: driver initialized [ 1.434422] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 1.441043] [drm] No driver support for vblank timestamp query. [ 1.447499] rcar-dw-hdmi fead0000.hdmi: Detected HDMI TX controller v2.01a with HDCP (DWC HDMI 2.0 TX PHY) [ 1.457336] rcar-dw-hdmi fead0000.hdmi: registered DesignWare HDMI I2C bus driver [ 1.470891] brd: module loaded [ 1.478402] loop: module loaded [ 1.494743] libphy: Fixed MDIO Bus: probed [ 1.499093] tun: Universal TUN/TAP device driver, 1.6 [ 1.505151] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k [ 1.511170] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 1.517131] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k [ 1.524107] igb: Copyright (c) 2007-2014 Intel Corporation. [ 1.529704] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k [ 1.537536] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 1.543801] sky2: driver version 1.30 [ 1.548255] ravb e6800000.ethernet: no valid MAC address supplied, using a random one [ 1.556152] libphy: ravb_mii: probed [ 1.560769] ravb e6800000.ethernet eth0: Base address at 0xe6800000, 62:ee:99:bb:a7:a4, IRQ 136. [ 1.570101] VFIO - User Level meta-driver version: 0.3 [ 1.576303] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.582834] ehci-pci: EHCI PCI platform driver [ 1.587299] ehci-platform: EHCI generic platform driver [ 1.592799] ehci-platform ee0a0100.usb: EHCI Host Controller [ 1.598473] ehci-platform ee0a0100.usb: new USB bus registered, assigned bus number 1 [ 1.606445] ehci-platform ee0a0100.usb: irq 146, io mem 0xee0a0100 [ 1.628637] ehci-platform ee0a0100.usb: USB 2.0 started, EHCI 1.10 [ 1.635158] hub 1-0:1.0: USB hub found [ 1.638920] hub 1-0:1.0: 1 port detected [ 1.643102] ehci-orion: EHCI orion driver [ 1.647241] ehci-exynos: EHCI EXYNOS driver [ 1.651508] ehci-msm: Qualcomm On-Chip EHCI Host Controller [ 1.657151] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.663361] ohci-pci: OHCI PCI platform driver [ 1.667839] ohci-platform: OHCI generic platform driver [ 1.673225] ohci-platform ee0a0000.usb: Generic Platform OHCI controller [ 1.679936] ohci-platform ee0a0000.usb: new USB bus registered, assigned bus number 2 [ 1.687847] ohci-platform ee0a0000.usb: irq 146, io mem 0xee0a0000 [ 1.782910] hub 2-0:1.0: USB hub found [ 1.786671] hub 2-0:1.0: 1 port detected [ 1.790813] ohci-exynos: OHCI EXYNOS driver [ 1.795547] usbcore: registered new interface driver usb-storage [ 1.801603] usbcore: registered new interface driver usbserial [ 1.807453] usbcore: registered new interface driver usbserial_generic [ 1.813992] usbserial: USB Serial support registered for generic [ 1.822387] i2c /dev entries driver [ 1.833146] cs2000-cp 2-004f: revision - C1 [ 1.837376] i2c-rcar e6510000.i2c: probed [ 1.846003] i2c-rcar e66d8000.i2c: probed [ 1.850492] usbcore: registered new interface driver i2c-tiny-usb [ 1.858064] imr fe860000.imr-lx4: IMR device (pdev: -1) registered as /dev/video0 [ 1.865757] imr fe870000.imr-lx4: IMR device (pdev: -1) registered as /dev/video1 [ 1.873387] imr fe880000.imr-lx4: IMR device (pdev: -1) registered as /dev/video2 [ 1.881003] imr fe890000.imr-lx4: IMR device (pdev: -1) registered as /dev/video3 [ 1.892080] rcar_gen3_thermal e6198000.thermal: is using pseudo fixed FUSE values [ 1.904493] rcar_gen3_thermal e6198000.thermal: TSC0: Loaded 1 trip points [ 1.915812] rcar_gen3_thermal e6198000.thermal: TSC1: Loaded 1 trip points [ 1.927080] rcar_gen3_thermal e6198000.thermal: TSC2: Loaded 3 trip points [ 1.936207] sdhci: Secure Digital Host Controller Interface driver [ 1.942394] sdhci: Copyright(c) Pierre Ossman [ 1.947274] renesas_sdhi_internal_dmac ee100000.sd: Got CD GPIO [ 1.953425] Synopsys Designware Multimedia Card Interface Driver [ 1.960174] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.967100] ledtrig-cpu: registered to indicate activity on CPUs [ 1.974050] usbcore: registered new interface driver usbhid [ 1.979626] usbhid: USB HID core driver [ 1.984346] optee: probing for conduit method from DT. [ 1.984651] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 1.996781] R-Car Rev.1.0.8 [ 1.999890] optee: initialized driver [ 2.004952] usbcore: registered new interface driver snd-usb-audio [ 2.019227] rcar_sound ec500000.sound: probed [ 2.023915] NET: Registered protocol family 17 [ 2.028422] 9pnet: Installing 9P2000 support [ 2.032739] Key type dns_resolver registered [ 2.037915] registered taskstats version 1 [ 2.047017] thermal emergency: set temperature to 110 celsius [ 2.052832] thermal emergency: shutdown target cpus 1-3 [ 2.058056] thermal emergency: freq scaled target cpus 0 [ 2.063668] renesas_irqc e61c0000.interrupt-controller: driving 6 irqs [ 2.071503] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 2.078129] [drm] No driver support for vblank timestamp query. [ 2.147727] hub 1-1:1.0: USB hub found [ 2.151652] hub 1-1:1.0: 4 ports detected [ 2.251577] Console: switching to colour frame buffer device 240x67 [ 2.274840] rcar-du feb00000.display: fb0: frame buffer device [ 2.280995] [drm] Initialized rcar-du 1.0.0 20130110 for feb00000.display on minor 0 [ 2.288740] [drm] Device feb00000.display probed [ 2.294385] bd9571mwv 7-0030: Device: BD9571MWV rev. 1 [ 2.304694] renesas_sdhi_internal_dmac ee100000.sd: Got CD GPIO [ 2.372989] renesas_sdhi_internal_dmac ee100000.sd: mmc0 base at 0xee100000 max clock rate 200 MHz [ 2.383200] asoc-simple-card sound: ak4613-hifi <-> ec500000.sound mapping ok [ 2.390356] asoc-simple-card sound: ASoC: no DMI vendor name! [ 2.398750] input: keyboard as /devices/platform/keyboard/input/input0 [ 2.405480] hctosys: unable to open rtc device (rtc0) [ 2.411026] ALSA device list: [ 2.413997] #0: Loopback 1 [ 2.416875] #1: ak4613 [ 2.419744] Waiting 2 sec before mounting root device... [ 2.460636] usb 1-1.1: new full-speed USB device number 3 using ehci-platform [ 2.596971] input: ILITEK Multi-Touch-V5100 as /devices/platform/soc/ee0a0100.usb/usb1/1-1/1-1.1/1-1.1:1.0/0003:222A:011E.0001/input/input1 [ 2.609611] hid-multitouch 0003:222A:011E.0001: input: USB HID v1.10 Device [ILITEK Multi-Touch-V5100] on usb-ee0a0100.usb-1.1/input0 [ 2.622380] hid-generic 0003:222A:011E.0002: device has no listeners, quitting [ 2.686881] mmc0: new ultra high speed SDR104 SDHC card at address aaaa [ 2.693689] mmcblk0: mmc0:aaaa SL16G 14.8 GiB [ 2.701819] mmcblk0: p1 [ 2.720635] usb 1-1.4: new full-speed USB device number 4 using ehci-platform [ 4.448658] md: Skipping autodetection of RAID arrays. (raid=autodetect will force) [ 4.456436] Waiting for root device /dev/mmcblk1p1...
Hi, I report because this issue progress has changed.
I seemed that the U-boot parameters(discribed at http://docs.automotivelinux.org/docs/getting_started/en/dev/reference/machines/R-Car-Starter-Kit-gen3.html) were wrong from the previous Booting log.
[ 2.693689] mmcblk0: mmc0:aaaa SL16G 14.8 GiB [ 2.701819] mmcblk0: p1 [ 2.720635] usb 1-1.4: new full-speed USB device number 4 using ehci-platform [ 4.448658] md: Skipping autodetection of RAID arrays. (raid=autodetect will force) [ 4.456436] Waiting for root device /dev/mmcblk1p1...
So, I tried changing the device name from "/dev/mmcblk1p1" to "/dev/mmcblk0p1".
And reboot, the shell is launched completely but home-screen is not shown at hdmi-display yet.
The kernel outputs trace log of WARNING below.
[ 16.128912] -----------[ cut here ]----------- [ 16.133663] WARNING: CPU: 1 PID: 54 at /mnt/AGL/workspace_agl_ff_6.0.0_rcar/build-h3/tmp/work/h3ulcb-agl-linux/kernel-module-gles/1.0-r0/rogue_km/binary_r8a7795_linux_release/target_aarch64/kbuild/services/server/devices/rgx/rgxfwutils.c:4115 RGXCheckFirmwareCCB+0x210/0x330 [pvrsrvkm] [ 16.160150] Modules linked in: can_bcm can bnep nfc btwilink st_drv bluetooth ecdh_generic rfkill crc32_ce crct10dif_ce pvrsrvkm(O) vspm_if(O) vsp2(O) vspm(O) uvcs_drv(O) mmngrbuf(O) mmngr(O) hdm_usb(O) hdm_i2c(O) hdm_dim2(O) aim_v4l2(O) aim_sound(O) aim_network(O) aim_cdev(O) mostcore(O) ipv6 [ 16.186172] CPU: 1 PID: 54 Comm: kworker/u16:2 Tainted: G O 4.14.0-yocto-standard #1 [ 16.195037] Hardware name: Renesas H3ULCB board based on r8a7795 ES1.x (DT) [ 16.202108] Workqueue: pvr_workqueue MISRWrapper [pvrsrvkm] [ 16.207676] task: ffff8006fae20000 task.stack: ffff000009b40000 [ 16.213698] PC is at RGXCheckFirmwareCCB+0x210/0x330 [pvrsrvkm] [ 16.219761] LR is at RGXCheckFirmwareCCB+0x210/0x330 [pvrsrvkm] [ 16.225676] pc : [<ffff000000ce6e28>] lr : [<ffff000000ce6e28>] pstate: 60000145 [ 16.233063] sp : ffff000009b43d60 [ 16.236371] x29: ffff000009b43d60 x28: 0000000000000000 [ 16.241680] x27: 0000000000000000 x26: ffff0000210790a0 [ 16.246988] x25: 0000000070014008 x24: ffff8006f4a705e8 [ 16.252296] x23: ffff000000d45618 x22: ffff8006f4a70000 [ 16.257603] x21: ffff000021079080 x20: 0000000000000020 [ 16.262911] x19: ffff000021079040 x18: 0000000000000010 [ 16.268219] x17: 00000000000012c8 x16: 00000000000012cc [ 16.273526] x15: 0000000000000001 x14: 0000000000000400 [ 16.278833] x13: 0000000000000400 x12: 0000000000000000 [ 16.284141] x11: 0000000000000005 x10: 0000000000000000 [ 16.289448] x9 : 00000000006cd4b7 x8 : ffff8006ffeea6c0 [ 16.294756] x7 : ffff8006ffeea668 x6 : 00000000000000a7 [ 16.300063] x5 : 0000000000000001 x4 : ffff0000091d2c00 [ 16.305370] x3 : 00000000000f4240 x2 : ffff8006fa5e7088 [ 16.310678] x1 : 0000000000000000 x0 : 0000000000000002 [ 16.315986] Call trace: [ 16.318427] Exception stack(0xffff000009b43c20 to 0xffff000009b43d60) [ 16.324862] 3c20: 0000000000000002 0000000000000000 ffff8006fa5e7088 00000000000f4240 [ 16.332684] 3c40: ffff0000091d2c00 0000000000000001 00000000000000a7 ffff8006ffeea668 [ 16.340507] 3c60: ffff8006ffeea6c0 00000000006cd4b7 0000000000000000 0000000000000005 [ 16.348329] 3c80: 0000000000000000 0000000000000400 0000000000000400 0000000000000001 [ 16.356152] 3ca0: 00000000000012cc 00000000000012c8 0000000000000010 ffff000021079040 [ 16.363974] 3cc0: 0000000000000020 ffff000021079080 ffff8006f4a70000 ffff000000d45618 [ 16.371796] 3ce0: ffff8006f4a705e8 0000000070014008 ffff0000210790a0 0000000000000000 [ 16.379619] 3d00: 0000000000000000 ffff000009b43d60 ffff000000ce6e28 ffff000009b43d60 [ 16.387441] 3d20: ffff000000ce6e28 0000000060000145 ffff000009b43d60 ffff000000ce6e28 [ 16.395263] 3d40: ffffffffffffffff 0000000000000020 ffff000009b43d60 ffff000000ce6e28 [ 16.403248] [<ffff000000ce6e28>] RGXCheckFirmwareCCB+0x210/0x330 [pvrsrvkm] [ 16.410302] [<ffff000000ce893c>] RGX_MISRHandler+0x24/0x38 [pvrsrvkm] [ 16.416840] [<ffff000000cb5058>] MISRWrapper+0x18/0x20 [pvrsrvkm] [ 16.422935] [<ffff0000080e06bc>] process_one_work+0x1d4/0x348 [ 16.428675] [<ffff0000080e0878>] worker_thread+0x48/0x470 [ 16.434070] [<ffff0000080e6b64>] kthread+0x12c/0x130 [ 16.439033] [<ffff000008084c10>] ret_from_fork+0x10/0x18 [ 16.444339] --[ end trace da55878e442ea43e ]--
I should do something else?
Perhaps, my knowledge may be missing, but I appreciate if someone let me know advice to solve it.
> [ 0.005858] NOTICE: BL2: PRR is R-Car H3 Ver1.1 According to this log you are using H3 v1.1.
AGL 6.0.0 is based on Yocto v3.7.0.
And Yocto v3.7.0 doesn't support H3 v1.1 SK. Please refer to the following.
https://elinux.org/R-Car/Boards/H3SK#Limitation
Currently, H3 v2.0 and M3 SK are out of stock. I hope that you already have H3 v2.0 SK or M3 SK.
PCM3168A driver opened in eLinux seems to have some tentative implementations to support LINEout x8ch (CN12) for Kingfisher. e.g. no support 16_LE. If my understanding is correct, can I ask if there is any plan to replace the tentative implementation with permanent one?
Thanks, WN
8bit parallel video driver opened in eLinux seems to have some tentative implementationsp. If my understanding is correct, can I ask if there is any plan to replace the tentative implementation with permanent one?
"LEGACY" was observed in Kernel configuration like below:
VIDEO_RCAR_VIN_LEGACY VIDEO_RCAR_CSI2_LEGACY
Patch title also contains the same:
media: soc_camera: add legacy VIN/CSI2
https://github.com/CogentEmbedded/meta-rcar/tree/v3.9.0/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas 0013-IMR-driver-interim-patch.patch 0017-media-soc_camera-add-legacy-VIN-CSI2.patch 0030-Gen3-LVDS-cameras.patch 0032-media-i2c-Add-ov5642-sensor.patch 0033-media-soc-camera-fix-parallel-i-f-in-VIN.patch 0034-media-soc_camera-Fix-VIDIOC_S_SELECTION-ioctl-miscal.patch 0105-media-rcar-imr-IMR-driver-updates-for-raw-DL.patch 0106-media-rcar-imr-Add-RSE-support.patch
Thanks, WN
It seems that it is currently active in the public place.
Ex) https://patchwork.kernel.org/patch/10558575/
Reset button (SW8) and Power button (SW9) do not work when M3 starter Kit connected to Kingfisher board.
We need this in order to evaluate fastboot feature with Camera connected to Kingfisher.
Any workaround?
Note: SW8 and SW9 work fine without connecting Kingfisher board to M3 starter Kit.
[Use Case]
1. Connect M3 starter Kit to Kingfisher Advanced Model board.
2. Boot up the board.
3. Press SW9 for resetting the board, without physical power disconnection. (Volatile memory should be maintained.)
OR
1. Connect M3 starter Kit to Kingfisher Advanced Model board.
2. Boot up the board.
3. Software suspend the board. Press SW8 in order to power on the board, without physical power disconnection. (Volatile memory should be maintained.)
[Board and other env.]
Renesas RCAR M3 Starter Kit
Sample Loader V3.02 2017.07.04 (M3 Starter Kit)
MiniMonitor V3.02 2017.07.04 (M3 Starter Kit)
Kingfisher Board Version (SBEV-RCAR-KF-M05)
Thanks,
WN
According to the schematic the power supply seems to be controlled from Kingfisher(M05). I think you can not control power from SW8.
Is there any switch/workaround to reset the kingfisher board ? Or would this be considered as a hardware limitation and no work around possible ? Although we would hope this is not the case.
SW9 on Starter Kit can reset to CPU( and devices on Starter Kit).
However it cannot reset to devices on Kingfisher.
Why do you need reset rather than SW6 on Kingfisher?
>>Why do you need reset rather than SW6 on Kingfisher?
We want to evaluate suspend to RAM mode of hibernation. For this, we are expecting to keep the power ON for the board so that during hibernation the contents of RAM are not lost. Software control for reset is not present so we need a RESET functionality equivalent like provided by SW8.
Also we need kingfisher board for getting CAMERA interface CN29 access to M3 target.
SW6 erases the RAM contents so we are not able to use it.
Would you please let us know any workarounds, if possible, for this use case ?
Thanks in advance.
Hi
i build a yocto 2.23.1 with ADAS setup for H3 v2 board and an adas view card (boot with Image-r8a7795-h3ulcb-view.dtb)
but i have a crash when i start the surround test:
[30.855979] 894ac000:[DISPLAY_WL.INIT] Wayland display interface initialized
[30.856564] 894ac000:[DISPLAY_WL.INIT] spacenav input added
[30.856603] 894ac000:[DISPLAY_WL.INIT] no joystick connected
sv-utest: /opt/storage/projects/renesas/public_releases/SV_closed/libsv/src/utils/CV4L2UserControl.cpp:68: virtual void CV4L2UserControl::internalSet(int): Assertion `-1 != ret' failed.
Aborted (core dumped)
same problem with low level test (under /usr/share/tests)
[ 401.533829] imr fe890000.imr-lx4: unsupported format request: 'XR24'
[ 401.545811] imr fe860000.imr-lx4: unsupported format request: 'XR24'
[ 401.557503] imr fe870000.imr-lx4: unsupported format request: 'XR24'
[ 401.570159] imr fe880000.imr-lx4: unsupported format request: 'XR24'
[ 401.580563] imr fe890000.imr-lx4: unsupported format request: 'XR24'
Could you help me?
charles
How to use usb webcam in H3??
Because I use python opencv
>> cap = cv2.VideoCapture(0)
It doesn't capture webcam
How to solve this problem??
Hi
I write information when I checked the usb webcam using Yocto v2.23.0.
I don't understand your detailed environment, but I am glad if this is helpful for you.
Environment:
- H3 Starter Kit
- Yocto v2.23.0
- USB Webcam Logicool C920t
1. Enable the following kernel config. Device Drivers --> Multimedia support ---> [*] Media USB Adapters [*] USB Video Class (UVC) [*] UVC input events device support (NEW) 2. Modify the gstreamer1.0-plugin-vspfilter # vi gst/vspfilter/vspfilterutils.c {GST_VIDEO_FORMAT_UYVY, V4L2_PIX_FMT_UYVY, V4L2_MBUS_FMT_AYUV8_1X32, 1}, + {GST_VIDEO_FORMAT_YUY2, V4L2_PIX_FMT_YUYV, V4L2_MBUS_FMT_AYUV8_1X32, 1}, 3. bitbake 4. How to run Ex) # gst-launch-1.0 v4l2src device=/dev/video16 ! video/x-raw,width=1920,height=1080 ! vspfilter ! video/x-raw,format=BGRA ! waylandsink * videoN: Please set according to your environment. Ex) In case of M3 SK it was video8.
My environment : - Yocto v2.19.0 - USB Webcam logitech HD WEBCAM C525
I refer https://elinux.org/R-Car/Boards/Yocto-Gen3/OpenCL & https://elinux.org/index.php?title=R-Car/Boards/Yocto-Gen3&oldid=449821
sorry I don't know where can I revise the code you say in the first 1. Enable the following kernel config.
Device Drivers --> Multimedia support ---> [*] Media USB Adapters [*] USB Video Class (UVC) [*] UVC input events device support (NEW)
Please refer to the chapter 2.3.2 of https://www.yoctoproject.org/docs/1.6.1/kernel-dev/kernel-dev.html
I want to evaluate cryptographic algorithms on the boot loader before Linux starts up.
We plan to include evaluation software in ARM Trusted Firmware (bl31-h3ulcb).
ARM Trusted Firmware has no encryption algorithm, so we are considering using a library in OP-TEE (tee-h3ulcb).
For example, in evaluating signature verification using RSA, the following processing is considered necessary.
・ Register the public key and secret key.
・ And generates a hash value of the evaluation target data. (For example SHA 256)
・ Generate a signature by encrypting the hash value with the secret key.
・ Generate a hash value by decrypting the signature with the public key.
Among these processes, I do not know how to register the public key and secret key to OP-TEE.
Please tell me what kind of processing can be realized from ARM Trusted Firmware.
I am not a product planning representative.
I'm considering running cryptographic algorithms implemented on R-Car H3 on a boot loader on which Linux is not running.
I will concretely describe what I can not realize.
First, when ARM Trusted Firmware jumps to the address where the OP-TEE function exists, an exception will be raised.
After that, "plat_panic_handler" will be in infinite loop state.
I guess that it is probably guarded by MMU, but I do not know how to deal with it.
Second, About signature verification using key of RSA.
In order to register the key of RSA, I guess using functions like "alloc_rsa_public_key" and "alloc_rsa_keypair" in OP - TEE.
However, I do not know how to use functions such as arguments and procedures.
I am trying to flash the linux kernel and device tree using flash writer I created the srec files, but also an over size error appeared, is it possible to flash those file with flash writer?
Can the following information help you?(Note:The "Program Top Address" is different according to Yocto version)
H3 Starter Kit case: https://elinux.org/R-Car/Boards/H3SK#Flashing_firmware
M3 Starter Kit case: https://elinux.org/R-Car/Boards/M3SK#Flashing_firmware
Hello,
I have managed to successfully build OpenCL/ViennaCL, OpenCV, Caffe, etc. following the instructions here http://elinux.org/R-Car/Boards/Yocto-Gen3/OpenCL Unfortunately I am having trouble installing the python bindings for caffe (which allows one to simply import caffe in python and run caffe commands natively in python). I tried to do this by changing the CMake parameter -DBUILD_python in caffe_git.bb to ON. My error is as follows. I've tried setting the various python (and git and boost) paths manually but none seem to work correctly. Has anybody else had experience with this?
DEBUG: Executing python function sysroot_cleansstate DEBUG: Python function sysroot_cleansstate finished DEBUG: Executing shell function do_configure -- The C compiler identification is GNU 5.2.1 -- The CXX compiler identification is GNU 5.2.1 -- Check for working C compiler: /home/eli/build/build/tmp/sysroots/x86_64-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc -- Check for working C compiler: /home/eli/build/build/tmp/sysroots/x86_64-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /home/eli/build/build/tmp/sysroots/x86_64-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -- Check for working CXX compiler: /home/eli/build/build/tmp/sysroots/x86_64-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Boost version: 1.60.0 -- Found the following Boost libraries: -- system -- thread -- filesystem -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found GFlags: /home/eli/build/build/tmp/sysroots/h3ulcb/usr/include -- Found gflags (include: /home/eli/build/build/tmp/sysroots/h3ulcb/usr/include, library: /home/eli/build/build/tmp/sysroots/h3ulcb/usr/lib/libgflags.so) -- Found Glog: /home/eli/build/build/tmp/sysroots/h3ulcb/usr/include -- Found glog (include: /home/eli/build/build/tmp/sysroots/h3ulcb/usr/include, library: /home/eli/build/build/tmp/sysroots/h3ulcb/usr/lib/libglog.so) -- Found PROTOBUF: /home/eli/build/build/tmp/sysroots/h3ulcb/usr/lib/libprotobuf.so -- Found PROTOBUF Compiler: /home/eli/build/build/tmp/sysroots/x86_64-linux/usr/bin/protoc -- -- CUDA is disabled. Building without it... -- Found ViennaCL include: /home/eli/build/build/tmp/sysroots/h3ulcb/usr/include -- Found OpenCL: /home/eli/build/build/tmp/sysroots/h3ulcb/usr/lib/libOpenCL.so -- Found OpenCL include: /home/eli/build/build/tmp/sysroots/h3ulcb/usr/include -- OpenCV found (/home/eli/build/build/tmp/sysroots/h3ulcb/usr/share/OpenCV) -- Found OpenBLAS libraries: /home/eli/build/build/tmp/sysroots/h3ulcb/usr/lib/libopenblas.so -- Found OpenBLAS include: /home/eli/build/build/tmp/sysroots/h3ulcb/usr/include -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7") -- Found PythonLibs: /home/eli/build/build/tmp/sysroots/h3ulcb/usr/lib/libpython2.7.so (found suitable version "2.7.11", minimum required is "2.7") -- To find NumPy Python interpretator is required to be found. -- Could NOT find NumPy (missing: NUMPY_INCLUDE_DIR NUMPY_VERSION) (Required is at least version "1.7.1") -- Could NOT find Boost -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Python interface is disabled or not all required dependencies found. Building without it... -- Could NOT find Git (missing: GIT_EXECUTABLE)
-- ******************* Caffe Configuration Summary ******************* -- General: -- Version : 1.0.0 -- Git : unknown -- System : Linux -- C++ compiler : /home/eli/build/build/tmp/sysroots/x86_64-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -- Release CXX flags : -DNDEBUG -march=armv8-a -mtune=cortex-a57.cortex-a53 --sysroot=/home/eli/build/build/tmp/sysroots/h3ulcb -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix- map=/home/eli/build/build/tmp/work/aarch64-poky-linux/caffe/git-r0=/usr/src/debug/caffe/git-r0 -fdebug-prefix-map=/home/eli/build/build/tmp/sysroots/x86_64-linux= -fdebug-prefix- map=/home/eli/build/build/tmp/sysroots/h3ulcb= -fvisibility-inlines-hidden -fPIC -Wall -std=c++11 -DCMAKE_BUILD -Wno-sign-compare -Wno-uninitialized -- Debug CXX flags : -g -march=armv8-a -mtune=cortex-a57.cortex-a53 --sysroot=/home/eli/build/build/tmp/sysroots/h3ulcb -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix- map=/home/eli/build/build/tmp/work/aarch64-poky-linux/caffe/git-r0=/usr/src/debug/caffe/git-r0 -fdebug-prefix-map=/home/eli/build/build/tmp/sysroots/x86_64-linux= -fdebug-prefix- map=/home/eli/build/build/tmp/sysroots/h3ulcb= -fvisibility-inlines-hidden -fPIC -Wall -std=c++11 -DCMAKE_BUILD -Wno-sign-compare -Wno-uninitialized -- Build type : Release -- BUILD_SHARED_LIBS : ON -- BUILD_python : ON -- BUILD_matlab : OFF -- BUILD_docs : ON -- CPU_ONLY : OFF -- USE_OPENCV : ON -- USE_FFT : OFF -- USE_LEVELDB : OFF -- USE_LMDB : OFF -- USE_NCCL : OFF -- ALLOW_LMDB_NOLOCK : OFF -- USE_HDF5 : OFF -- Dependencies: -- BLAS : Yes (open) -- Boost : Yes (ver. 1.60) -- glog : Yes -- gflags : Yes -- protobuf : Yes (ver. 2.6.1) -- OpenCV : Yes (ver. 3.1.0) -- CUDA : No -- -- Documentaion: -- Doxygen : No -- config_file : -- -- Install: -- Install path : /usr -- -- Configuring done CMake Error at CMakeLists.txt:211 (add_dependencies): The dependency target "pycaffe" of target "pytest" does not exist. -- Generating done -- Build files have been written to: /home/eli/build/build/tmp/work/aarch64-poky-linux/caffe/git-r0/build WARNING: exit code 1 from a shell command. ERROR: Function failed: do_configure (log file is located at /home/eli/build/build/tmp/work/aarch64-poky-linux/caffe/git-r0/temp/log.do_configure.27252)
I have finished building with caffe and pycaffe on h3
I refer https://elinux.org/R-Car/Boards/Yocto-Gen3/OpenCL
and add "IMAGE_FEATURES_append = " tools-sdk dev-pkgs " to your local.conf
this line can add g++ compiler to your yocto system
When you finish building kernel ,you can turn on h3 with sd card.
you can git clone opencl-caffe on your home in h3
you need to build hdf5 boost first
and then you can enter into your opencl caffe with compile command
$ make
$ make pycaffe
hello.
I want to write in Linux Image at eMMC.
Therefore I was going to format eMMC in EXT3 form,
but the following messages were displayed and did not get along well.
Please tell me how I should format it.
root@h3ulcb:/mnt# fdisk /dev/mmcblk0 Device contains neither a valid DOS partition table, nor Sun, SGI, OSF or GPT dl Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that the previous content won't be recoverable. The number of cylinders for this disk is set to 238592. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): d No partition is defined yet! Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-238592, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-238592, default 238592): Using de2 Command (m for help): p Disk /dev/mmcblk0: 7818 MB, 7818182656 bytes 4 heads, 16 sectors/track, 238592 cylinders Units = cylinders of 64 * 512 = 32768 bytes Device Boot Start End Blocks Id System /dev/mmcblk0p1 1 238592 7634936 83 Linux Command (m for help): t Selected partition 1 Hex code (type L to list codes): 83 Command (m for help): w The partition table has been altered. Calling ioctl() to re-read partition table [ 1039.079522] mmcblk0: p1 root@h3ulcb:/mnt# mkfs.ext3 /dev/mmcblk0 -sh: mkfs.ext3: command not found root@h3ulcb:/mnt# ls /sbin/mkfs.ext* ls: cannot access '/sbin/mkfs.ext*': No such file or directory
I am trying to get up and running with the R-Car H3 Starter Kit Premier Board (h3ulcb). I first followed the instructions here http://elinux.org/R-Car/Boards/Yocto-Gen3 to build Yocto 2.19 for the board. When I attempted to run the built Yocto image on the board (both via tftp and via microSD), I received a kernel panic message. The limited resources on the internet (i.e., the other posts on this wiki) indicated this could likely be resolved by updating the firmware. I then followed the instructions here http://elinux.org/R-Car/Boards/H3SK#Flashing_firmware to update the firmware on the board. Now when I turn the board on, I cannot get to the stage where the option of cancelling autoboot (as shown in examples in the links given). I am therefore not able to change U-Boot's environment variables to specify the Image file to boot. It seems that U-Boot is perhaps not loading at all. Any help would be greatly appreciated!
Output of boot sequence is below:
user@user-linux:~$ sudo picocom -b 115200 --send-cmd "ascii-xfr -vvs" /dev/ttyUSB0
[sudo] password for user:
picocom v1.7
port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
nolock is : no
send_cmd is : ascii-xfr -vvs
receive_cmd is : rz -vv
imap is :
omap is :
emap is : crcrlf,delbs,
Terminal ready
[ 0.000194] NOTICE: BL2: R-Car Gen3 Initial Program Loader(CA57) Rev.1.0.14
[ 0.005761] NOTICE: BL2: PRR is R-Car H3 Ver2.0
[ 0.010335] NOTICE: BL2: Board is unknown Rev0.0
[ 0.015006] NOTICE: BL2: Boot device is HyperFlash(80MHz)
[ 0.020445] NOTICE: BL2: LCM state is CM
[ 0.024423] NOTICE: BL2: AVS setting succeeded. DVFS_SetVID=0x52
[ 0.030611] NOTICE: BL2: DDR3200(rev.0.22)NOTICE: [COLD_BOOT]NOTICE: ..0
[ 0.091270] NOTICE: BL2: DRAM Split is 4ch
[ 0.095155] NOTICE: BL2: QoS is default setting(rev.0.14)
[ 0.100655] NOTICE: BL2: Lossy Decomp areas
[ 0.104832] NOTICE: Entry 0: DCMPAREACRAx:0x80000540 DCMPAREACRBx:0x570
[ 0.111917] NOTICE: Entry 1: DCMPAREACRAx:0x40000000 DCMPAREACRBx:0x0
[ 0.118829] NOTICE: Entry 2: DCMPAREACRAx:0x20000000 DCMPAREACRBx:0x0
[ 0.125743] NOTICE: BL2: v1.3(release):4eef9a2
[ 0.130233] NOTICE: BL2: Built : 17:35:56, Jul 13 2017
[ 0.135420] NOTICE: BL2: Normal boot
[ 0.139062] NOTICE: BL2: dst=0xe6320190 src=0x8180000 len=512(0x200)
[ 0.145608] NOTICE: BL2: dst=0x43f00000 src=0x8180400 len=6144(0x1800)
[ 0.152070] NOTICE: BL2: dst=0x44000000 src=0x81c0000 len=65536(0x10000)
[ 0.159295] NOTICE: BL2: dst=0x44100000 src=0x8200000 len=524288(0x80000)
[ 0.169775] NOTICE: BL2: dst=0x50000000 src=0x8640000 len=1048576(0x100000)
I'm not sure if the Renesas engineers are watching these pages to handle support requests. I think you would be better served by asking the question on their board mailing list. See http://elinux.org/R-Car#R-Car_Community.
I have done so. It looks like my problem is similar to the "Firmware update hangs" thread below except that I can actually get the firmware update to happen. The update obviously doesn't work though since U-Boot doesn't load when it should.
I have the same h3ulcb board(RTP0RC77951SKBX010SA00) as you. I updated the loader but it started normally.
[ 0.000194] NOTICE: BL2: R-Car Gen3 Initial Program Loader(CA57) Rev.1.0.14 [ 0.005761] NOTICE: BL2: PRR is R-Car H3 Ver2.0 [ 0.010335] NOTICE: BL2: Board is unknown Rev0.0 [ 0.015006] NOTICE: BL2: Boot device is HyperFlash(80MHz) [ 0.020445] NOTICE: BL2: LCM state is CM [ 0.024423] NOTICE: BL2: AVS setting succeeded. DVFS_SetVID=0x52 [ 0.030611] NOTICE: BL2: DDR3200(rev.0.22)NOTICE: [COLD_BOOT]NOTICE: ..0 [ 0.091235] NOTICE: BL2: DRAM Split is 4ch [ 0.095121] NOTICE: BL2: QoS is default setting(rev.0.14) [ 0.100621] NOTICE: BL2: Lossy Decomp areas [ 0.104798] NOTICE: Entry 0: DCMPAREACRAx:0x80000540 DCMPAREACRBx:0x570 [ 0.111883] NOTICE: Entry 1: DCMPAREACRAx:0x40000000 DCMPAREACRBx:0x0 [ 0.118795] NOTICE: Entry 2: DCMPAREACRAx:0x20000000 DCMPAREACRBx:0x0 [ 0.125709] NOTICE: BL2: v1.3(release):4eef9a2 [ 0.130199] NOTICE: BL2: Built : 10:20:37, Jul 19 2017 [ 0.135386] NOTICE: BL2: Normal boot [ 0.139028] NOTICE: BL2: dst=0xe6320190 src=0x8180000 len=512(0x200) [ 0.145574] NOTICE: BL2: dst=0x43f00000 src=0x8180400 len=6144(0x1800) [ 0.152037] NOTICE: BL2: dst=0x44000000 src=0x81c0000 len=65536(0x10000) [ 0.159261] NOTICE: BL2: dst=0x44100000 src=0x8200000 len=524288(0x80000) [ 0.169741] NOTICE: BL2: dst=0x50000000 src=0x8640000 len=1048576(0x100000) U-Boot 2015.04 (Jul 19 2017 - 10:20:39) CPU: Renesas Electronics R8A7795 rev 2.0 Board: H3ULCB I2C: ready DRAM: 3.9 GiB MMC: sh-sdhi: 0, sh-sdhi: 1 In: serial Out: serial Err: serial Net: ravb Hit any key to stop autoboot: 0 =>
However, the following are different.
[ 0.100623] NOTICE: BL2: Lossy Decomp areas [ 0.104798] NOTICE: Entry 0: DCMPAREACRAx:0x80000540 DCMPAREACRBx:0x570 (snip)
It seems that you changed something. At first, could you build according to procedure of elinux?
I'm sorry. The log was completely the same halfway. Have you updated all the files?
- bootparam_sa0.srec - bl2-h3ulcb.srec - cert_header_sa6.srec - bl31-h3ulcb.srec - tee-h3ulcb.srec - u-boot-elf.srec
Yes. One thing that wasn't clear to me was where to actually get those files. I've been using the ones that are found in ~/tmp/deploy/images/h3ulcb/ after building yocto. Assuming that's the correct path, I'm going to try rebuilding yocto in case I messed something up in that process.
One possible indication of what the issue is: I looked through the Renesas Device Manual https://www.renesas.com/en-us/doc/products/rcar/R-Car_StarterKit_Gen3_H3_M3_DEV_Rev.053.pdf to find a solution and found that in the section on booting the addresses the board boots from are slightly different from those on the e-linux wiki (looking at page 238 in particular). I'm a machine learning guy by trade and my architecture knowledge is rather scant comparatively so maybe this is nothing/not what I thought it means.
I started developing the Yocto Gen3 for the Renesas M3SK. I followed the guide at the link: http://elinux.org/R-Car/Boards/Yocto-Gen3
I was able to complete till step 11 in the 'Building the BSP for Renesas H3ULCB, M3ULCB section'. During the bitbake process I got an error as follows.
NOTE: Sending SIGTERM to runqemu WARNING: Qemu ended unexpectedly, dump data from host is in /tmp/oe-saved-tests/201706200953_qemu DEBUG: Python function do_testimage_auto finished ERROR: Function failed: do_testimage_auto ERROR: Task 10 (/home/pisquare-dev/Yocto/build/build/../poky/meta/recipes-graphics/images/core-image-weston.bb, do_testimage_auto) failed with exit code '1' NOTE: Tasks Summary: Attempted 5155 tasks of which 5154 didn't need to be rerun and 1 failed. No currently running tasks (5154 of 5156)
Summary: 1 task failed:
/home/pisquare-dev/Yocto/build/build/../poky/meta/recipes-graphics/images/core-image-weston.bb, do_testimage_auto
Please help me with this issue.
I got a new WS1.1 Premier starter kit, tried to build 2.19.0 but the kernel was crashing.
Tried to upgrade the firmware, but it failed to download bl2 srec. Now, it is not even booting into u-boot.
I tried downloading the firmware from windows PC (Teraterm) and Linux (minicom), boot params is getting programmed. I can't program none of the other firmware as given in the instructions.
Either it hangs after sending the file (bl2, bl32, cert), or over size error (uboot)
Any inputs to recover the board is welcome.
Address of bl2 has been chenged from Yocto v2.17.0. Please check the following page. http://elinux.org/R-Car/Boards/H3SK#Flashing_firmware
yeah, following the exact instruction in your link. After downloading the bl2 the mini monitor is stuck.
I see that the board can boot into SCIF download, is it possible recover the board by this route?
I've attached the my log.
H3 SAMPLE LOADER V1.16 2016.10.24 CPU : AArch64 CA57 DRAM : LPDDR4 DDR3200 DEVICE: QSPI Flash(S25FS128) at 40MHz DMA BOOT : Normal Boot Backup: DDR Cold Boot jump to 0xE6330000 H3 MiniMonitor V0.23 2016.10.24 Work Memory SystemRAM (H'E6328000-H'E632FFFF) > > >xls2 ===== Qspi/HyperFlash writing of Gen3 Board Command ============= Load Program to Spiflash Writes to any of SPI address. Please select,FlashMemory. 1 : QspiFlash (U5 : S25FS128S) 2 : QspiFlash Board (CN2: S25FL512S) 3 : HyperFlash (SiP internal) Select (1-3)>3 READ ID OK. Program Top Address & Qspi/HyperFlash Save Address ===== Please Input Program Top Address ============ Please Input : H'e6304000 ===== Please Input Qspi/HyperFlash Save Address === Please Input : H'40000 Work RAM(H'50000000-H'53FFFFFF) Clear.... please send ! ('.' & CR stop load) H'00040000-0007FFFF Erasing..Erase Completed SAVE SPI-FLASH....... complete! ======= Qspi/HyperFlash Save Information ================= SpiFlashMemory Stat Address : H'00040000 SpiFlashMemory End Address : H'0005B03B =========================================================== >
If you don't solve it please attach your log.
Issue is not yet resolved, please see log below.
H3 SAMPLE LOADER V1.17 2016.11.08
CPU : AArch64 CA57 DRAM : LPDDR4 DDR3200 DEVICE: QSPI Flash(S25FS128) at 40MHz DMA BOOT : Normal Boot Backup: DDR Cold Boot
jump to 0xE6330000
H3 MiniMonitor V0.24 2016.11.08
Work Memory SystemRAM (H'E6328000-H'E632FFFF)
>xls2
Contents
Qspi/HyperFlash writing of Gen3 Board Command ========[edit]
Load Program to Spiflash Writes to any of SPI address. Please select,FlashMemory.
1 : QspiFlash (U5 : S25FS128S) 2 : QspiFlash Board (CN2: S25FL512S) 3 : HyperFlash (SiP internal) Select (1-3)>3 READ ID OK.
Program Top Address & Qspi/HyperFlash Save Address
Please Input Program Top Address =======[edit]
Please Input : H'e6320000
== Please Input Qspi/HyperFlash Save Address[edit]
Please Input : H'0
Work RAM(H'50000000-H'53FFFFFF) Clear.... please send ! ('.' & CR stop load) SPI Data Clear(H'FF) Check :H'00000000-0003FFFF Erasing..Erase Completed SAVE SPI-FLASH....... complete!
= Qspi/HyperFlash Save Information ===========[edit]
SpiFlashMemory Stat Address : H'00000000 SpiFlashMemory End Address : H'00000E67
===============================================[edit]
>xls2
Qspi/HyperFlash writing of Gen3 Board Command ========[edit]
Load Program to Spiflash Writes to any of SPI address. Please select,FlashMemory.
1 : QspiFlash (U5 : S25FS128S) 2 : QspiFlash Board (CN2: S25FL512S) 3 : HyperFlash (SiP internal) Select (1-3)>3 READ ID OK.
Program Top Address & Qspi/HyperFlash Save Address
Please Input Program Top Address =======[edit]
Please Input : H'44000000
== Please Input Qspi/HyperFlash Save Address[edit]
Please Input : H'1C0000
Work RAM(H'50000000-H'53FFFFFF) Clear.... please send ! ('.' & CR stop load) Program over size Error
SpiFlashMemory Stat Address : H'001C0000 SpiFlashMemory End Address : H'105C05D3
>xls2
Qspi/HyperFlash writing of Gen3 Board Command ========[edit]
Load Program to Spiflash Writes to any of SPI address. Please select,FlashMemory.
1 : QspiFlash (U5 : S25FS128S) 2 : QspiFlash Board (CN2: S25FL512S) 3 : HyperFlash (SiP internal) Select (1-3)>3 READ ID OK.
Program Top Address & Qspi/HyperFlash Save Address
Please Input Program Top Address =======[edit]
Please Input : H'e6302000
== Please Input Qspi/HyperFlash Save Address[edit]
Please Input : H'40000
Work RAM(H'50000000-H'53FFFFFF) Clear.... please send ! ('.' & CR stop load)
Currently, two CA57s are running in StarterKitPro. Could you tell me how to boot with six cores total of two CA57s and four CA53s?
To try it here, CA57CA53BOOT = "1" was added to local.conf.
root@m3ulcb:~# cat /proc/cpuinfo processor : 0 BogoMIPS : 16.66 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd07 CPU revision : 3 processor : 1 BogoMIPS : 16.66 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd07 CPU revision : 3
Hi
This is quoted from the AGL mailing list.
[agl-discussions] A53 CPU on renesas board? 2017/05/10 (水) 18:01
> Out of curiosity, A53 cores on R-Car board (in additoin to A57 cores) could also be enabled for AGL system easily (for accelaration), or rather to be used to host different OSs? > Hello, In order to enable the A53 CPU's on the r-car boards, you need to add this line in meta-rcar/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb: export PSCI_DISABLE_BIGLITTLE_IN_CA57BOOT="0" and rebuild and reflash the firmware as explained in http://elinux.org/R-Car/Boards/M3SK.
Is this useful for you?
I am trying to build Linux (2.16.0) for HAD Solution Kit.
However, the following error message appears and can not be built.
Is there anything you can understand?
ERROR: gstreamer1.0-plugins-bad-1.6.3-r0 do_init_submodule: Function failed: do_init_submodule (log file is located at /mnt/work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.6.3-r0/temp/log.do_init_submodule.18637) ERROR: Logfile of failure stored in: /mnt/work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.6.3-r0/temp/log.do_init_submodule.18637 ERROR: Task 1796 (/mnt/work/build/../poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.6.3.bb, do_init_submodule) failed with exit code '1' ERROR: gstreamer1.0-plugins-good-1.6.3-r0 do_init_submodule: Function failed: do_init_submodule (log file is located at /mnt/work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-good/1.6.3-r0/temp/log.do_init_submodule.23409) ERROR: Logfile of failure stored in: /mnt/work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-good/1.6.3-r0/temp/log.do_init_submodule.23409 ERROR: Task 1782 (/mnt/work/build/../poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.6.3.bb, do_init_submodule) failed with exit code '1' ERROR: kernel-module-vspm-1.0-r0 do_populate_lic: The recipe kernel-module-vspm is trying to install files into a shared area when those files already exist. Those files and their manifest location are: /mnt/work/build/tmp/deploy/licenses/kernel-module-vspm/generic_MIT Matched in manifest-salvator_x-kernel-module-vspm.populate_lic /mnt/work/build/tmp/deploy/licenses/kernel-module-vspm/GPL-COPYING Matched in manifest-salvator_x-kernel-module-vspm.populate_lic /mnt/work/build/tmp/deploy/licenses/kernel-module-vspm/generic_GPLv2 Matched in manifest-salvator_x-kernel-module-vspm.populate_lic /mnt/work/build/tmp/deploy/licenses/kernel-module-vspm/recipeinfo Matched in manifest-salvator_x-kernel-module-vspm.populate_lic /mnt/work/build/tmp/deploy/licenses/kernel-module-vspm/MIT-COPYING Matched in manifest-salvator_x-kernel-module-vspm.populate_lic Please verify which recipe should provide the above files. The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switching DISTRO_FEATURES on an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above. ERROR: kernel-module-vspm-1.0-r0 do_populate_lic: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases. ERROR: kernel-module-vspm-1.0-r0 do_populate_lic: Function failed: sstate_task_postfunc ERROR: Logfile of failure stored in: /mnt/work/build/tmp/work/h3ulcb-poky-linux/kernel-module-vspm/1.0-r0/temp/log.do_populate_lic.16804 ERROR: Task 1578 (/mnt/work/build/../meta-renesas/meta-rcar-gen3/recipes-kernel/kernel-module-vspm/kernel-module-vspm.bb, do_populate_lic) failed with exit code '1'
Please hold on until the end of this week
The BSP2.16 supports only basic/reference boards
HAD and .View boards will be added this week.
Please use temporary bsp2.12 http://elinux.org/R-Car/Boards/Yocto-Gen3-legacy
Hi
I followed all the steps to make yocto image.
I get the following error during bitbake.
Please tell me How can i solve this error.
Regard.
Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "m3ulcb"
DISTRO = "poky"
DISTRO_VERSION = "2.0.2"
TUNE_FEATURES = "aarch64 cortexa57-cortexa53"
TARGET_FPU = ""
SOC_FAMILY = "rcar-gen3:r8a7796"
meta
meta-yocto
meta-yocto-bsp = "tmp:40376446904ae3529be41737fed9a0b650ed167d"
meta-rcar-gen3 = "v2.12.0:2b0598e0a252a8cf1dc4edacf4ef3a7071dbfd87"
meta-linaro-toolchain = "tmp:9b1fd178309544dff1f7453e796a9437125bc0d9"
meta-oe = "tmp:8ab04afbffb4bc5184cfe0655049de6f44269990"
・
・
・
・
・
In file included from .../work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.4.5-r0/git/ext/wayland/gstwaylandsink.h:30:0,
from .../work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.4.5-r0/git/ext/wayland/gstwaylandsink.c:44:
.../work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.4.5-r0/git/ext/wayland/wldisplay.h:27:42: fatal error: linux-dmabuf-client-protocol.h: No such file or directory
compilation terminated.
make[3]: *** [libgstwaylandsink_la-gstwaylandsink.lo] Error 1
make[3]: Leaving directory `.../work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.4.5-r0/build/ext/wayland'
make[2]: *** [wayland] Error 2
make[2]: Leaving directory `.../work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.4.5-r0/build/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `.../work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.4.5-r0/build'
make: *** [all] Error 2
WARNING: exit code 1 from a shell command.
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at .../work/build/tmp/work/aarch64-poky-linux/gstreamer1.0-plugins-bad/1.4.5-r0/temp/log.do_compile.2811)
ERROR: Task 2138 (.../work/build/../poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.4.5.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2510 tasks of which 2509 didn't need to be rerun and 1 failed.
No currently running tasks (2509 of 4905)
I am using ubuntu 14.04 LTE. I solved it by executing the following command.
$ sudo apt-get update $ sudo apt-get upgrade
After that,
$ sudo apt-get install ***
Was executed.
The
"apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm python-crypto"
It is.
That is,
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm python-crypto
execute.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:Talk:R-Car/Boards/Yocto-Gen3/IBuild Linux for the R-Car-M3 Starter Kit Pro.
![]() First page |
![]() Previous page |
![]() Next page |
![]() Last page |