octavius | Does anyone know of any good linux/posix calendar applications that are lightweight? | 12:50 |
---|---|---|
sadoon_albader[m | I've been looking for one for a very long time and it's one of the main reasons that I unfortunately had to leave claws-mail for evolution | 13:03 |
sadoon_albader[m | claws-mail is lightweight and excellent but can only deal with email well | 13:04 |
sadoon_albader[m | Contacts and calendars are wonky | 13:04 |
octavius | Thanks, also found a comparison article: https://www.ubuntupit.com/best-linux-calendar-apps/ | 13:11 |
octavius | I'll try a few different option. I'd rather have something with text files or databases that I can easily backup | 13:12 |
sadoon_albader[m | Can someone ping me when octavius joins again | 14:38 |
markos | lkcl, sorry for being afk lately, it's been a very busy period, and the meetings are just a tad too late for me, I'm almost half asleep by then :) | 14:38 |
markos | reg. sv64 code, I intend to start next week on this, once things come down to a normal pace | 14:40 |
markos | now, I would prefer to work directly on the actual code, writing documentation is not really my favourite part and I tend to take way too long to write docs :) | 14:40 |
lkcl | markos, no problem | 14:42 |
lkcl | ha :) | 14:42 |
lkcl | well, at least some brief notes would work. which to be honest is what a lot of the wiki already is | 14:43 |
markos | ok, I'll try to tackle it during the weekend | 14:45 |
lkcl | star. welcome back btw | 14:56 |
markos | I was never gone, just incredibly busy :) | 15:01 |
markos | also any chance of having the meetings a bit earlier? | 15:01 |
lkcl | markos, i'd love to (it would help me as well) but we have the possibility of people from Australia (GMT+10) joining, and anything earlier starts to get towards 6am for them. | 16:00 |
markos | ok I see | 16:01 |
markos | makes sense | 16:01 |
lkcl | plus, for cesar, it is "just outside of his work hours" | 16:01 |
markos | I'll try next week, I'll be prepared with lots of coffee | 16:01 |
lkcl | it's a relaxed affair, no pressure / rush | 16:01 |
lkcl | the bi-weekly one (which is an hour earlier, today) is the "official" one if like | 16:02 |
markos | yeah, this is much easier to join | 16:03 |
lkcl | same URL | 16:03 |
lkcl | sent you a calendar invite | 16:04 |
lkcl | we usually have a lot to get through, and it even has an agenda (gosh) | 16:05 |
markos | thanks | 16:07 |
lkcl | Chips4Makers[m], hi, you probably saw i added the options of pullup/pulldown and banksel to TAP.add_io(), and plan to add drivestrength-select as well, later | 16:42 |
tplaten | I was able to build the kernel, its output is microwatt/arch/powerpc/boot/dtbImage.microwatt | 16:43 |
lkcl | we're required by NGI POINTER under contract to add appropriate SPDX headers, which prompted me to look for the LICENSE file, and, doh, there isn't one! | 16:43 |
lkcl | i found our last discussion about it http://lists.libre-soc.org/pipermail/libre-soc-dev/2020-October/000802.html | 16:43 |
lkcl | and am happy with that | 16:43 |
lkcl | tplaten, fantastic. yes, that's the right file. | 16:44 |
tplaten | The next thing will be sdram_init.bin | 16:44 |
lkcl | ah btw i did have to hand-patch the linux kernel so that it could create uncompressed images | 16:44 |
lkcl | i think i sent it to the mailing list(s) already | 16:45 |
lkcl | an uncompressed option is incredibly important because otherwise you will end up with 6+ HOURS of real-time just running the algorithm to uncompress | 16:46 |
lkcl | even the memcpy for uncompressed kernel copy take ONE hour | 16:46 |
lkcl | (!) | 16:46 |
lkcl | tplaten, https://ftp.libre-soc.org/microwatt-linux-5.7.patch | 16:47 |
lkcl | the changes to the device-tree clock-frequency and timebase-frequency are also critically important | 16:47 |
lkcl | because the clock speed of 50 mhz is hard-coded into the source code of sdram_init.bin, for the divider frequency on the 16550 UART | 16:48 |
lkcl | really, the frequency should be read from a very early SYSCON read, but it isn't | 16:49 |
lkcl | (SYSCON is an area of memory, a memory-mapped "peripheral", that contains HDL-specific parameters, like "what's the clock speed", and "do i have an SPI peripheral connected" and "how many UARTs do i have") | 16:50 |
tplaten | patching file arch/powerpc/boot/dts/microwatt.dts | 16:50 |
tplaten | Hunk #1 succeeded at 61 (offset -4 lines). | 16:50 |
tplaten | Hunk #2 FAILED at 120. | 16:50 |
tplaten | most likely I checked out the wrong revision | 16:50 |
tplaten | git clone -b microwatt-5.7 https://git.kernel.org/pub/scm/linux/kernel/git/joel/microwatt.git | 16:50 |
lkcl | you want - need the microwatt-5.7 branch | 16:51 |
lkcl | commit abe0e1dab0a200a | 16:52 |
lkcl | hmmmm. | 16:53 |
lkcl | very strange, not being able to find that | 16:53 |
lkcl | where the hell did i get it from?? | 16:55 |
tplaten | https://git.kernel.org/pub/scm/linux/kernel/git/joel/microwatt.git | 16:56 |
tplaten | most likely this is an old one | 16:56 |
tplaten | as there is no commit abe0e1dab0a200a | 16:56 |
lkcl | https://patchwork.ozlabs.org/project/linuxppc-dev/patch/YMwXGCTzedpQje7r@thinks.paulus.ozlabs.org/ | 16:56 |
* lkcl tracking it down | 16:57 | |
lkcl | ah ha! https://github.com/ozbenh/linux/commit/004293063627d50282d680b80cf46ae90b1bf692 | 16:59 |
lkcl | i think what i probably did was to take the original patch and use git am apply | 16:59 |
lkcl | which of course has completely different git commit nodes | 17:00 |
lkcl | oh well | 17:00 |
lkcl | you should be able to repro the patches/changes needed, they should be pretty obvious/straightforward what to do | 17:01 |
tplaten | It works | 17:25 |
tplaten | but there is still no sdram_init.bin | 17:26 |
octavius | sadoon_albader[m : I'm on again if you need me | 17:28 |
lkcl | tplaten: cd microwatt | 17:31 |
lkcl | cd ./litedram/gen-src/sdram_init | 17:32 |
lkcl | make | 17:32 |
lkcl | ls -altr obj | 17:32 |
lkcl | find . -name sdram_init.bin | 17:32 |
lkcl | ./litedram/gen-src/sdram_init/obj/sdram_init.bin | 17:32 |
*** tplaten <tplaten!~isengaara@p200300ddff3f2d002e094dfffe000232.dip0.t-ipconnect.de> has left #libre-soc | 17:43 | |
sadoon_albader[m | <octavius> "sadoon_albader : I'm on again if..." <- I wanted to say that you can backup and restore settings and data of evolution easily | 17:53 |
sadoon_albader[m | That's how I set it up to make all my machines on the same settings | 17:53 |
sadoon_albader[m | The data is in a tar.gz but I didn't look inside it | 17:54 |
octavius | Oh nice, so it compresses it by default? | 17:54 |
sadoon_albader[m | Oh no, that's the backup file | 18:06 |
sadoon_albader[m | I don't know how it stores it on disk regularly | 18:06 |
tplaten | In microwatt/litedram/gen-src/sdram_init I get cannot create directory ‘/obj’: Permission denied | 18:20 |
octavius | Is that just a use permission issue? | 18:22 |
octavius | ls -ll | 18:22 |
octavius | *user | 18:22 |
tplaten | If I set BUILD_DIR, LXSRC_DIR and SRC_DIR I get main.c:8:10: fatal error: generated/git.h: No such file or directory | 18:27 |
tplaten | There is no git.h in the source tree | 18:28 |
lkcl | ehhmmm... moo? :) | 18:35 |
* lkcl investigating | 18:35 | |
lkcl | ahh that'll be a missing envvar somewhere | 18:36 |
lkcl | hmmm, i wonder what it is... | 18:36 |
lkcl | ah ha! | 18:36 |
lkcl | create a variables.mak file | 18:36 |
lkcl | BUILD_DIR=. | 18:36 |
lkcl | SRC_DIR=. | 18:37 |
lkcl | GENINC_DIR=. | 18:37 |
lkcl | NO_SDRAM=true | 18:37 |
lkcl | lkcl@fizzy:~/src/libresoc/microwatt/litedram/gen-src/sdram_init$ ls -altr variables.mak | 18:37 |
lkcl | -rw-r--r-- 1 lkcl lkcl 49 Jan 2 15:02 variables.mak | 18:37 |
lkcl | although, actually, the patches i added are supposed to kick in and "work" | 18:38 |
lkcl | hang on... | 18:38 |
lkcl | tplaten: git pull, i had the test of whether variables.mak existed or not the wrong way round | 18:43 |
lkcl | lkcl@fizzy:~/src/libresoc/microwatt/litedram$ !fi | 18:44 |
lkcl | find . -name "git.h" | 18:45 |
lkcl | ./generated/git.h | 18:45 |
tplaten | I did git clone ssh://gitolite3@git.libre-riscv.org:922/microwatt.git -b verilator_trace, but <generated/git.h> does not exist on my machine, how do I generate it? | 19:05 |
lkcl | tplaten, i have no idea | 19:05 |
lkcl | let me see if i can find out | 19:05 |
lkcl | tplaten, it's an empty file | 19:07 |
lkcl | touch litedram/generated/git.h | 19:08 |
lkcl | the cleaner way is of course to have some #ifdefs but this is 3rd party auto-generated code #including that | 19:09 |
tplaten | The next error here is #include "sdram.h" not found | 19:16 |
tplaten | I saw there is STANDALONE_MINI_BIOS | 19:16 |
lkcl | touch sdram.h | 19:17 |
lkcl | empty file, again | 19:17 |
lkcl | yes. | 19:17 |
lkcl | hmmm #ifdef STANDALONE_MINI_BIOS is supposed to cut those files out | 19:17 |
lkcl | ah do you still have a variables.mk file in the directory? | 19:18 |
lkcl | if so, delete it | 19:18 |
lkcl | tplaten, also git pull | 19:20 |
lkcl | because i just added EXTRA_CFLAGS to CFLAGS | 19:21 |
lkcl | which _should_ activate #ifndef STANDALONE_MINI_BIOS in main.c correctly | 19:21 |
tplaten | Now it works, I have a file obj/sdram_init.bin | 19:21 |
lkcl | fantastic | 19:21 |
lkcl | copy that to somewhere convenient (i put it in the toplevel directory) | 19:22 |
lkcl | so i can do ./microwatt-verilator ./sdram_init.bin ./dtbImage.microwatt | 19:22 |
lkcl | are you compiling with EXTERNAL_CORE=false in the Makefile? | 19:22 |
lkcl | # use an alternative core (in verilog) | 19:23 |
lkcl | EXTERNAL_CORE=false | 19:23 |
lkcl | if so that will generate then use microwatt.v | 19:23 |
lkcl | and you should be at a buildroot login prompt iiin... abouuut... 2 hours | 19:23 |
lkcl | try running mmu.bin and helloworld.bin first, though | 19:24 |
lkcl | just to make sure | 19:24 |
lkcl | cd tests/bin/mmu | 19:24 |
lkcl | make | 19:24 |
lkcl | cd ../hello_world | 19:24 |
lkcl | make | 19:24 |
lkcl | cd ../.. | 19:24 |
lkcl | ./microwatt-verilator tests/mmu/mmu.bin | 19:24 |
lkcl | or quicker, ./microwatt-verilator tests/hello_world/hello_world.bin | 19:25 |
lkcl | btw do keep an eye on the amount of files you get in the directory | 19:25 |
lkcl | the snapshots stack up *real* fast | 19:26 |
tplaten | I still need dtbImage.microwatt.hex when I run make in microwatt | 19:31 |
lkcl | ehhmm... no absolutely not, don't do that | 19:34 |
lkcl | don't run "make" | 19:34 |
lkcl | you will end up with something like a 512 gigabyte executable if you try | 19:34 |
lkcl | that's if you don't thrash your machine to oblivion trying | 19:34 |
lkcl | make microwatt-verilator | 19:34 |
lkcl | *NOT* "make" | 19:34 |
lkcl | "make" tries to build-in the executable as a verilog static memory | 19:35 |
lkcl | this is perfectly fine for small binaries like hello_world.bin | 19:36 |
lkcl | but will literally cause a melt-down of your machine if you try it with a six megabyte binary | 19:36 |
lkcl | the resultant microwatt.v will be something mad like a 450 megabyte verilog file - that's if your machine doesn't run out of virtual memory trying to create it in the first place | 19:37 |
tplaten | I did make microwatt-verilator, when I got this message: No rule to make target 'dtbImage.microwatt.hex' | 19:37 |
lkcl | try "touch dtbImage.microwatt.hex" | 19:38 |
lkcl | and don't worry about it | 19:38 |
lkcl | it shouldn't be being requested or included | 19:38 |
lkcl | but obviously i haven't encountered the error because i had previously tried creating the .hex file | 19:39 |
tplaten | more weird things happen | 19:40 |
tplaten | ERROR: Can't load module `./ghdl.so': /usr/local/bin/../share/yosys/plugins/ghdl.so.so | 19:40 |
lkcl | sigh yes, that's a bug in microwatt's makefile(s) | 19:40 |
lkcl | they should have used "GHDLSYNTH ?= ghdl" | 19:41 |
lkcl | not ghdl.so | 19:41 |
lkcl | you can "fix" it in one of two ways | 19:41 |
lkcl | either a symlink | 19:41 |
lkcl | or "export GHDLSYNTH=ghdl" | 19:41 |
lkcl | you've build yosys-ghdl-plugin successfully, and installed it? | 19:43 |
tplaten | Yes I installed it in a chroot | 19:44 |
tplaten | Cannot find file containing module: 'external_core_top' | 19:44 |
tplaten | export GHDLSYNTH=ghdl is working | 19:45 |
lkcl | you have "EXTERNAL_CORE=true"? | 19:46 |
lkcl | or "EXTERNAL_CORE=false"? | 19:46 |
lkcl | # use an alternative core (in verilog) | 19:47 |
lkcl | EXTERNAL_CORE=false | 19:47 |
lkcl | ifeq ($(EXTERNAL_CORE),false) | 19:47 |
lkcl | you should only have that error if you have set EXTERNAL_CORE=true | 19:47 |
lkcl | otherwise it should use core_dummy.vhdl | 19:47 |
lkcl | but hmmm just in case, run the build of external_core_top.v | 19:48 |
lkcl | lkcl@fizzy:~/src/libresoc/soc/src/soc$ python3 simple/issuer_verilog.py --microwatt-compat --enable-mmu external_core_top.v | 19:48 |
lkcl | and obviously, copy that into the microwatt directory | 19:48 |
lkcl | it _shouldn't_ be used | 19:48 |
* lkcl just making supper | 19:49 | |
tplaten | I continue tomorrow | 19:57 |
*** tplaten <tplaten!~isengaara@p200300ddff3f2d002e094dfffe000232.dip0.t-ipconnect.de> has left #libre-soc | 19:59 | |
lkcl | ok, nicely done, thank you for being so patient | 20:11 |
lkcl | programmerjake, octavius markos lxo toshywoshy meeting | 21:02 |
octavius | New diagrams lkcl: | 22:30 |
octavius | https://libre-soc.org/docs/pinmux/gpio_jtag_1bit.jpg | 22:30 |
octavius | https://libre-soc.org/docs/pinmux/gpio_jtag_4bit.jpg | 22:30 |
lkcl | octavius, i like it | 22:33 |
octavius | Now I just gotta throw a little hotrod red in there ;) | 22:45 |
octavius | https://www.youtube.com/watch?v=DZaAFADoF1M&t=126s | 22:45 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!