Hacking Build your own dongle (Research and development thread)

  • Thread starter Thread starter Wierd_w
  • Start date Start date
  • Views Views 156,677
  • Replies Replies 518
  • Likes Likes 34
That means it is the same hardware, and you should have flashed the sysupgrade.trx that got built. (shrug)

Should still be able to push a uImage and uRamdisk over serial. The images should fit in RAM fine. That would get the dongle booting, and then you could do a sysupgrade with the trx.

There is some problems in my TFTPd.so I need to soder the spi flash;
if I flash this https://openwrt.org/toh/unbranded/a5-v11 Firmware . the router runs well and it display "CHAOS CALMER" in TTL. The DHCP runs well.

When I make the Firmware from github https://github.com/DavidBuchanan314/fusee-lede . flash it into my router,
DHCP unwork . TTL display LEDE, maybe there is some error in my openwrt project.
 
  • Like
Reactions: Don Jon
Any example of how i would go about doing the EHCI Patch In-Memory?

Like this: https://gist.github.com/DavidBuchanan314/41b12362cc4d8c539dc441d75155f2e9

(Again, would need rewriting in C...)

--------------------- MERGED ---------------------------

There is some problems in my TFTPd.so I need to soder the spi flash;
if I flash this https://openwrt.org/toh/unbranded/a5-v11 Firmware . the router runs well and it display "CHAOS CALMER" in TTL. The DHCP runs well.

When I make the Firmware from github https://github.com/DavidBuchanan314/fusee-lede . flash it into my router,
DHCP unwork . TTL display LEDE, maybe there is some error in my openwrt project.

I don't think the default configuration even has DHCP, just a static IP of 192.168.1.1, where ssh is running.
 
Like this: https://gist.github.com/DavidBuchanan314/41b12362cc4d8c539dc441d75155f2e9

(Again, would need rewriting in C...)

--------------------- MERGED ---------------------------



I don't think the default configuration even has DHCP, just a static IP of 192.168.1.1, where ssh is running.






It works. this is my bin file.
https://drive.google.com/open?id=1UAD5Wsf8I-eyi-pDRkyQXW8oHbXGWTSR
It can update from factory system.

this bin include LUCI, fusee_lede. and it support command "lsusb" too.
Maybe you need to this: connect the router into Internet, then install the sftp to upload you switch payload.bin to the router.
 
I think it would be possible to increase the RAM of the device through a modification but I do not know if it would be really useful.

Normally : alliance_MT48LC-1155509
New option: 512M-SDRAM-MT48LC32M16A2P-20140714-1288428

I found someone who did it:

Apparently you have to install a resistance of 4.7.
 
Ok then, that is success for both "without battery" and "With battery" variants! Thats fantastic!

I have ordered another zsun, and I have a plan of action this time.

Rather than try to unsolder from both tiny boards, I will use a dremel tool to CUT the pin headers off, and then gently pick out the plastic, leaving me with some small riser pins on the mainboard. I will then use some JST battery cables I ordered from Adafruit, desolder ONLY from the daughter board, and then use the JST cables to plug onto the headers. Less soldering, easier to take apart again afterwards. Possibly reversible!

I ordered a proper soldering iron and other goodies from Adafruit to go with it.
 
This is probably not the right place to ask this but, since this is a generic linux SoC that continuously runs a very small piece of code, can I just grab any cheap SoC on ebay to make my own easily enough?

I mean hell a raspberry pi zero is 5 dollars and is seriously overkill spec wise, why are they charging so much just for the dongle?
 
This is probably not the right place to ask this but, since this is a generic linux SoC that continuously runs a very small piece of code, can I just grab any cheap SoC on ebay to make my own easily enough?

I mean hell a raspberry pi zero is 5 dollars and is seriously overkill spec wise, why are they charging so much just for the dongle?

Because it is easy to payload. If you used a pi zero, you also need : micro usb cable; micro usb otg cable ; 5V power charger;
Pi 3 is batter.
If you are traveling, I think they were burden.
 
  • Like
Reactions: hippy dave
This is probably not the right place to ask this but, since this is a generic linux SoC that continuously runs a very small piece of code, can I just grab any cheap SoC on ebay to make my own easily enough?

