OutBackDingo | fury: what image did you use? | 00:42 |
---|---|---|
fury | OutBackDingo: built the regular agl-demo-platform image | 00:42 |
fury | Check my pastebin to see the full list of commands I used, from 0 to flashing the image on SD card | 00:43 |
fury | followed the docs mostly (to make sure they're still good) | 00:44 |
OutBackDingo | fury: i wonder if this has something to doo with xzcat on fedora | 00:45 |
OutBackDingo | fury: nano site.conf ?? | 00:46 |
fury | only difference from the docs I think was that my customizations to the build went into site.conf instead of local.conf (I copy the file around to my different build dirs) and that I added direct / progress flags to the dd in a futile attempt to get an accurate indication of how much time left to finish flashing the card (Linux aggressively caches the xzcat write) | 00:46 |
fury | that's where I put my DL_DIR and SSTATE_CACHE | 00:46 |
OutBackDingo | ok | 00:46 |
OutBackDingo | fury: so im starting to wonder if im hitting the tar issue on Fedoa 30 | 00:48 |
OutBackDingo | nothing else exlains it | 00:48 |
fury | Could be. What version of tar? | 00:48 |
OutBackDingo | 1.32 FFedoa 30 | 00:49 |
fury | that ought to be new enough O_o | 00:49 |
OutBackDingo | i build it on Debian 9, scp it to my workstation to run xzcat agl-demo-platform-raspberrypi3.wic.xz | sudo dd of=/dev/sde bs=4M oflag=direct status=progress | 00:50 |
fury | Does your Debian 9 have an SD card slot? | 00:51 |
fury | You may be able to narrow it to an xzcat issue by unzipping it from Debian 9 (into just .wic) and copying the file over, sudo dd if=filename.wic of=/dev/.... | 00:53 |
fury | have you tried one of the images from the AGL download site? | 00:54 |
fury | if the unzipped file isn't any different in the end than if you unzipped in fedora tho, that wouldn't be the issue | 00:55 |
OutBackDingo | fury: ots a VM | 00:56 |
fury | ah ok | 00:56 |
OutBackDingo | fury: same md5sum on both after xz -d on debian and fedora | 01:00 |
fury | OutBackDingo: Unmounting sde* prior to dd? | 01:01 |
fury | Give it a sync after the dd returns, it may not necessarily have finished writing, too...which the oflag direct is supposed to fix, buuuuut that wasn't my experience today >.> | 01:02 |
OutBackDingo | ok sudo dd if=agl-demo-platform-raspberrypi3-20190502115937.rootfs.wic of=/dev/sde bs=4M oflag=direct status=progress | 01:05 |
OutBackDingo | fury: nope, same result | 01:09 |
fury | https://download.automotivelinux.org/AGL/snapshots/master/latest/raspberrypi3/deploy/images/raspberrypi3/agl-demo-platform-crosssdk-raspberrypi3.wic.xz | 01:10 |
fury | I recall Debian is notorious for hanging onto old versions...what tar version in the VM? | 01:15 |
OutBackDingo | downlooading, ill even use a new sddccard... no idea | 01:15 |
fury | did you say you'd tried raspbian earlier on that card and it was fine? | 01:15 |
OutBackDingo | yupp | 01:25 |
OutBackDingo | nothing... same result.... | 02:06 |
OutBackDingo | fury: guess ill reboot and try thhis in ubuntu | 02:07 |
*** ric96 has quit IRC | 02:10 | |
*** ric96 has joined #automotive | 02:12 | |
*** AlisonChaiken has joined #automotive | 02:36 | |
OutBackDingo | fury: breaking out etcher, under ubuntu lets see what we get now | 02:44 |
OutBackDingo | fury: nope, still no joy, nothing, multiple sdcards, multiple images, all sit at u-boot | 02:57 |
OutBackDingo | tried dd, xzcat, etcher, on fedora and ubuntu | 02:57 |
OutBackDingo | even tried it on a pi3 B wount even get to u-boot | 03:00 |
OutBackDingo | im starting to think its the board, however it boots raspbian fine | 04:34 |
*** montjoie has quit IRC | 05:07 | |
*** montjoie has joined #automotive | 05:09 | |
*** toscalix has joined #automotive | 06:06 | |
*** kbroulik has joined #automotive | 06:34 | |
OutBackDingo | and now ive verified yocto core-image-minimal boots fine on the this board.... | 06:50 |
OutBackDingo | sooo... wats missing for AGL to not be working on a board that rasbian and yocto boot fine on | 06:50 |
GuyElpotato | OutBackDingo, Stupid question but what is the size of your SD card ? | 07:13 |
OutBackDingo | GuyElpotato: 16/32GB | 07:15 |
OutBackDingo | ive tried many | 07:15 |
OutBackDingo | a couple 16gb, a couple 32gb | 07:16 |
OutBackDingo | everything else works fine but AGL :) | 07:16 |
GuyElpotato | Ok because I had this same kind of problem with my SD card which was too small for the agl-image-crosssdk | 07:47 |
OutBackDingo | GuyElpotato: well... theyshould be large enough... really hard to pinpoint this issue | 07:53 |
OutBackDingo | AGL just refuses to boot, sits at the u-boot promt | 07:53 |
OutBackDingo | everything else boots fine from the same cards | 07:53 |
GuyElpotato | The prompt uboot scrolls in a loop or you can write commands ? | 07:54 |
OutBackDingo | GuyElpotato: cant do anything no serial console no keboard acvtivity... so it just siteszs there u-boot: | 08:00 |
francesco_kin | Hi all, how can I solve the problem about CMakeAfbTemplates during the compilation of helloword-html-application? CMake Error at conf.d/config.cmake:163 (include): | 08:07 |
francesco_kin | include could not find load file: | 08:07 |
francesco_kin | CMakeAfbTemplates | 08:07 |
francesco_kin | Call Stack (most recent call first): | 08:07 |
francesco_kin | CMakeLists.txt:22 (include | 08:07 |
francesco_kin | I have already sourced /opt/agl-sdk/7.90.0+snapshot-armv7vethf-neon-vfpv4/environment-setup-armv7vet2hf-neon-vfpv4-agl-linux-gnueabi and /etc/profile.d/agl-app-framework-binder.sh | 08:08 |
claneys | francesco_kin, this indicates that you miss the CMake module. | 08:08 |
claneys | You should find it under /user/share/cmake/Modules (redhat like distro) or /usr/share/cmake-x.y/Modules (debian like distro) | 08:09 |
claneys | if you want to compile natively | 08:09 |
claneys | Ok so you are using the SKD | 08:09 |
claneys | SDK | 08:09 |
francesco_kin | claneys, "which cmake" gives /usr/local/bin/cmake | 08:10 |
claneys | This isn't good | 08:11 |
claneys | it means that you aren't using the CMake from the SDK | 08:11 |
claneys | which should be in ${OECORE_NATIVE_SYSROOT}/usr/bin/cmake | 08:11 |
claneys | also you should find the CMakeAfbTemplates under ${OECORE_NATIVE_SYSROOT}/usr/share/cmake-x.y/Modules | 08:12 |
claneys | francesco_kin, can you send us the result of 'env' command please. | 08:14 |
francesco_kin | claneys, ok. Can I create a symbolic link in usr/local/bin to point to the right cmake or I should | 08:15 |
francesco_kin | claneys, ok, https://paste.ofcode.org/YZvGkzdhDtdY2zfjvPiBgu | 08:15 |
*** jobol has joined #automotive | 08:19 | |
francesco_kin | claneys, with a symbolic link to the right cmake in the sdk, compilation works and the make creates the wgt | 08:29 |
claneys | francesco_kin, ok, I never used this SDK only Renesas Gen3 ones and intel/qemu | 08:32 |
claneys | but for what I saw either you source your environment setup file from a terminal and launch the build from another so you don't share the environment either there is a problem with the SDK because your should have mabny environement variable pointing to the SDK installation path | 08:33 |
*** leon-anavi has joined #automotive | 09:55 | |
*** toscalix has quit IRC | 10:39 | |
OutBackDingo | leon-anavi: i have no idea why you two can get it booted however i cant | 11:44 |
leon-anavi | hi OutBackDingo, have you reported the issue in JIRA? | 12:47 |
leon-anavi | I tried it out recently but in the mean time there have been some changes in master | 12:47 |
OutBackDingo | leon-anavi: fury said he tried master last night and it worked for him... i also tried from 2 weeks ago aand same u-boot issue, everything else i put on the board works, but if fury states master from lasst night works.. i have to wonder..... | 12:53 |
OutBackDingo | leon-anavi: so i honestly cant claim a bug, if he states its functional for him... but im seeing differently othher then to state the symptoms i see | 12:54 |
OutBackDingo | if someone else also saw it id be more coonvinced its a bug... righht now im simply convinced its not functional on "my board" | 12:55 |
fury | something's gotta be wonky about the build host if it's building the image but it's not working, that's still a bug really, but it will be tricky to pinpoint why. Debian 9 and Ubuntu 18.04 should be so similar as to create identical images, except that I know Debian keeps older packages around longer | 12:55 |
OutBackDingo | but he saaid his works | 12:55 |
OutBackDingo | ive built on both Debian and Ubuntu .... same | 12:55 |
fury | but if you downloaded from AGL and that still had the same issue, now I don't know | 12:55 |
OutBackDingo | yupp.. 4 different images,,,, same issue | 12:56 |
OutBackDingo | 2 from AGL, and 2 i built | 12:56 |
OutBackDingo | fury: send me the one you have | 12:56 |
fury | Did they change something on the Pi? My 3B+ is a few months old now... | 12:56 |
leon-anavi | OutBackDingo, don't hesitate to open a JIRA issue even if it is not a bug this way we will have a track and it will be easier for other people encountering similar issue in future | 12:57 |
fury | hmm, was trying to think where I could upload that. I don't immediately have a web server I can just drop a file into, though I could probably whip one up | 12:58 |
leon-anavi | OutBackDingo, what power supply are you using for the pi? | 12:58 |
OutBackDingo | leon-anavi: 5v 3000Ma | 12:59 |
OutBackDingo | ermm LOL mA | 12:59 |
OutBackDingo | fury: fileshare :) | 13:00 |
OutBackDingo | i could create you an sftp account on a vm i have | 13:01 |
fury | doh. We have a Citrix Sharefile. Of course. I spaced it. Gimme a few mins to upload | 13:01 |
OutBackDingo | i could say a bad word also... mega :) or gdrive ... LOL | 13:01 |
OutBackDingo | fury: ahhhh ok cool | 13:02 |
leon-anavi | OutBackDingo, this power supply should be good | 13:07 |
leon-anavi | OutBackDingo, do you get any output on the serial console when you have this problem? | 13:07 |
OutBackDingo | leon-anavi: works for yocto and raspbian no issues | 13:07 |
OutBackDingo | leon-anavi: nope | 13:07 |
OutBackDingo | i did test both yocto core-image-minimal and raspbian they booted fine | 13:08 |
OutBackDingo | also curious what his build host is.... i tried Debian 9 and ubnt 18.04 image built ok.... just refuses to boot | 13:08 |
leon-anavi | OutBackDingo, raspbian is quite different, however core-image-minimal BSP from meta-raspberrypi is the same as the one we use in AGL (of course depends on the Yocto/OE release and the branch of the layer) | 13:09 |
fury | 18.04, just reinstalled it a few days ago in a new drive | 13:09 |
leon-anavi | I am building on Ubuntu 16.04 | 13:09 |
OutBackDingo | leon-anavi: Yocto Thud built today | 13:09 |
OutBackDingo | leon-anavi: i have a phot of the u-boot screen... want it ? :) | 13:12 |
OutBackDingo | leon-anavi: just confirmed both yocto thud meta-raspberrypi and AGL meta-raspberrypi are at the same commit | 13:18 |
OutBackDingo | both have same commit 2b3693ea3a871619624ee8ebf1ad946915eb1aa8 referencing sdcard_image-rpi: Format boot partition as FAT32 | 13:19 |
OutBackDingo | Closes: #382 | 13:19 |
OutBackDingo | git show | 13:20 |
OutBackDingo | - mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS | 13:20 |
OutBackDingo | + mkfs.vfat -F32 -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS | 13:20 |
OutBackDingo | looks negligable | 13:20 |
fury | OutBackDingo: i can't imagine this'd work if none of the other AGL images you've tried have, but here it is anyway: https://radiosound.sharefile.com/d-sde8d5b54f564cad9 | 13:30 |
fury | same image i flashed onto my pi last night | 13:30 |
OutBackDingo | fury: it is possible, though i doubt im having any environmental issues "building" or otherwise.... | 13:33 |
fury | i'm willing to bet something changed in the pi 3b+ unannounced, if this doesn't work | 13:33 |
fury | but i don't know why yocto core image minimal woudl work and this wouldn't O_o | 13:34 |
OutBackDingo | ive had my board maybe 3 months, made in UK ... dount see a board rev on it though | 13:35 |
OutBackDingo | and ive never really had issues booting anything yocto on it | 13:36 |
fury | mine's a little over 5 months old | 13:36 |
OutBackDingo | -rw-r--r-- 2 dingo dingo 369128796 May 3 13:44 tmp/deploy/images/raspberrypi3/agl-demo-platform-raspberrypi3-20190503024434.rootfs.wic.xz images appear at least the same in size.. | 13:37 |
OutBackDingo | fury: and your building master? | 13:37 |
OutBackDingo | last updated ? | 13:37 |
leon-anavi | OutBackDingo, you can attach a photo in JIRA. Log form the serial output is better if there is none, photo is better than nothing :) | 13:38 |
OutBackDingo | hrmm your image name is a little different then mine | 13:38 |
fury | my repo synced 1:20pm eastern, last download completed probably an hour later | 13:39 |
fury | I grabbed from the symlink | 13:39 |
fury | it links to a similar looking .rootfs.wic.xz file but it was easier to manually type into the scp command :) | 13:40 |
fury | 1:20 pm eastern yesterday, that is | 13:40 |
fury | I know some things do a git autorev which makes a reproducible build a little tricky but the alternative is an update to the recipe file and the manifest file every time any of the recipes change, and from what I've seen they tend to save those specific rev pinnings for release branches | 13:43 |
OutBackDingo | ok, mine was last synched later then that.... did mine this AM... and im maybe 12 ahead | 13:43 |
OutBackDingo | ermm 12 hours timezone wise :) | 13:44 |
francesco_kin | why I don't see can0 in /dev (dra7xxEVM5777) ? | 13:58 |
OutBackDingo | fury: nope same results.... | 13:58 |
francesco_kin | I'm using AGL 6.0.5 version | 13:58 |
*** GuyElpotato has quit IRC | 14:09 | |
OutBackDingo | fury: my board rev states a020d3 in cat /proc/cpuinfo | 14:19 |
OutBackDingo | fury: i find odd also the first line printed says | 14:23 |
OutBackDingo | Net: no ethernet found | 14:23 |
*** AlisonChaiken has quit IRC | 14:29 | |
khilman | dl9pf : not sure what's going on with ci-management gerrit, but i see you merged that ci-management patch in gerrit, but the actual code in git doesn't reflect the change. | 14:36 |
*** GuyElpotato has joined #automotive | 14:36 | |
dl9pf | ??? wt* ? | 14:36 |
dl9pf | can you point to a changeset ? | 14:37 |
dl9pf | khilman: which changeset ? | 14:59 |
*** khouloud has joined #automotive | 15:00 | |
khilman | https://gerrit.automotivelinux.org/gerrit/#/c/21062/ | 15:09 |
khilman | dl9pf: ^^^ | 15:10 |
dl9pf | yes, I see it. | 15:14 |
*** kbroulik has quit IRC | 15:22 | |
*** AlisonChaiken has joined #automotive | 15:29 | |
*** GuyElpotato has quit IRC | 15:30 | |
*** AlisonChaiken has quit IRC | 15:37 | |
*** leon-anavi has quit IRC | 15:47 | |
dl9pf | gerrit was rebooted. please report any issues. | 16:04 |
*** khouloud has quit IRC | 16:04 | |
*** nayfe has quit IRC | 16:05 | |
OutBackDingo | moving on from PI3B+ so i guess ... no docs on adding our own BSP for our boards.... can i treat it like yocto as we have a BSD for yocto built for our board / CPU | 16:17 |
*** jobol has quit IRC | 16:48 | |
fury | OutBackDingo: same revision here, i'm stumped | 16:54 |
fury | it should be fairly similar to yocto to set up a new board - see the other AGL BSPs in meta-agl/meta-agl-bsp | 16:55 |
fury | OutBackDingo: if you haven't already, go ahead and put an issue up about it on JIRA - it might affect others as well | 16:56 |
*** psnsilva has quit IRC | 17:33 | |
dl9pf | OutBackDingo: a) you need a yocto layer compatible with yocto v2.6 'thud' | 19:40 |
dl9pf | b) you need a template file (check meta-agl/templates/machines/ | 19:40 |
dl9pf | c) any adaptation/shim specific to your bsp and agl can go into meta-agl-bsp/meta-yourlayer | 19:41 |
dl9pf | note to b) the template file can even be in your layer | 19:42 |
dl9pf | just match the folder structure | 19:43 |
*** khem has quit IRC | 19:44 | |
*** khem has joined #automotive | 19:53 | |
*** gkiagia has quit IRC | 21:39 | |
*** fury has quit IRC | 21:39 | |
*** paulbarker has quit IRC | 21:39 | |
*** khilman has quit IRC | 21:43 | |
*** OutBackDingo has quit IRC | 21:53 | |
*** OutBackDingo has joined #automotive | 21:53 | |
*** fury has joined #automotive | 22:07 | |
*** paulbarker has joined #automotive | 22:07 | |
*** khilman has joined #automotive | 22:08 | |
*** OutBackDingo has quit IRC | 23:16 | |
*** OutBackDingo has joined #automotive | 23:18 | |
*** th3m1s has joined #automotive | 23:19 | |
*** AlisonChaiken has joined #automotive | 23:31 | |
*** AlisonChaiken has quit IRC | 23:42 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!