<balrog>
where is the GPL for the TM-AC1900, at least the firmware versions that were supported?
<balrog>
If they're not gonna support it anymore, they should at least provide a GPL, so we know what stuff to disable
<balrog>
(in order to not violate licensing)
<balrog>
and also because, well, they have to release GPL by law
npcomp has joined ##openfpga
lopsided98 has joined ##openfpga
lopsided98_ has joined ##openfpga
lopsided98 has quit [Ping timeout: 260 seconds]
lopsided98_ is now known as lopsided98
iximeow has quit [Ping timeout: 256 seconds]
iximeow has joined ##openfpga
<Ultrasauce>
balrog: asuswrt-merlin?
<balrog>
Ultrasauce: yeah, wrong channel oops :)
Bike has quit [Quit: leaving]
<emeb_mac>
tnt: ping
<tnt>
emeb_mac: pong
<emeb_mac>
tnt: I was hunting thru your ice40 playground to find the usb bootloader for up5k - is it there or somewhere else?
<tnt>
yeah
<tnt>
The 'riscv_usb' project
<emeb_mac>
ah ok. saw that but saw some comments about having to use serial interface to start it up.
<tnt>
(and the 'boot_stub' project, they work together. You flash the boot_stub as the default multi-boot image and the 'riscv_usb' project as the second image. App bitstream will be the third image, see some comment in boot_strub for the flash layout)
<emeb_mac>
cool. thx.
<tnt>
emeb_mac: you need to be in the `usb` branch. And the `fw_dfu.c` software auto-enables usb and is the one containing the DFU/bootloader firmware.
<emeb_mac>
tnt: excellent. I'll give that a try on my up5k board.
<emeb_mac>
(which has a usb connection)
<tnt>
So you'll need `make BOOT_CODE=dfu prog` in the base dir to build the hardware with the hardcoded flash offsets to load software from the 'dfu bootloader' part of the flash and then `make prog_dfu` in the `fw` directory to flash the riscv sofware at the right addess.
<tnt>
err my bad. the `make prog` won't work, it won't flash it at the right place.
<emeb_mac>
ok. we'll see if I'm smart enough to figure all that out. :)
<tnt>
the easiest is to build boot_stub, the hardware for the usb bootloader (making sure to use BOOT_CODE=dfu) and the software for the bootloader and then use the script in bootstub (mkmultiboot.py) to combine the whole thing in a single multiboot image you can flash as a whole.
<emeb_mac>
ok - saw that python script and assumed it was key
<tnt>
just pay attention than its arguments are each 'group' of images, with hw/sw separated by colon (:) so you'll have somehting like `mkmultiboot.py boot_stub.bin riscv_usb.bin:fw_dfu.bin`
<emeb_mac>
seems easy enough
<emeb_mac>
gah - my git fu is not strong. did a git checkout usb but the fw directory still seems to have the master stuff in it - missing all the dfu stuff
<jevinskie[m]>
I thought this channel might find this interesting: it’s the compression and decompression algorithm for the simple altera bitstream compression. It just takes each 16 bit word in the bitstream, outputs a nibble with a bit set for each non-zero nibble in the word, and then the non-zero nibbles themselves https://gist.github.com/jevinskie/a4ed8a6337e791a07b412a5be9f132af
<qu1j0t3>
cute
<Lofty>
Oh, hey jevinskie[m]
<Lofty>
Might want to join #prjmistral ;)
m_w has joined ##openfpga
hitomi2504 has quit [Quit: Nettalk6 - www.ntalk.de]
<tpw_rules>
isn't that how stuffit worked or something
<qu1j0t3>
i think stuffit was lzw-like
<qu1j0t3>
i.e. dictionary
mkru has quit [Remote host closed the connection]
mkru has joined ##openfpga
m4ssi has joined ##openfpga
Asuu has joined ##openfpga
Asu has quit [Ping timeout: 272 seconds]
m4ssi has quit [Remote host closed the connection]
m_w has quit [Ping timeout: 246 seconds]
emeb_mac has joined ##openfpga
mkru has quit [Quit: Leaving]
Asuu has quit [Remote host closed the connection]
lopsided98 has quit [Remote host closed the connection]