by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 20 11:13
    CodeWithSouma synchronize #2125
  • Sep 20 11:13
    CodeWithSouma synchronize #2125
  • Sep 19 17:14
    MASTERDAMMU commented #623
  • Sep 17 13:27

    mariobehling on apk

    Travis build pushed to [develop… (compare)

  • Sep 17 13:27

    mariobehling on apk

    Travis build pushed to [develop… (compare)

  • Sep 17 09:14
    SunitRoy2703 commented #658
  • Sep 17 08:48
    kartik-pant-23 commented #659
  • Sep 17 08:39
    kartik-pant-23 opened #659
  • Sep 17 06:23

    CloudyPadmal on apk

    Travis build pushed to [develop… (compare)

  • Sep 17 06:20
    mariobehling commented #658
  • Sep 17 06:16

    dependabot-preview[bot] on gradle

    (compare)

  • Sep 17 06:16
    dependabot-preview[bot] edited #651
  • Sep 17 06:16

    dependabot-preview[bot] on gradle

    (compare)

  • Sep 17 06:16

    mariobehling on development

    Bump core from 1.6.4 to 1.8.0 (… (compare)

  • Sep 17 06:16
    mariobehling closed #651
  • Sep 17 06:15

    mariobehling on development

    Bump constraint-layout from 1.1… (compare)

  • Sep 17 06:15
    mariobehling closed #653
  • Sep 16 19:09
    kartik-pant-23 commented #657
  • Sep 16 18:40
    SunitRoy2703 opened #658
  • Sep 16 18:21
    kartik-pant-23 opened #657
Alvin Ho
@alvinh16
@orangecms
" What do you need a VM for anyway?"
in fact i'm not sure i'm doing the most intelligent nor best thing, but i'm a manjaro user. So far i've been creating separate partitions on the harddisk to test other stuff. The problem with manjaro is it has its own brand of boot manager ie grub which is not compatible even with arch nor any arch derivatives. 1 can only have manjaro partitions. So to get familiar with arch, i need a virtual partition.
one can of course use virtualbox, but why not use the opportunity to showcase open-source? we need 2 be the evangelists for open source since the news this week has shown we clearly cannot rely on the linux foundation who themselves are using proprietary software.
Daniel Maslowski
@orangecms
Manjaro is really just Arch with some differences in integrations... you could just set up a chroot to try things out, that's my suggestion. Though the question then is: What do you want to look for, what do you need, what do you want to set up specifically or customize etc?
Alvin Ho
@alvinh16
1st of all lads, here's an "RISC-V Update for September 2020" by dj ware which is very high level, but easy for "normal" people 2 undersand.
https://lbry.tv/@cruxwork:4/risc-v-update-for-september-2020:1
Alvin Ho
@alvinh16
@orangecms "Manjaro is really just Arch with some differences in integrations..." & "What do you want to look for, what do you need, what do you want to set up specifically or customize etc?" The later question is easier to ans, so i'm trying to
  1. create a swap space, call it sda1,
  2. keep my manjaro installation(s) call it sda2 &
  3. install (& test) an arch linux in, lets say, sda3
    https://lbry.tv/@DistroTube:2/hey-dt-why-arco-linux-instead-of-arch:9
Alvin Ho
@alvinh16
u can see fm the lbry link, DT is talking about manjaro & arco which deliver some value over & above arch, but the rest of the arch distros are just arch + a whole bunch of software bundled in. Therefore for new users who are excited to get on the linux bandwagon & start work, i would say install manjaro or arco, uh no, i've not tried arco. if u want to go back to the days of MS-DOS or PC-DOS & work your way up from windows 2.01 to 3 to 3.1..etc, well, arch is the analogy for that albeit a pretty bad 1!
Daniel Maslowski
@orangecms
On toolchains for the PIC(24) MCU: https://geoffg.net/C_Compilers.html
The author writes that it's a bit outdated though, but we should check for other options than the proprietary tooling from Microchip.
http://opensourcepic.net/compiler.php does not support the PIC24, unfortunately.
Daniel Maslowski
@orangecms
Daniel Maslowski
@orangecms
Daniel Maslowski
@orangecms
Regarding the Microchip toolchains: As per https://www.microchip.com/mplab/compilers, they require outdated 32-bit compatibility libraries which are being removed from distributions or already no longer available. In other words: They don't work.
5 replies
Daniel Maslowski
@orangecms

u can see fm the lbry link, DT is talking about manjaro & arco which deliver some value over & above arch, but the rest of the arch distros are just arch + a whole bunch of software bundled in. Therefore for new users who are excited to get on the linux bandwagon & start work, i would say install manjaro or arco, uh no, i've not tried arco. if u want to go back to the days of MS-DOS or PC-DOS & work your way up from windows 2.01 to 3 to 3.1..etc, well, arch is the analogy for that albeit a pretty bad 1!

I'm not sure I get the point. To a less experienced user, I would recommend to start with something simple like stock Arch or Gentoo and then progress to something else.

Daniel Maslowski
@orangecms

Damn... So I added the compiler options (as pointed out in https://stackoverflow.com/questions/15391996/mplab-link-error-could-not-allocate-section-c30-compiler) -O3 -mlarge-data to build the bootloader test project (also tried -Os). Here's what I get:

Options have been disabled due to restricted license
Visit https://www.microchip.com/compilers to purchase a new key.

We cannot use the necessary size optimizations with that compiler. :(
I just installed about 10GB of closed binaries just to see this message. That is... sad.

Alexander Bessman
@bessman
Haven't tested this, but it's supposedly easy to remove the optimization restriction: https://github.com/cv007/XC3216
Not to mention completely legal, since xc is under gplv3.
Daniel Maslowski
@orangecms
Yea that's the escape I guess.
Thank you! I will check if that helps :)
Alvin Ho
@alvinh16
@orangecms : probably talk abt grub incompatibilities with manjaro tonight. in the meantime..
this is 1 of my posts on diaspora. As u can c, its got most of watt we use for facebook available..
https://diaspora.schoenf.de/posts/940637
Daniel Maslowski
@orangecms
so I just did this
To set up bootloaders like GRUB, I would recommend to just set them up yourself for booting multiple OSs / distros etc.. The GRUB config tool (grub-mkconfig) offers a drop-in directory at /etc/grub.d/ and a set of defaults at /etc/default/grub.
Daniel Maslowski
@orangecms
Alvin Ho
@alvinh16
hey mario et al, i'm gonna share a bunch of slides with u chaps tonight albeit not every single slide, i meant it for a wider audience. What i'm sharing with u chaps tonight is gonna b probably 3-4 slides so it shd not take up too much time
https://drive.google.com/drive/folders/1xq7c7Ep_ZuyuQtZU73K_QRBh9jGJLhj2?usp=sharing
Daniel Maslowski
@orangecms
And no luck even with the "fix" to circumvent their license crap, sadly. I will check the generated memory map. There is this dist/default/production/TEZBL.X.production.map. It is merely a log file though. Needs some more digging.
Daniel Maslowski
@orangecms
Some people suggest separating the bootloader from the application into distinct projects: https://www.microchip.com/forums/m746071.aspx
That sounds reasonable.
Mario Behling
@mariobehling
@alvinh16 Thanks!
@/all We now have a #GroveShield made by @Cloudypadmal for the PocketScienceLab to make it easier to connect sensors for experiments + simplify prototyping. No jumpers or soldering required! https://github.com/fossasia/pslab-grove-shield
pslab-grove-shield.png
Daniel Maslowski
@orangecms
That effectively gives you more sockets to connect to the SPI and I2C buses, right?
Since SPI is active low, would it make sense to add some more GND pins? There is still free space. :)
1 reply
Daniel Maslowski
@orangecms
I had a closer look at what the Microchip toolchain is doing. The memory map is defined in the linker script at /opt/microchip/mplabx/v5.40/packs/Microchip/dsPIC33E-GM-GP-MC-GU-MU_DFP/1.2.58/xc16/support/PIC24E/gld/p24EP256GP204.gld and this is where you can get the boundaries from that you can use for the bootloader and application; e.g., the generated sources from the repo that you created has #define BOOT_CONFIG_PROGRAMMABLE_ADDRESS_LOW 0x800. I'm not sure how much is really needed, but that's where we can look closer... Did you just copy the sources for EZBL into the project somehow @CloudyPadmal ? And how exactly did you create the project?
1 reply
Daniel Maslowski
@orangecms
Okay, how does that import work? Did you select a directory from your local filesystem? I haven't seen it, maybe just DM me if it's more complicated. :-)
Padmal
@CloudyPadmal
Screenshot from 2020-09-17 19-59-57.png
I didn't pick anything from local filesystem. With MCC (Microchip Code Configurator), it's much easy to add libraries. I used that panel to the right side of the screen as seen from the screenshot to add the bootloader. Other libraries were not much of a trouble to setup with MCC. Only exception I had was the bootloader..
Daniel Maslowski
@orangecms
Where does the 0x02A7FE stem from, and where does the IDE take the code from?
mabhinav004
@mabhinav004
hii
Padmal
@CloudyPadmal
Padmal
@CloudyPadmal
MASTERDAMMU
@MASTERDAMMU
hey everyone. I am anuj saxena
Daniel Maslowski
@orangecms
Hello @MASTERDAMMU! \o/
Daniel Maslowski
@orangecms
Alvin Ho
@alvinh16
@orangecms impressive! considering the specs, its a huge investment. unfortun8ly, the screen & keys are too small for blokes like me. lately i've been listening 2 many opinions on the future of ARM under nvidia. Long term future looks rather bleak. For the short term, i guess its business as usual.
Alvin Ho
@alvinh16
btw, i exited fm minds social media. Even tho they are open source, the engine is buggy. When i wanted 2 do something, they said something 2 the effect of please activate your system fm the key in your email. I didn't receive anything in my email.. even after looking in my SPAM box. This happened 2 me 2x. Finally i gave up & deleted my account
for the time being, this might be prohibitatively expensive for now, but give it abt 1 year. if it don't catch up with raspbery pi, then the manufacturer is in trouble!
https://lbry.tv/@TheOmnitubers:b/picorio-is-an-open-source-risc-v:7