[agl-discussions] Navigation app is not launching on RaspberryPi3 with EEL 5.1.0

Madhu B madhu1313b at gmail.com
Thu Oct 11 11:21:45 UTC 2018


Hi Marc,
             I've used the UUID of the /dev/mmcblkxx instead of it's name
directly as specified in
https://www.raspberrypi.org/documentation/configuration/external-storage.md.
Is there any issue, if we use UUID instead of block device
name(/dev/mmcblkxx)?

My /etc/fstab file is

# stock fstab - you probably want to override this with a machine specific
one

/dev/root            /                    auto       defaults
1  1
proc                 /proc                proc       defaults
0  0
devpts               /dev/pts             devpts     mode=0620,gid=5
0  0
tmpfs                /run                 tmpfs
mode=0755,nodev,nosuid,strictatime 0  0
tmpfs                /var/volatile        tmpfs      defaults
0  0

# uncomment this if your device has a SD/MMC/Transflash slot
#/dev/mmcblk0p1       /media/card          auto       defaults,sync,noauto
0  0

UUID=1195b956-784f-4ea3-8783-238ef368235a /mnt/HDD ext4
defaults,auto,umask=000,users,rw 0 0

The last statement is for mounting the new partition.

Regards,
-Madhu.

---------- Forwarded message ---------
From: Marc Murphy <marc.murphy at sancloud.co.uk>
Date: Thu, Oct 11, 2018 at 4:40 PM
Subject: Re: [agl-discussions] Navigation app is not launching on
RaspberryPi3 with EEL 5.1.0 (Madhu B)
To: Madhu B <madhu1313b at gmail.com>
Cc: I37546_CHIN at aisin-aw.co.jp <I37546_CHIN at aisin-aw.co.jp>,
jasonr at idwtechnologies.com <jasonr at idwtechnologies.com>,
automotive-discussions at lists.linuxfoundation.org <
automotive-discussions at lists.linuxfoundation.org>


Can you post your fstab?


You shouldn't need to use the UUID, there should be a /dev/mmcblk entry for
the new partition, use that.


Can be done like this:
# <file system>         <mount pt>                      <type>  <options>
     <dump>  <pass>
/dev/root               /                               ext4    rw,noauto
     0       1
/dev/mmcblk0p3          /mnt                            ext4    defaults
    0       0
proc                    /proc                           proc    defaults
    0       0
devpts                  /dev/pts                        devpts
defaults,gid=5,mode=620 0       0
tmpfs                   /dev/shm                        tmpfs   mode=0777
     0       0
tmpfs                   /tmp                            tmpfs   mode=1777
     0       0
tmpfs                   /run                            tmpfs
 mode=0755,nosuid,nodev  0       0
tmpfs                   /media                          tmpfs
 mode=0755,nosuid,nodev  0       0
sysfs                   /sys                            sysfs   defaults
    0       0
/dev/mmcblk0p2          /home                           ext4    defaults
    0       0
/mnt/NetworkManager     /var/lib/NetworkManager         auto
defaults,nofail,nobootwait,bind 0 2
/mnt/pgsql              /var/lib/pgsql                  auto
defaults,nofail,nobootwait,bind 0 2
/dev/mmcblk0p4          /users                           ext4    defaults
     0       0

Cheers

Marc
------------------------------
*From:* Madhu B <madhu1313b at gmail.com>
*Sent:* 11 October 2018 11:50:16
*To:* Marc Murphy
*Cc:* I37546_CHIN at aisin-aw.co.jp; jasonr at idwtechnologies.com;
automotive-discussions at lists.linuxfoundation.org
*Subject:* Re: [agl-discussions] Navigation app is not launching on
RaspberryPi3 with EEL 5.1.0 (Madhu B)

No, it is not working. As I said earlier, it results in boot failure.

Regards,
-Madhu.

On Thu, Oct 11, 2018 at 4:16 PM Marc Murphy <marc.murphy at sancloud.co.uk>
wrote:

So is it working properly now?

I tend to use fdisk and mkfs for partition creation on the device.


Kind Regards

Marc
------------------------------
*From:* Madhu B <madhu1313b at gmail.com>
*Sent:* 11 October 2018 11:17:23
*To:* Marc Murphy
*Cc:* I37546_CHIN at aisin-aw.co.jp; jasonr at idwtechnologies.com;
automotive-discussions at lists.linuxfoundation.org
*Subject:* Re: [agl-discussions] Navigation app is not launching on
RaspberryPi3 with EEL 5.1.0 (Madhu B)