I mean hell a raspberry pi zero is 5 dollars and is seriously overkill spec wise, why are they charging so much just for the dongle?

You can, but this has several things going for it:

Very cheap/inexpensive.
Has injection molded shell already
Is very small already (even the battery version is about the size of a large candybar, and no bigger)
If you get the one with the battery-- Self powered while on the go, no extra purchases
Does not require soldering at all
Easily programmed

It could use to be a bit smaller (the one with the battery), but all in all, for a COTS solution, this is pretty damn attractive.
 
I think this only works to connect a 2.0 device to a typeC 3.1 host, not the other way arround. I haven't tried though, it would be great if this does work.
 
If you read the thread, you'd know that there are already cheap ($12) chinese "dongles" capable of launching payloads (you *do* need an A-to-C adapter, but that's only another ~$2). There is no need to "wait" for TX to do anything, since they aren't doing anything new and we already know exactly what their "dongle" does.

That said, cheaper SAMD21 (et al.) based devices are sure to pop up eventually, both for internal "modchip" and external "dongle" usage. However, I still don't see them going much below $12 (that's already less than the price of a basic SAMD21 dev board (~$13)...)
Also this is an open-source solution. Thanks for your efforts guys! :yayswitch:
 
This is my dongle (I going to make the v2 a more small)

2cb92a04336401376afea3e15fe5f246o.jpg


3818a27eb280f38e9604f76134ea9178o.jpg


7b13f2ab6dbf28f39719a48003f82339o.jpg


 
Last edited by Ninoh-FOX,
This is my dongle (I going to make the v2 a more small)
Why is the battery that big? it only needs to be powered a few seconds, whouldn't a more small battery be better?
By the way, great stuff, congrats.
Edited because a error happened and i sended the post whit only a "w"
 
Last edited by Red1Reaper,
well, adafruit trinker V5 NOT WORKS for this (the ram is very small and the usb libraries not work)

This is version 2:

1304f4715504d6de16c5c670dfbd3a34o.jpg


this is the files:

https://github.com/atlas44/sam-fusee-launcher

now, this is important, the file src/main.cpp renamed you to main/main.ino

Download Arduino IDE and the libraries and targets from adafruit, select adafruit trinker M0 when you installed the drivers.

open main.ino (payload.h in the same folder)

edit the #include(s) so:

4c4ba0bad1dd109db1d6118419723579o.png


now open any payload.bin that you wish burn with an hexedit and copy all code so:

741aac793f41ab9fef6d20a8371b959bo.png


memorice the block sice

057560070cdee464885aab9f98200045o.png


copy how:

7a1fc23409d211f1b8a783a7e405f93do.png


now edit payload.h in IDE so:

48c9ce47058c5c76cb5a4e00b83be1e9o.png


the check and compile, if all is ok then upload the file IN BOOTLOADER MODE.

Is easy.
 
Last edited by Ninoh-FOX,
well, adafruit trinker V5 NOT WORKS for this (the ram is very small and the usb libraries not work)

This is version 2:

1304f4715504d6de16c5c670dfbd3a34o.jpg


this is the files:

https://github.com/atlas44/sam-fusee-launcher

now, this is important, the file src/main.cpp renamed you to main/main.ino

Download Arduino IDE and the libraries and targets from adafruit, select adafruit trinker M0 when you installed the drivers.

open main.ino (payload.h in the same folder)

edit the #include(s) so:

4c4ba0bad1dd109db1d6118419723579o.png


now open any payload.bin that you wish burn with an hexedit and copy all code so:

741aac793f41ab9fef6d20a8371b959bo.png


memorice the block sice

057560070cdee464885aab9f98200045o.png


copy how:

7a1fc23409d211f1b8a783a7e405f93do.png


now edit payload.h in IDE so:

48c9ce47058c5c76cb5a4e00b83be1e9o.png


the check and compile, if all is ok then upload the file IN BOOTLOADER MODE.

Is easy.
Thanks for taking the time to share your build, I love how much smaller your second revision is! Do you plan on future revisions?
 

Site & Scene News

Popular threads in this forum