Necromancer's notes

Meanwhile, in Soviet Russia...

  • Blog
  • Software
  • About/Contact

Allwinner A10 @ Ampe A90: Enabling hidded usb host

Posted by Necromant on 08.05.2012
Posted in: hardware. 2 comments

Okay, recently I got myself such a tablet. So here goes the trick. It has a hidded USB host inside. You’d like to enable it in case you want to pop in some internal goodies like an usb jump drive, gps, 3g whatsoever.

However, you have to enable the host. This is done in the following steps:
Continue Reading

Accelerating eeschema symbol generation (code inside)

Posted by Necromant on 27.04.2012
Posted in: software. Tagged: eeschema, kicad, python. Leave a Comment

If you have ever used kicad, you’ve had a moment where there isn’t a ready-made symbol for your IC. It’s quick to make one with that  web tool but what what if the chip is over 100 pins?

I used to use a very dirty hack with bash and xdotool, but the amount of hackery here was a bit too big, so I decided to make a better solution. Lots of thanks fly out to the guys, who made xil2kc, a tool that creates eeschema symbols out of .pkg files that ISE can create. Unfortunately for me they picke python, my least favourite programming language. Anyway, the code was there, so I made a different util based on their library. I thought all the things over and came with a format that can be easily used.
Continue Reading

XC3S100E, STM32F103ZET6, clocking and such stuff.

Posted by Necromant on 02.04.2012
Posted in: hardware. Tagged: clocking, stm32, voodoo, xilinx. Leave a Comment

Okay, lately I’ve been quite busy routing another killerboard with a friend of mine. With STM32 and Xilinx FPGA on the memory bus. These babies are intended for use in some robots, will post some details later. If I get a chance.
Anyway, the boards arrived, I quickly ported my Xilinx-sscu driver to bare metal and… pooh, it didn’t work.
It took me quite a while poking with an osclilloscope: I adjusted delays, added caps to CLK & DIN lines to remove spikes – same shit. Then I accidentally disabled the oscillator for the FPGA… And guess what – it worked. I enabled the oscillator after config was done – the FPGA started blinking happily. WTF?
Looks like I’ll have to add another wire for toggling oscillator from uC.
No sources or kicad circuitry YET. Just a pic of the board for now, it’s in REALLY early testing stage.

Flytouch II: adding internal bluetooth & a usb hub.

Posted by Necromant on 10.03.2012
Posted in: hardware. Leave a Comment

Well, just pics under the cut. Still need to get android stuff working. Modules get loaded already, I just need to compile bluez-utils and Bluetooth part of android.
Continue Reading

Flytouch II: First bunch of hacks.

Posted by Necromant on 01.03.2012
Posted in: hardware. Tagged: flytouch, hack, toyota. Leave a Comment

It’s been more than a year since this tablet pc. I didn’t have much use for it until… Well, I decided that it would go nicely into the car to serve as a GPS navigator and a voicebox using my NetTTS software. And I decided to get a better tablet for everyday usage instead.
So, there go the first bunch of hacks, that solve the issues I’ve encountered.
Continue Reading

WM8650 tablet guts

Posted by Necromant on 11.02.2012
Posted in: hardware. Tagged: guts, wm8650. 2 comments

As asked by NiTr0

Continue Reading

pktcdvd and backups

Posted by Necromant on 31.01.2012
Posted in: hardware, software. Tagged: backup, bash, linux, pktcdvd, udf. Leave a Comment

Some time ago an HDD I had quite a while died. The worst part is, that it contained the backups. It worked for about two years in a fashion where it gets powered once in a while via a mosfet, receives a payload of backups and then goes offline again. Analyzing the corpse it looks like it was the spindel motor. Well done, WD!
This made me thing of another way to store critical backups. Consider me paranoid, but I do not trust cloud services.  Then I saw an old cdrw disk wasting its remaining life as a stand for the coffee cup.

Continue Reading

Use a POST card from userspace

Posted by Necromant on 23.01.2012
Posted in: hardware, software. Tagged: bios, hack, linux, post. Leave a Comment

Okay. This time my small server got screwed up. Totally. segfaults at no apparent reason, lags, and finally the PC not starting at all. Since ssh was down, I had to debug using a UART and a POST card (No monitor in the closet where it stands usually). In the end I had to take the small thing out of its place to the table. A detailed analysis showed up that it was the RAM. Luckily I had a spare 2 GiB chip around and popped it in. However, while troubleshooting it, I hooked the POST card…
The last thing gave me an idea. Not sure if that was done before.
Continue Reading

A cradle for F602

Posted by Necromant on 06.01.2012
Posted in: hardware. Tagged: 3d, f602, openscad. Leave a Comment

Some time ago I got myself an MT6116 based mobile, called F602. (Yep, I love chineese crap!)
The only thing it lacked was a good cradle, so I took OpenSCAD and… Well, thanks to Dmitry for the 3d printing stuff.
You’ll have to sacrifice your sync cable though. Remove the plug casing, pop in the phone, secure with 2-component glue or thermal glue and you are done.
Obligatory pics:

Continue Reading

Asus N75SF, external subwoofer and alsa

Posted by Necromant on 03.01.2012
Posted in: hardware. Tagged: alsa, asus, idiots, kernel, n55sf, n75sf, patch. 8 comments

Asus N75SF turned out to be a pretty cool piece of hardware.
However, subwoofer didn’t work out of the box. So time to open up kate and hack the support for it.

The following patch adds a new model: asus-n75sf, set it as a parameter to intel-hda module and you are good to go.

Or in modprobe.d
options hda-intel model=asus-n75sf
Continue Reading

Posts navigation

← Older Entries
    • English
      • Русский (Russian)
  • Friends

    • Хорошая музыка
  • Logon

    • Mail
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
Proudly powered by WordPress Theme: Parament by Automattic.