Hi Marc,
           I am able to mount it manually, ran the download_mapdata_jp.sh
there(mapdate extracted under /mnt/HDD/var directory).  I've created a new
partition of size 4GB(total SDcard size is 16GB) with ext4 as file-system
type using *GParted*.

Regards,
-Madhu.

On Thu, Oct 11, 2018 at 3:33 PM Marc Murphy <marc.murphy at sancloud.co.uk>
wrote:

Hi Madhu

Have you tried to mount it manually to check and have you also created a
file system on the new partition?  If not you need to format it.


Kind Regards
Marc


------------------------------
*From:* Madhu B <madhu1313b at gmail.com>
*Sent:* 11 October 2018 10:58:31
*To:* Marc Murphy
*Cc:* I37546_CHIN at aisin-aw.co.jp; jasonr at idwtechnologies.com;
automotive-discussions at lists.linuxfoundation.org
*Subject:* Re: [agl-discussions] Navigation app is not launching on
RaspberryPi3 with EEL 5.1.0 (Madhu B)

Hi all,
         I've created a new partition on the SDcard and mounted it to
/mnt/HDD. For automatic mounting, modified the /etc/fstab file by
referring  link:
https://www.raspberrypi.org/documentation/configuration/external-storage.md.
This will causing the boot failure on the Raspberry Pi3.

Regards,
-Madhu.

On Thu, Oct 11, 2018 at 2:29 PM Marc Murphy <marc.murphy at sancloud.co.uk>
wrote:

You could look at creating an additional partition of 2GB to store the
navigation data.  Mount it and then use a symbolic file link to reference
it.


Kind Regards

Marc
------------------------------
*From:* automotive-discussions-bounces at lists.linuxfoundation.org <
automotive-discussions-bounces at lists.linuxfoundation.org> on behalf of
Madhu B <madhu1313b at gmail.com>
*Sent:* 11 October 2018 09:45:18
*To:* I37546_CHIN at aisin-aw.co.jp
*Cc:* jasonr at idwtechnologies.com;
automotive-discussions at lists.linuxfoundation.org
*Subject:* Re: [agl-discussions] Navigation app is not launching on
RaspberryPi3 with EEL 5.1.0 (Madhu B)

Thanks ChenWei, I'll look into it.

Regards,
-Madhu.

On Thu, Oct 11, 2018 at 1:50 PM <I37546_CHIN at aisin-aw.co.jp> wrote:

Hi Madhu



Original build image will just make a partition about 3GBytes for my M3
board, so I’ve also experienced the same issue.

But my data is luckily not broken when using the same GPARTED.



I think there should be a configuration for that size but sorry to say I
don’t know how to change it.



Thanks/BR

ChenWei

*From:* Madhu B [mailto:madhu1313b at gmail.com]
*Sent:* Thursday, October 11, 2018 3:30 PM
*To:* I37546 Chin I
*Cc:* jasonr at idwtechnologies.com;
automotive-discussions at lists.linuxfoundation.org; I25461 Momiyama Yoshito
*Subject:* Re: [agl-discussions] Navigation app is not launching on
RaspberryPi3 with EEL 5.1.0 (Madhu B)



Hi ChenWei,

                  Execution of download_mapdata_jp.sh script stops due to
No space left on device. Expanded the root partition of the SD card using
gparted, but it results in losing of data on the root partition. After
that, Home screen don't showing remaining application icons on display.



How to expand the root partition of the SD card for AGL without losing the
data? Is there any utility on AGL like raspi-config on Raspbian?



Thanks,

-Madhu.



On Wed, Oct 10, 2018 at 1:16 PM <I37546_CHIN at aisin-aw.co.jp> wrote:

Hi Madhu



download_mapdata_jp.sh

is needed to download map data (about 1GByte) for the Navigation App.

Please run this script before starting the App.



Usually it should be installed by recipes-demo-hmi/navigation/
navigation_git.bb.

You can also find it in recipes-demo-hmi/navigation/navigation.



Thanks/BR

ChenWei

*From:* automotive-discussions-bounces at lists.linuxfoundation.org [mailto:
automotive-discussions-bounces at lists.linuxfoundation.org] *On Behalf Of *Madhu
B
*Sent:* Wednesday, October 10, 2018 3:04 PM
*To:* jasonr at idwtechnologies.com
*Cc:* automotive-discussions at lists.linuxfoundation.org
*Subject:* Re: [agl-discussions] Navigation app is not launching on
RaspberryPi3 with EEL 5.1.0 (Madhu B)



