00:30 | futarisIRCcloud | joined the channel | |
01:03 | rton | left the channel | |
01:34 | PratTheBrat | joined the channel | |
01:34 | PratTheBrat | left the channel | |
04:25 | slikdigit | joined the channel | |
05:41 | motoflare1508 | joined the channel | |
06:05 | motoflare1508 | left the channel | |
06:36 | davidak | joined the channel | |
06:55 | aombk | left the channel | |
07:43 | slikdigit | left the channel | |
07:51 | Bertl_zZ | changed nick to: Bertl
| |
07:51 | Bertl | morning folks!
| |
07:53 | ItsMeLenny | joined the channel | |
07:57 | TofuLynx | joined the channel | |
08:19 | se6astian|away | changed nick to: se6astian
| |
08:53 | TofuLynx | Is this the xilinx Kernel? "kernel-4.9.0-xilinx-00037-g5d029fd.bin"
| |
08:56 | davidak | left the channel | |
08:56 | Bertl | the name would suggest it :)
| |
08:57 | futarisIRCcloud | left the channel | |
08:58 | TofuLynx | Are the kernel .config files necessary?
| |
08:59 | Bertl | no, they are just informational in case you want to rebuild the kernel (or diagnose the settings)
| |
09:00 | TofuLynx | Ok :D
| |
09:16 | davidak | joined the channel | |
09:53 | sebix | joined the channel | |
09:53 | sebix | left the channel | |
09:53 | sebix | joined the channel | |
09:56 | mohit | joined the channel | |
09:57 | mohit | hello ... im new here .. need help getting along GSOC 2018...
| |
09:58 | mohit | i know c++ and im a photographer by hobby
| |
10:02 | rton | joined the channel | |
10:03 | Bertl | hello mohit!
| |
10:03 | mohit | hello
| |
10:04 | Bertl | what help do you need?
| |
10:04 | mohit | i need guidance to get started
| |
10:05 | Bertl | well, you already managed the first challenge, coming here on IRC
| |
10:05 | mohit | thanks
| |
10:05 | Bertl | the next step is to pick a task from our Workboard https://lab.apertus.org/project/view/20/
| |
10:06 | Bertl | which interest you and you would like to work on ... depending on the task, there are qualification tasks to do
| |
10:07 | Bertl | here some more general information on GSoC 2018
| |
10:07 | Bertl | https://wiki.apertus.org/index.php/GSoC_Overview
| |
10:08 | mohit | thank you @Bertl i will just go through them
| |
10:08 | Bertl | great! do not hesitate to ask if something is unclear
| |
10:10 | mohit | i had one more query in case if i'm unable to participate in gsoc can i still keep up contributing here as i,m found of this project already
| |
10:11 | Bertl | you can always hang out here and/or contribute
| |
10:12 | mohit | Glad to know that..
| |
10:13 | mohit | thanks
| |
10:14 | Bertl | you're welcome!
| |
10:59 | ItsMeLenny | left the channel | |
11:26 | TofuLynx | left the channel | |
11:28 | pusle | left the channel | |
11:32 | mohit | left the channel | |
12:06 | Bertl | off for now ... bbl
| |
12:06 | Bertl | changed nick to: Bertl_oO
| |
12:24 | TofuLynx | joined the channel | |
12:25 | TofuLynx | Welcome Mohit! I'm too a student interested in GSoC
| |
12:52 | se6astian | changed nick to: se6astian|away
| |
13:33 | pusle | joined the channel | |
13:56 | arpu | joined the channel | |
14:09 | TofuLynx | left the channel | |
14:37 | slikdigit | joined the channel | |
14:42 | TofuLynx | joined the channel | |
14:44 | se6astian|away | changed nick to: se6astian
| |
14:49 | slikdigit | left the channel | |
14:55 | TofuLynx | left the channel | |
14:57 | TofuLynx | joined the channel | |
15:08 | TofuLynx | left the channel | |
15:19 | TofuLynx | joined the channel | |
15:55 | se6astian | changed nick to: se6astian|away
| |
15:57 | Fathima | joined the channel | |
16:04 | Fathima | left the channel | |
16:26 | sebix | left the channel | |
16:34 | davidak | left the channel | |
17:01 | BAndiT1983|away | changed nick to: BAndiT1983
| |
17:05 | BAndiT1983 | TofuLynx, have you tried the manual way?
| |
17:06 | TofuLynx | Yeah, but I didn't have to run the full boot. Will do it when I get home
| |
17:07 | TofuLynx | Didn't have time*
| |
17:08 | BAndiT1983 | it takes a while till it boots to the shell, had some error messages which were shown in between from time to time, but overall it worked, haven't tried it for quite a while
| |
17:08 | BAndiT1983 | when se6astian is available, i will try to discuss the scripts, like i said yesterday
| |
17:09 | TofuLynx | Ok! Understood!
| |
17:09 | TofuLynx | Do you have any suggestion on how to run my code in the beta firmware shell?
| |
17:12 | BAndiT1983 | never tried to setup network there, but we can try to solve it together
| |
17:13 | BAndiT1983 | just a thought, create virtual sd card and plug it into qemu as second device
| |
17:13 | TofuLynx | Sounds good! :)
| |
17:13 | TofuLynx | I will have to read documentation to setup the virtual card then
| |
17:14 | BAndiT1983 | you should look into qemu xilinx docs, let me find the right one
| |
17:14 | BAndiT1983 | main page -> http://www.wiki.xilinx.com/QEMU
| |
17:15 | BAndiT1983 | at the bottom is the link to UG1169, this is the doc file
| |
17:15 | BAndiT1983 | direct link -> https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_4/ug1169-xilinx-qemu.pdf
| |
17:16 | BAndiT1983 | page 21, storage media should be a good start
| |
17:17 | TofuLynx | Will check it! Thanks!
| |
17:25 | anuejn | TofuLynx: BAndiT1983: qemu is not that nice to use at the moment as a standalone solution
| |
17:26 | anuejn | chroot + qemu is more convenient, because it supports networking, which currently is not possible with qemu standalone
| |
17:27 | BAndiT1983 | not an expert, so cannot say anything
| |
17:27 | BAndiT1983 | what is chroot? heard many times, but never bothered to look for the explanation
| |
17:28 | TofuLynx | I have the same question, what is it?
| |
17:30 | felix_ | i'm trying to get a beta output a hdmi signal, but when i run kick_manual.sh it gets stuck at "waiting for sequencer" and doesn't output video on the hdmi module. i tried both slots
| |
17:33 | BAndiT1983 | felix_, loose cable somewhere?
| |
17:33 | BAndiT1983 | there was a similar case some time ago, if i remember correctly
| |
17:34 | BAndiT1983 | maybe not cable, but the fixed connector not sitting tight
| |
17:35 | felix_ | the cable works when i plug the hdmi end into my laptop and the hdmi module is fully inserted into the socket
| |
17:37 | BAndiT1983 | is the hdmi output setup correctly? i mean the console commands
| |
17:37 | BAndiT1983 | *set up
| |
17:39 | BAndiT1983 | "If you look at the back of the camera you will now see a blue LED near the top flashing very fast - every blue flash is one image being acquired."
| |
17:39 | BAndiT1983 | what are the LEDs showing?
| |
17:39 | felix_ | i ran the setup.sh
| |
17:40 | BAndiT1983 | have you edited it beforehand?
| |
17:40 | felix_ | the blue led doesn't blink
| |
17:40 | felix_ | no
| |
17:41 | BAndiT1983 | you could try the steps in this chapter -> Generator and HDMI Output
| |
17:41 | BAndiT1983 | https://wiki.apertus.org/index.php/AXIOM_Beta/Manual
| |
17:41 | felix_ | the bitstream is a symlink to cmv_hdmi3_dual_60.bit and in the setup ./gen_init.sh 1080p60 is used
| |
17:41 | BAndiT1983 | ah, so you have a setup
| |
17:43 | BAndiT1983 | hm, maybe Bertl_oO can help
| |
17:43 | felix_ | hm, after running halt_manual, then running ./gen_init.sh 1080p60 and then kick_manual, the blue led started blinking, but still no output
| |
17:44 | BAndiT1983 | now you can try another slot ;)
| |
17:45 | felix_ | i don't get a video signal on both
| |
17:46 | BAndiT1983 | out of ideas, sorry
| |
17:53 | felix_ | turns out that the screen i was using didn't like the hdmi signal from the beta
| |
17:55 | Bertl_oO | TofuLynx, BAndiT1983: chroot is when you change the root directory on a unix system
| |
17:56 | BAndiT1983 | yes, googled so far, but how does it help with qemu?
| |
17:56 | Bertl_oO | no idea, where is it mentioned with qemu?
| |
17:56 | illwieckz | left the channel | |
17:58 | BAndiT1983 | <anuejn> TofuLynx: BAndiT1983: qemu is not that nice to use at the moment as a standalone solution
| |
17:58 | BAndiT1983 | <anuejn> chroot + qemu is more convenient, because it supports networking, which currently is not possible with qemu standalone
| |
17:58 | Bertl_oO | well, you have to ask anuejn for details on that :)
| |
17:59 | sebix | joined the channel | |
18:00 | Bertl_oO | note that QEMU can act as a pure binary emulator, not only as system emulation, so maybe he is talking about having an ARM filesystem and using QEMU + chroot to work there 'emulated'
| |
18:01 | BAndiT1983 | how would it work for axiom firmware?
| |
18:02 | Bertl_oO | copy the content (files) from the SD card into a directory, then chroot (using QEMU as binary emulator) into that directory
| |
18:02 | BAndiT1983 | ah, now i see
| |
18:03 | Bertl_oO | https://gist.github.com/mikkeloscar/a85b08881c437795c1b9
| |
18:03 | TofuLynx | Wouldn't it be easier to just emulate the SD card?
| |
18:03 | Bertl_oO | if the emulation would be complete, yes, of course
| |
18:03 | Bertl_oO | the problem there is that some parts do not really work well
| |
18:04 | TofuLynx | Really?
| |
18:04 | TofuLynx | Not even for a single cpp code?
| |
18:04 | Bertl_oO | hmm?
| |
18:05 | TofuLynx | Doesn't it work well to emulate a sd card containing a cpp file?
| |
18:05 | Bertl_oO | emulating the SD card itself is not such a problem
| |
18:05 | TofuLynx | Can you explain the problems?
| |
18:05 | Bertl_oO | but booting the AXIOM firmware from a virtual SD card requires more than that
| |
18:06 | Bertl_oO | the ZYNQ used on the MicroZed is not just an ARM cpu, it contains a lot of peripherials and other stuff
| |
18:07 | Bertl_oO | including some proprietary boot loader code which starts the chip
| |
18:07 | Bertl_oO | emulation of the various peripherials is incomplete even in the Xilinx QEMU branch
| |
18:08 | TofuLynx | And is it necessary to test my code of the c++ challenge?
| |
18:08 | Bertl_oO | so you can make it work, but unfortunately it doesn't work 'out of the box'
| |
18:08 | anuejn | Bertl_oO: TofuLynx bertl is right
| |
18:08 | Bertl_oO | TofuLynx: I presume you alredy tested your code, no?
| |
18:09 | TofuLynx | Yeah but the challenge has the line .5
| |
18:09 | TofuLynx | Which says bonus points if it can run on the beta firmware
| |
18:09 | Bertl_oO | that's why it is a 'challenge'
| |
18:09 | illwieckz | joined the channel | |
18:10 | anuejn | jup
| |
18:10 | TofuLynx | Yeah, that's why I am trying to test it on the beta firmware, on my computer it works normally
| |
18:10 | anuejn | booting it works, but the problem is, that network is somehow broken in the xilinx qemu (at least for me)
| |
18:10 | anuejn | i think the easiest way would be to do something similiar to https://github.com/apertus-open-source-cinema/beta-software/blob/master/build_tools/outside/build_rootfs.sh#L19
| |
18:10 | anuejn | for which you need to install the `qemu-user-static` package when your on ubuntu
| |
18:11 | anuejn | alternatively, you can also do something like https://github.com/apertus-open-source-cinema/beta-software/blob/master/build_tools/README.md#test-it
| |
18:11 | anuejn | this will lead to a beta image booting to a shell, but unfortunately no network at all
| |
18:11 | anuejn | (plus, it takes quite some time and downloads half of the internet ;))
| |
18:11 | Bertl_oO | I think the network problems are related to a missing 'connection' between the 'nic' emulation and the qemu network stack
| |
18:12 | BAndiT1983 | http://www.wiki.xilinx.com/QEMU
| |
18:12 | BAndiT1983 | have you looked at the chapter about networking?
| |
18:12 | Bertl_oO | maybe it just needs to be reported often enough to Xilinx and/or asked in the forums to get an answer (or it fixed)
| |
18:12 | TofuLynx | Well I don't have any knowledge about this, so will have to read a lot of docs
| |
18:13 | Bertl_oO | which is good, no? :)
| |
18:13 | TofuLynx | Yeah :D
| |
18:13 | BAndiT1983 | not an easy task, as i had to do the same a year ago, to setup qemu
| |
18:13 | BAndiT1983 | often you have to search through many pages to find a little command which would help at the end
| |
18:13 | TofuLynx | Sincerely, I am loving being part of this community
| |
18:13 | TofuLynx | Learned really a lot
| |
18:14 | Bertl_oO | we love to have you!
| |
18:15 | arpu | left the channel | |
18:15 | anuejn | Bertl_oO: BAndiT1983 tried maaany things and different nic configs but nothing worked for me :(
| |
18:15 | BAndiT1983 | also TFTP part?
| |
18:15 | TofuLynx | :D
| |
18:16 | anuejn | sooon ish (tm) i will upstream my changes to the apertus build system, then this will be a lot easier
| |
18:16 | anuejn | but it still has some bugs to fix
| |
18:16 | BAndiT1983 | TofuLynx, it was no joke, it's in the docs
| |
18:16 | BAndiT1983 | https://forums.xilinx.com/t5/Embedded-Processor-System-Design/Zynq-QEMU-Network-Issues/td-p/797050
| |
18:17 | anuejn | no but using a chroot of the image
| |
18:17 | BAndiT1983 | there is a PDF with some steps, don't have a setup to try it at the moment, killed my VM by trying our sripts yesterday
| |
18:18 | BAndiT1983 | he modifies DTS
| |
18:18 | TofuLynx | I see I have a lot of things to learn and to check when I get home xD
| |
18:50 | se6astian|away | changed nick to: se6astian
| |
19:19 | TofuLynx | left the channel | |
19:22 | TofuLynx | joined the channel | |
20:11 | TofuLynx | left the channel | |
20:16 | TofuLynx | joined the channel | |
20:17 | TofuLynx | left the channel | |
20:17 | TofuLynx | joined the channel | |
20:21 | davidak | joined the channel | |
20:22 | TofuLynx | how long does it usually takes to boot?
| |
20:25 | se6astian | with the actual hardware: 15-25 seconds?
| |
20:26 | BAndiT1983 | and QEMU several minutes
| |
20:26 | TofuLynx | I am referring to QEMU xD
| |
20:26 | BAndiT1983 | 3-5 minutes, if i remember correctly, but it depends on the machine
| |
20:27 | TofuLynx | well its taking more than 15 minutes
| |
20:27 | BAndiT1983 | ??
| |
20:27 | TofuLynx | and it doesnt pass from the "random: crng init done"
| |
20:27 | BAndiT1983 | this is too much
| |
20:27 | TofuLynx | :/
| |
20:27 | BAndiT1983 | hm, try to press any key
| |
20:27 | TofuLynx | did nothing
| |
20:27 | Kjetil | There is no such key
| 20:28 | Kjetil | is helping
|
20:28 | BAndiT1983 | i mean this one -> https://en.wikipedia.org/wiki/Any_key#/media/File:Keyboard-anykey.jpg
| |
20:28 | TofuLynx | omg xD
| |
20:28 | Kjetil | :)
| |
20:29 | BAndiT1983 | TofuLynx, which params have you used?
| |
20:30 | TofuLynx | the script ones, from the lab
| |
20:30 | TofuLynx | I will paste it
| |
20:31 | BAndiT1983 | the ones in the lab are maybe outdated
| |
20:31 | TofuLynx | I think I know why
| |
20:32 | TofuLynx | Waiting for root device /dev/mmcblk0p2...
| |
20:32 | TofuLynx | this appears
| |
20:32 | TofuLynx | what is /dev/mmcblkOp2?
| |
20:32 | BAndiT1983 | it's the place where the virtual sd card image will be mounted
| |
20:33 | BAndiT1983 | have you extracted the image, so it's 16gb big?
| |
20:33 | TofuLynx | 14,9GiB
| |
20:34 | TofuLynx | the image beta_201701089 is 14,9GiB, the devicetree.dtb 10,4KiB
| |
20:34 | TofuLynx | and the zImage is 2,4MiB
| |
20:34 | BAndiT1983 | this sizes are okay
| |
20:35 | TofuLynx | do I need to have that /dev/mmcblkOp2 directory?
| |
20:35 | Kjetil | it's not a directory. It's a file-backed blockdevice
| |
20:35 | BAndiT1983 | it's not directory, it's a linux path
| |
20:35 | BAndiT1983 | what Kjetil said
| |
20:35 | TofuLynx | ah
| |
20:36 | Bertl_oO | more precisely it _is_ the SD cards second partition
| |
20:36 | BAndiT1983 | this param is just telling the mount point
| |
20:36 | BAndiT1983 | if you extract the sd card image, you will find 3 partitions, if i remember correctly
| |
20:36 | TofuLynx | wait
| |
20:36 | BAndiT1983 | first holds boot files, second one the linux file system
| |
20:37 | BAndiT1983 | it was just an info, you don't need to do that
| |
20:37 | TofuLynx | what is the sdcard image?
| |
20:37 | BAndiT1983 | sdcard image ist the big 16gb one, or 14,9 in your case
| |
20:37 | TofuLynx | ah
| |
20:39 | BAndiT1983 | the real board looks into first partition and it tells it to boot the second, have played around with it before and got some parameters from the zboot file
| |
20:39 | BAndiT1983 | or how the one was called with parameters
| |
20:40 | Kjetil | Maybe there is some error in the kernel boot messages?
| |
20:40 | TofuLynx | let me check
| |
20:40 | TofuLynx | left the channel | |
20:41 | Kjetil | quit?
| |
20:41 | BAndiT1983 | short-circuit in QEMU
| |
20:42 | TofuLynx | joined the channel | |
20:43 | TofuLynx | sorry
| |
20:43 | TofuLynx | changed computers
| |
20:43 | BAndiT1983 | no problem
| |
20:46 | TofuLynx | failed to initialize
| |
20:46 | BAndiT1983 | which part?
| |
20:47 | TofuLynx | failed to initialize /amba/timer@f8f00200
| |
20:47 | BAndiT1983 | could you copy the whole output to pastebin? i remember that it was shown in the normal console, so you could pipe it to a file first
| |
20:47 | TofuLynx | ok wait a moment
| |
20:47 | BAndiT1983 | that is not a big problem with amba timer
| |
20:47 | BAndiT1983 | see here, it happens also -> http://pressreset.net/2013/09/buildroot-and-qemu-the-quickest-receipe-for-your-own-linux/
| |
20:48 | TofuLynx | https://pastebin.com/nEsG9KJD
| |
20:49 | BAndiT1983 | will try to start investigation of qemu problems this weekend, currently planning to create a virtualbox VM, which should include such tools like QEMU, so people can start more faster to develop for axiom or play around with environment
| |
20:49 | TofuLynx | that sounds like a great idea
| |
20:49 | BAndiT1983 | have you tried to press keys? sometimes it helped
| |
20:49 | BAndiT1983 | ah, i see the problem
| |
20:50 | BAndiT1983 | it's waiting for the sd card
| |
20:50 | TofuLynx | the line 130?
| |
20:50 | BAndiT1983 | please show your command line options
| |
20:50 | TofuLynx | in the pastebin
| |
20:50 | BAndiT1983 | yes, that line
| |
20:51 | TofuLynx | https://pastebin.com/gc2Aw64H
| |
20:54 | BAndiT1983 | hm, have you set up the paths in same way, like in the script? i tested it with different folder structure, so there could be a problem
| |
20:55 | BAndiT1983 | take a look at target_dir for example
| |
20:56 | TofuLynx | the target_dir seems Ok
| |
20:56 | BAndiT1983 | the start script was residing in some folder, in that folder there was images folder and there was mymod folder inside it
| |
20:56 | TofuLynx | yes
| |
20:56 | TofuLynx | thats correct
| |
20:58 | BAndiT1983 | where have you got zImage?
| |
20:59 | TofuLynx | in /images/mymod/zImage
| |
20:59 | BAndiT1983 | no, i mean the file itself? do we have a downlaod link?
| |
20:59 | TofuLynx | is that what you asked?
| |
20:59 | TofuLynx | ah
| |
20:59 | BAndiT1983 | played around with several zImage files before it worked
| |
21:00 | TofuLynx | http://vserver.13thfloor.at/Stuff/AXIOM/BETA/
| |
21:00 | TofuLynx | in this link
| |
21:00 | TofuLynx | kernel-4.9.0
| |
21:01 | BAndiT1983 | hm, there were problems with 4.9
| |
21:01 | TofuLynx | I dont see the old version there
| |
21:02 | BAndiT1983 | at least i've read something in previous iterations of the readme in the apertus qemu repo
| |
21:03 | BAndiT1983 | older one -> https://github.com/apertus-open-source-cinema/axiom-beta-qemu/blob/4334f25641b66013b49ab199e0ce75252bdd49aa/README.md
| |
21:03 | BAndiT1983 | you could checkout earlier commit of the qemu repo, let me check which one could fit
| |
21:04 | BAndiT1983 | if you want to give it a roll ,try one from 05.07.2017
| |
21:04 | TofuLynx | huh?
| |
21:04 | BAndiT1983 | https://github.com/apertus-open-source-cinema/axiom-beta-qemu/tree/351364045b0e0c59caaa496499da25c81efe528d
| |
21:05 | BAndiT1983 | try to download that one and read through README, also look through scripts
| |
21:05 | BAndiT1983 | this were the state before big rework, but i'm losing overview over output, too much is going on
| |
21:05 | TofuLynx | Ok! Will try it!
| |
21:13 | se6astian | off to bed
| |
21:13 | se6astian | good night
| |
21:13 | TofuLynx | Bye bye!
| |
21:13 | se6astian | changed nick to: se6astian|away
| |
21:38 | sebix | left the channel | |
21:41 | aombk | joined the channel | |
22:09 | Bertl_oO | off to bed now as well ... have a good one everyone!
| |
22:09 | Bertl_oO | changed nick to: Bertl_zZ
| |
22:27 | davidak | left the channel | |
22:28 | davidak | joined the channel | |
22:28 | BAndiT1983 | changed nick to: BAndiT1983|away
| |
22:29 | davidak | left the channel | |
22:30 | davidak | joined the channel | |
22:51 | illwieckz | left the channel | |
22:55 | davidak | left the channel | |
23:00 | illwieckz | joined the channel |