Hi Jason,

               My image have  QtLocation and QtPositioning folders under
/usr/lib/qt5/qml/ and it also have the folders you've mentioned in
https://lists.linuxfoundation.org/pipermail/automotive-discussions/2018-September/006659.html
.



But it don't have the script file /usr/AGL/apps/download_mapdata_jp.sh. How
to get this file? What is the necessary of that script file?



Regards,

-Madhu.



On Wed, Oct 10, 2018 at 5:59 AM Jason Reich <jasonr at idwtechnologies.com>
wrote:

Hi Madhu,

I've seen a problem with the Nav app on M3+KF as well, and this could be
the problem with the RPi, but I don't have that setup to test.



On the M3 build, the FF image was missing the Qt libraries and modules for
navigation and positioning.  This allowed the Nav app to start, but failed
quickly.



I posted about this on Sept 20, but did not receive any responses.  Here is
my message:

https://lists.linuxfoundation.org/pipermail/automotive-discussions/2018-September/006659.html



Take a look on your image, and see if /usr/lib/qt5/qml/ has QtLocation or
QtPositioning, or any of the other files I mention in the email.  My app
works once I manually copied those files from my SDK docker image onto the
board.



Also, for the Nav app to work, you must load the maps onto your image,
using the /usr/AGL/apps/download_mapdata_jp.sh script.



Hope that helps,

Jason.


------------------------------

*From:* automotive-discussions-bounces at lists.linuxfoundation.org <
automotive-discussions-bounces at lists.linuxfoundation.org> on behalf of
automotive-discussions-request at lists.linuxfoundation.org <
automotive-discussions-request at lists.linuxfoundation.org>
*Sent:* Tuesday, October 9, 2018 3:02 AM
*To:* automotive-discussions at lists.linuxfoundation.org
*Subject:* automotive-discussions Digest, Vol 69, Issue 20



Message: 2
Date: Tue, 9 Oct 2018 15:29:58 +0530
From: Madhu B <madhu1313b at gmail.com>
To: automotive-discussions at lists.linuxfoundation.org
Subject: [agl-discussions] Navigation app is not launching on
        RaspberryPi3    with EEL 5.1.0
Message-ID:
        <CAH5YvUs=po4x2dpnu9K+iVJpjxVXVQd-772D43QYJY0scpyy_A at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I've build the AGL image for Raspberry Pi3 on Ubuntu 14.04.
 Whenever I am trying to launch Navigation application on RaspberryPi3, it
is not working as expected(returning to home screen) and it's journalctl
log is

Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]: start gps navi
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]: NAVI port = 1046
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]: NAVI token = HELLO
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]: navi - sample GPS
Navigation Version 0.0.7 (build 031 Oct  8 2018)
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]: libEGL warning:
MESA-LOADER: device is not located on the PCI bus
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]: MESA-LOADER: device
is not located on the PCI bus
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]: MESA-LOADER: device
is not located on the PCI bus
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]: NC_Initialize error.
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]:  user data
path(/home/navi_data/japan_TR9/Data)
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]:  map  db
path(/home/navi_data/japan_TR9/Map/JPN/)
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]:
navi_config_path             (/home/navi_data/japan_TR9/)
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]:
navi_config_map_db_path      (/home/navi_data/japan_TR9/Map/JPN/)
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]:
navi_config_user_data_path   (/home/navi_data/japan_TR9/Data)
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]:
navi_config_map_udi_data_path(/home/navi_data/japan_TR9/Data/MD/UDI/)
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]:
navi_config_map_udi_info_file(/home/navi_data/japan_TR9/Data/MD/UDI/udi_info)
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]:
navi_config_map_font_file
(/home/navi_data/japan_TR9/IPAfont00303/ipagp.ttf)
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]: EGL_VERSION    = 1.4
(DRI2)
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]: EGL_VENDOR     =
Mesa Project
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]: EGL_CLIENT_APIS=
OpenGL OpenGL_ES
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]: navi-core version
0.0.7(Oct  8 2018) , api version 1.0.20160329-00
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]: Copyright (c) 2016
Hitachi, Ltd.
Oct 09 04:59:35 raspberrypi3 afbd-navigation at 0.1[862]: This program is dual
licensed under GPL version 2 or a commercial license.

What is wrong with the navigation application?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/automotive-discussions/attachments/20181011/08fb9db1/attachment-0001.html>


More information about the automotive-discussions mailing list