tag:blogger.com,1999:blog-79052547443527418292024-03-13T04:53:05.118+00:00random-fuReggiehttp://www.blogger.com/profile/01093659277008190854noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-7905254744352741829.post-9925512781181148542013-08-05T02:49:00.000+01:002013-08-05T02:49:41.658+01:00I've taken up woodworking....As the title says, I've taken up woodworking, I've wanted to make things for a while now but always lacked any decent tools and any skill, apart from a soldering iron and some wire cutters. as you can see from my other articles, I like embedded electronics, but there are never any sensible cases for things, if there are, it's a ridiculous price and probably not entirely appropriate to my needs. So I want to design and craft my own cases, along with little bits of furniture and other ideas I might have for my other hobbies, eventually I'd like to build a cnc to take care of intricate parts but for bigger projects woodworking will be great. I have been ill for some time, so this will also be an opportunity to start to slowly get fitter.<br />
<br />
My tool kit has consisted for some time of rusty pliers, a junior hacksaw, a rasp, a claw hammer and a bent chisel, not exactly inspiring. I started looking into getting some tools together, spoke to my dad and the upshot was that he donated me power tools and hand tools as he's been upgrading his.<br />
<br />
So far I have a ferm scroll saw, jig saw, power drill, 2 routers, 2 router tables, compound sliding mitre saw, detail sander, cordless circular saw, detail sander, 7 bevel edged chisels, a record no.4 smoothing plane and an oilstone. It all sounds like a reasonable load of kit and on the face of things it is, however, there are a few issues that needed sorting out.<br />
<br />
The first power tool I was given was a Ferm ffz-400n scroll saw, it's pretty much your standard lower middle range scroll saw, it's a pinned blade system but can be upgraded to a pinless system, to use it properly it will need to be upgraded, as it stands it's quite hit and miss as to how the blade will behave and intricate inside work is impossible due to needing at least a 5mm hole to insert the blade through a work piece.<br />
<br />
Next was the Bosch router and router table, the router is a 1/4", it's ok but apparently the micro-adjuster suffers from creep even when the thing is locked, it was missing bushes and being bosch they were proprietary and expensive, it also had trammel bars but these were rusty. <br />
<br />
The Bosch RT60 router table is a cast metal table, it's really a jobbing table than a precision unit, it's got a rudimentary plastic fence which has a couple of nice features but non standard slots in it and no way to attach anything, being plastic you'll probably ruin it before you modify it with any attachments. It's also got a mitre slot cast into the bench but the finish was so poor on the paintwork/casting that it would really need plenty of work to get it to a usable state for jigs and to top it all the mitre slot is shorter than the standard slots that everyone else uses.<br />
<br />
I wasn't entirely convinced with the router, being a plunge router in a table it's not exactly simple to swap bits and adjust height, by the time I'd spent money on the router to get it up to a usable state, I could have bought 1/2 a new router with all the trimmings that could take 1/2 inch router bits.<br />
<br />
The 2nd router was a blackspur, again, like the bosch it's a plunge router, it's a bit weak, certainly not suitable for a table and most of the bits missing for using it as a normal router, it's essentially now a fat 1kw laminate trimmer. <br />
<br />
At this point I'd read up a lot on routers, router tables, fences and associated systems, my dad incidentally has an incra setup, it's something I'd like to aspire to but not something I would want to spend the money on, at least not right now.<br />
<br />
So, what to do? Well, it was clear that I wanted to have a router table with a fence system that allows repeatability, I also need a decent workbench to work on too, this was again discussed with my father, who graciously decided to donate his 'shopsmith' router table, this is a thick mdf affair, with a proper dado'd aluminium mitre slot, the only small issue with it is that the slot is actually a shopsmith proprietary size but this will soon be remedied when the standard mitre slot arrives.<br />
<br />
I also decided at this point that if I'm going to have a reasonable router table then I should have a reasonable router, I don't have hundreds of pounds to spend on festool etc. but I wanted a fixed based router, I settled on a draper 1350w combination router kit, it's got a plunge base and a fixed base, it comes with a 1/4" and 1/2" collets, a set of screw in bushes, trammel bars, guide rail and centring pin. I didn't go mad with bits, I bought a cheap draper 1/4" set, I figured that I'd get a set of cheap generic bits so that I could learn which bits I really needed and wouldn't worry about trashing them with my ineptitude.<br />
<br />
All that prep work and not a single thing built yet!! This isn't really surprising, as my current workbench is a weak workmate style bench, I also have zero skills, along with a distinct lack of timber.<br />
<br />
My Dad to the rescue yet again, brought over a load of wood that was supposed to be enough to build a bench and a couple of different sets of plans for building one. I Studied the plans looked at the wood and figured there wasn't really that much of a relationship between the 2!! I had 4x 29"x3x3, one of them square, the other 3 didn't have a 90deg angle between them, so they're too short and they'd need a bit of work to get them to a usable state. The rails were also in a dubious state/not enough.<br />
<br />
To cut a long story short, I decided to cut my losses on the legs and go and get 4x 39"x3x3 PAR, my Dad also sorted me out with enough wood to sort out the rails. I'm currently waiting on the wood for the top but that should be within the next week or so.<br />
<br />
I've knocked up a design on sketchup (had to learn how to use that first), it's based on a few other designs dotted around the net, it'll be sturdy enough to last for years and give me a solid work area for all of my projects.<br />
<br />
Once I've got the bench built, I will build a carcass for the shopsmith router table to sit on.<br />
<br />
Onto the hand tools, using a junior hacksaw for everything is lame and my bent chisel is only useful for opening tins of paint. You can't really build a bench with those, so I bought myself a tenon saw, in hindsight it was cheap junk and not really that appropriate or at least not appropriate for someone who hasn't used a saw much in his life. It was really too bulky for fine control, more teeth than a piranha and set wide enough to drive a bus through the kerf.<br />
<br />
Dad to the rescue yet again (he really is great isn't he?), 7 bevel edged chisels, an oilstone, a record no.4 and a japanese flush cutting saw with a ninja style name. <br />
<br />
A couple of the chisels were stanley, 3 of them looked like the stanleys but no markings and the last 2 had no names on them, some of them were the same size, so I ended up with 3 different sizes, 1/2", 3/4" and 1".<br />
<br />
None of them had sensible bevels on them, I weighed up the time it would take to learn how to hone chisels by hand/eye coordination alone vs getting a honing guide kit and getting on with life, the honing guide kit won.<br />
<br />
There are many methods to putting a bevel on a chisel and producing a nice sharp edge, I'm still trying them all out so I won't tell you how I do mine, you'll have to find out for yourself :-)<br />
<br />
With sharp chisels, I could attempt to chop holes in wood, my previous couple of attempts with my bent paint tin opener were abject failures, tearout, poor control, rubbish bevel/sharp edge all contributed to a crummy mortice.<br />
<br />
I watched quite a few videos on the net, most notably paul sellers, he has a really nice presentation style, very easy to listen to and explains everything simply. Armed with what I'd seen and sharp chisels I have attempted a few more mortices, with much better success. I am refining my technique, getting a feel for the chisel, a feel for the wood and how the grain will behave, after 5 mortices with the sharp chisels I'm getting nice straight walls, neat lines and I'm cutting them much faster. I still need to keep an eye when I'm cleaning out chips as I seem to not pay attention at some point and crush a short wall.<br />
<br />
The plane has been a fun learning experience, I first had to learn about all the parts of a plane and how to fettle them, not exactly easy when you have no idea of how a plane should behave, it didn't behave too well, it seemed to jam up quite quickly, so I set about taking it apart and seeing if I could make it better.<br />
<br />
I sorted the bevel out on the blade, then flattened the chipbreaker edge so that it was tight against the blade and set back from the tip accordingly. I also adjusted the frog to give a slightly wider blade/mouth opening and set about using the plane on one of the bits of 29x3x3 legs that my dad had given me, 4 sides later and I have a plane that I am confident in using and a length of 3x3 that is nicely trued and not a matchstick either!!<br />
<br />
Yeah, yeah, I know, I still haven't built anything at this point, I don't see the point of attempting anything with the wood for the bench until I am sure I can complete the task. Due to my illness I don't have oodles of time or energy to spend a day in a workshop, so I've been doing things when appropriate, over time this will get better I'm sure.<br />
<br />
I would like to point out that I have been reading up and watching wood working videos on the net, as well as getting superb help on <a href="http://www.ukworkshop.co.uk/forums/">http://www.ukworkshop.co.uk/forums/</a> the guys there have been fantastic and given me great advice and opinion, they've given me lots of insight into modern and old techniques that are going to prove invaluable in the future, thanks guys.<br />
<br />
Everything I've been doing so far has been self learnt, I won't say self taught as I've used those wonderful free resources supplied by google to find forums, videos and articles by people that have taught me, I know the internet is a big place but I found that there are enough opinions out there whether they're conflicting or not that will allow you to filter them and find the information that's appropriate for you, your skill level and your budget.<br />
<br />
It all seems a bit daunting to start off with, there are loads of websites, hundreds of tools, gadgets and doohickys out there, with more opinions than stars in the galaxy, so if you're starting out like me, my advice is to read a lot, watch as many videos as you can, join a forum, ask lots of questions (whether they seem stupid or not), never be afraid to challenge opinion and most of all, learn to use google to your best advantage.<br />
<br />
I've learnt tons of stuff over the last few months, it doesn't feel like I've done much as it's all been prep work,<br />
<br />
I reckon in the next week or 2 that I'll get started on my bench for real, I think by then I'll have gained enough skill and confidence to produce something that I will be proud of, I had originally planned on using 1/2 lap joints but I'm now starting to think I might actually be able to do decent enough mortices that I might use those instead.<br />
<br />
I think that's about enough from me for now for my first woodworking post, see you next time....Reggiehttp://www.blogger.com/profile/01093659277008190854noreply@blogger.com0tag:blogger.com,1999:blog-7905254744352741829.post-44919064156697988082013-07-27T04:46:00.001+01:002013-07-27T04:46:32.527+01:00Shiny new exynos 4412 board and hi-res touchscreen + mini210s black edition released on andahammerIt looks like www.andahammer.com and friendlyarm have been busy again and released a couple of new boards, first up we have the mini210s black edition, with some neat features, made exclusively for andahammer, they feature a 6pin header for access to the buzzer, pot and mic headers and a write protect for the eeprom which means you can safely store mac addresses, phone numbers, device serial numbers etc. and retrieve them at boot, lastly there is a jumper to silence the onboard piezo buzzer. <br />
<br />
They're only small changes but from a developers point of view they open up some nice features, firstly it means that you're no longer tied to having the inconvenient onboard placement for the buzzer, pot and mic, once the min210 is in a case, those devices will be near useless so being able to place them where they can be used is a big help.<br />
<br />
As mentioned for the eeprom, it's easy to see the advantages of having a write protect option, it means that you can store information on the device without worrying it will be wiped, it means you can have a small level of security over your stored data and uniquely identify the board and more importantly store a mac address which is useful if you have a lot of mini210S on a network.<br />
<br />
The buzzer, it screeches like a banshee, being able to mute it with a jumper is manna from heaven :)<br />
<br />
Onto the shiny new exynos 4412 board, the folks over at <a href="http://www.andahammer.com/tiny4412sdk-hd70/">http://www.andahammer.com/tiny4412sdk-hd70/</a> have a system ready to go, it's a standard friendylarm 'tiny' form factor, so it's a core tiny board (cpu, ram, e-mmc) with an arm cortex-a9 quad core cpu, 1GB ddr 3, 4GB e-mmc flash, then you have the SDK board which has all of the headers for all of the peripherals like usb/micro usb, ethernet, SD socket, com ports, hdmi, g-sensor (accelerometer), audio out/mic in,buttons and most interestingly there is a cpld on board for some programmable logic fun, if you want more information keep an eye on the andahammer website for updates. <br />
<br />
I almost forgot, the LCD that goes with the tiny4412 kit is a 7" high resolution 1280x800 capacitive touchscreen which gives it a very nice resolution for any of the modern OS distros.<br />
<br />
I can't wait to see what this board can actually do, 1.5Ghz quad core should go like a rocket, lots of ram, the nand flash should be that bit faster on the e-mmc setup, it should have better 3d/2d support and the usual hd codec support, it will be running kernel 3.50 and android 4.2.<br />
<br />
<br />
<br />
<br />
<br />Reggiehttp://www.blogger.com/profile/01093659277008190854noreply@blogger.com0tag:blogger.com,1999:blog-7905254744352741829.post-64346945034884782832013-07-27T04:19:00.003+01:002013-07-27T04:19:53.194+01:00mini210S updates<br />
<br />
Yet again it's been a while since my last post but things are moving forwards with the nand driver, there is currently an effort from some of the chinese developers on the arm9home.net forums to do various ports for the tiny/mini210s, barebox, uboot and a kernel upgrade to 3.10, I've been helping to iron out issues with the nand driver port and this evening we got a working 3.10 nand driver, it's currently spitting out ecc errors but hey, don't they all? <br />
<br />
All joking aside that is actually a reasonable state for the driver to be in, at that point the code has managed to query the nand chip and retrieve the ID bytes directly from it, so we know the read/write functions are working.<br />
<br />
We also know at this point that we're hitting the correct register addresses because the functions are working and we're pulling in meaningful information, it was broken but we found that the nand_flash_dev struct had been altered so simply changing where we pull the current device id from fixed that. As long as nothing else has changed in a big way in the nand driver then it's more than likely a mismatch between the version of superboot and our nand driver, more specifically it's probably the nand ecc pos layout that is at fault.<br />
<br />
There was a pull request on github for the nand driver, there was a 'typo' in the ecc pos layout, which in fairness wasn't our error, we used a specific driver to dump information from to write our driver, the values for the ecc pos layout were a direct dump, which probably explains why our driver only ever worked with a specific version of superboot. The next step is to dump information from the nand drivers from the newer dvds, if we use the kernel sources and matching superboot we can see if the 'typo' error is isolated or not.<br />
<br />
<br />
<br />Reggiehttp://www.blogger.com/profile/01093659277008190854noreply@blogger.com2tag:blogger.com,1999:blog-7905254744352741829.post-38835365431042653002013-04-25T19:30:00.001+01:002013-04-25T19:30:40.771+01:00Mini210s, nand drivers, 16bit ecc and bootloadersIt's been a while since I last posted anything here, recently I've been helping out with an open source nand driver for the mini210S which you can find here:<br />
<a href="https://github.com/Reggi3/210-nand-patch">https://github.com/Reggi3/210-nand-patch</a><br />
<br />
With some fantastic work from Jkent and some help from me, we've managed to get a stable nand driver working that's pretty faithful to the original drivers.<br />
<br />
It basically replaces the friendlyarm binary blob (s5p_nand_mlc.fo) with open source code, which means it should now be relatively simple to add 16bit ecc support into any of the bootloaders that are currently being worked on.<br />
<br />
I'm repeating myself a bit here but our driver was tested on a mini210S with 4GB of MLC nand, we tested it with android 4.0.3 and it works with either kernel, 2.6.35 and 3.0.8.<br />
<br />
<br />
Now we've released our driver we started to look at the bootloaders that were currently available, there is barebox and a pair of uboots, each of them seem to have their own issues, the major issue is that some of them are using older code, so even if you get the nand layout correct, it still won't work because the mtd subsystem and nand base drivers aren't setup to read 5/6 byte ID strings. <br />
<br />
Another issue I found was that barebox wasn't capable of addressing > 2GB in bytes due to using an int32 when it should be using a int64, it also cannot address 640byte oob nor was it capable of addressing 8k pages.<br />
<br />
<br />
The last issue which is inherent to all of the open source bootloaders is the lack of proper ECC layout for each of the chips, I'll try and address that now.<br />
<br />
When we started to write our own nand driver we needed to dump some information from the driver, namely the ecclayout, as you can see here:<br />
<br />
<a href="https://github.com/Reggi3/210-nand-patch/blob/master/s5p_nand_mlc.c#L104">https://github.com/Reggi3/210-nand-patch/blob/master/s5p_nand_mlc.c#L104</a><br />
<br />
To get this information we had to edit the s3c_nand.c code, you can use the same code that we did to get the ecc layout for 1GB SLC, 2GB MLC or 4GB MLC nand, look for the print_oob function and make it look like this:<br />
<br />
<span style="color: red;">void print_oob(const char *header, struct mtd_info *mtd)<br />{<br /> int i;<br /> struct nand_chip *chip = mtd->priv;</span><br />
<span style="color: red;">// Reggie modified to dump the nand info from a K9GBGB8U0A 4GB mlc nand chip<br /> printk(KERN_INFO "%s:\t", header);<br /> printk("Dumping the nand ecc layout positions\n");<br />// Work out how many eccbytes we need to read the positions for<br /> int j = chip->ecc.layout->eccbytes ;</span><br />
<span style="color: red;"> printk(KERN_INFO "\n");</span><br />
<span style="color: red;"> for (i = 0; i < j; i++){<br /> printk("%u, ", chip->ecc.layout->eccpos[i]);<br /> if(i != 0 && i%8 == 0)<br /> printk("\n");<br /> }<br /> </span><br />
<span style="color: red;"> printk("\n");<br /> printk("Dumping the nand ecc layout\n");<br /> printk(".eccbytes %d \n", chip->ecc.layout->eccbytes);<br /> printk(".oobfree offset %d \n", chip->ecc.layout->oobfree->offset);<br /> printk(".oobfree length %d \n", chip->ecc.layout->oobfree->length);<br /> printk("ecc bytes %d \n", chip->ecc.bytes);<br /> printk("ecc size %d \n", chip->ecc.size);<br /> printk("badblockbits %d \n", chip->badblockbits);<br /> printk("chip->pagemask %d \n", chip->pagemask);<br /> printk("mtd->oobsize %d \n", mtd->oobsize);<br /> printk("chip->ecc.steps %d \n", chip->ecc.steps); <br /> printk("mtd->writesize %d \n", mtd->writesize);<br /> printk("chip->ecc.total %d \n", chip->ecc.total);<br />}<br />EXPORT_SYMBOL(print_oob);</span><br />
<br />
You will also have to edit the end of the s3c_nand_probe function:<br />
<span style="color: red;"> print_oob("Nand oob info", s3c_mtd);<br /> pr_debug("initialized ok\n");<br /><br /> return 0;</span><br />
<span style="color: red;">exit_error:<br /> kfree(s3c_mtd);</span><br />
<span style="color: red;"> return ret;<br />}</span><br />
<br />
<br />
In fact, it should be relatively simple to use a similar method to get the correct ooblayout from any nand as long as you have access to it's probe functions and even if you don't have access to those, you should be able to find somewhere to poke the mtd driver to give up all of this information anyway.Reggiehttp://www.blogger.com/profile/01093659277008190854noreply@blogger.com2tag:blogger.com,1999:blog-7905254744352741829.post-18546266673546751932012-09-14T15:52:00.000+01:002012-09-14T16:09:25.287+01:00Mini210S has now got a wiki!Armworks have put up a wiki for it's devices, you can find it <a href="http://armworks.cc/index.php?title=Main_Page" target="_blank">here</a>. It's a mediawiki based site, so it should be familiar to anyone that's used elinux or any other mediawiki based wiki.<br />
<br />
You can jump straight to the mini210S pages <a href="http://armworks.cc/index.php?title=Mini210S" target="_blank">here,</a> I've spent a few days adding content with tutorials on things I've managed to discover since I got my lovely mini210S in the post :) I'm sure over the coming weeks and months the mini210S page will fill out nicely with community contributed code, projects and information.<br />
<br />
I will probably start to do a mixture of wiki posts and link back to them here with a bit of background around the tutorial/how to, makes sense rather than blogging about it then having to reformat it for the wiki as well.<br />
<br />
The tutorials to note so far are:<br />
<a href="http://armworks.cc/index.php?title=Mini210S_Burn_rootfs_to_Nand" target="_blank">How to burn a rootfs image to nand</a><br />
<a href="http://armworks.cc/index.php?title=Mini210S_rooting_the_mini" target="_blank" title="Mini210S rooting the mini">How to root Android 4.0.3 on the mini210S</a><br />
<a href="http://armworks.cc/index.php?title=Mini210S_install_gapps_Android_4.0" title="Mini210S install gapps Android 4.0">How to install google apps into the android 4.0.3 img and burn to nand</a><br />
<a href="http://armworks.cc/index.php?title=Mini210S_alternative_install_gapps_Android4.0" title="Mini210S alternative install gapps Android4.0">How to install google apps on the mini210S Android 4.0.3</a><br />
<a href="http://armworks.cc/index.php?title=Min210S_adb_tcpip" title="Min210S adb tcpip">How to access android debug bridge via tcpip</a><br />
<br />
Burning your own rootfs to nand is obviously going to be a useful skill :D FriendlyArm provided a prebuilt rootfs for us, so if you haven't got the time or inclination to build your own, you can just dump your working project binaries and scripts into a known working rootfs and just test them out. Of course once you work out how to build your own rootfs you can make your own from scratch and burn it quite easily.<br />
<br />
Rooting Android 4.0.3 seems odd that you'd have to root a development device until of course you consider it's 'rooted' from a development point of view but not rooted from an end user viewpoint. so if you want to run around android treating it like you would any other device that you own, then you'll want to root it :) Of course this won't be the case if you're doing an installation of some kind, so use this with caution as rooting has serious security implications.<br />
<br />
Google Apps, there are a couple tutorials for getting google apps. onto a mini210S, if you're developing android software on a mini210S, you're probably going to want some kind of access to google play (formally android market) this has to be done by installing google apps (gapps), if you are 'into' using google's web software then you will need to install google apps. Google apps. provides youtube, gmail, maps, play apps. for android, unfortunately the mini210S doesn't have them installed as standard so we have no way of installing them normally, so a tutorial is needed, I did 2, to cover 2 different methods.<br />
<br />
Android debug Bridge via tcp/ip, this tutorial gives a quick and simple way to connect to adb on the mini210S via LAN/Wifi, saves digging around for a usb cable and could end up being a very powerful remote debugging feature, works nicely on a standard home network, I wonder how well it would cope across the internet?<br />
<br />
There's also a tutorial on installing flash player on the mini210S, only really of any interest to UK mini210S owners, I did this one so that I could watch iplayer through the mini210S :D<br />
<br />
They are mainly Android tutorials at the moment, should have more linux tutorials coming up. I will also have some info on booting the kernel and rootfs from an SD card soon too!!Reggiehttp://www.blogger.com/profile/01093659277008190854noreply@blogger.com0tag:blogger.com,1999:blog-7905254744352741829.post-23821342928896610842012-09-09T19:45:00.000+01:002012-09-09T19:45:34.226+01:00Mini210S, flash player, iplayer and google playI live in the UK, so I get access to bbc TV/Radio video/audio streaming services for free via their iPlayer service, this needs adobe flash player, unfortunately, flash player isn't installed on the 210S and we don't have access to the android market/google play. Follow these instructions to quickly and simply install adobe flash player on the mini210S.<br />
<br />
1. go to the adobe flashplayer archives and download a version appropriate for the version of android, <a href="http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html">http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html</a> I downloaded the latest version (Flash Player 11.1.for Android 4.0 (11.1.115.17)) as I have android 4.0.3 (Ice cream Sandwich) installed.<br />
<br />
2. Save it to the Download dir on your SD card, using the ES file explorer, browse to the Download folder on the card, tap on install_flash_player_ics.apk, (if it complains about not being set to install apps that aren't downloaded from the android market, click on the settings button and scroll down and make sure 'unknown sources' is ticked, then press the back button and try again!).<br />
<br />
3. once it's installed you can click done or open, if you click open, it will open the web browser and take you to the flash settings page, it was oversized on my LCD, so I don't think it was showing me the whole screen, probably something to do with screen pixel density maybe? Either way, you should see something legible on screen, if all you see is a little block with a ? in it, then something went wrong somewhere and I have no idea where :D<br />
<br />
If everything went ok and you're in the UK you can test flashplayer by going to <a href="http://www.bbc.co.uk/mobile/iplayer">http://www.bbc.co.uk/mobile/iplayer</a> and play a tv show. <br />
<br />
Obviously this will use data, make sure you use it via wifi or it will use up your download quota if you're connected via mobile networks!! <br />
<br />
You can still test it by doing going to the shows page but don't actually play the video, if it's working you will see all of the user controls and the video itself, if it's not working you will probably see the blue box with the ? in it or just a black area.<br />
<br />
Unfortunately, android and flash player is a well trodden subject on the internet, you will find many forum posts on the subject and many apk files to download, I tried loads of different methods until I stumbled across the the developer archive!! I think this is probably going to be a bit of a commonly recurring theme while trying to track down issues with android.<br />
<br />
Another unfortunate thing with the mini210S at the time of writing, there is no google play/android market support, it appears there are chinese app market tools on the device but nothing to cater for the continental markets. For the time being at least we will probably have to use an alternative market, it's been suggested to me to use this:<br />
<br />
<a href="http://www.1mobile.com/app/market/">http://www.1mobile.com/app/market/</a><br />
<br />
I haven't tried it myself yet but it will do until I can work out how to get 'gapps' (google applications) installed on the mini210S, which will give us gmail and other google associated goodies including access to the market.Reggiehttp://www.blogger.com/profile/01093659277008190854noreply@blogger.com0tag:blogger.com,1999:blog-7905254744352741829.post-52972648277619037592012-09-09T19:13:00.003+01:002012-09-09T19:13:29.607+01:00Burning an OS image to the nand of the mini210SI decided it was about time I played with linux on the mini210S, so I used the user manual guide to burn linux to the nand and this is what I found out :)<br />
<br />
<u>things you will need</u><br />
<ul>
<li>1x micro SD card (4GB recommended, backup any data on teh card before starting, if you're on vista/win7 it will wipe the card)</li>
<li>1x mini210S dvd iso downloaded from the friendlyarm ftp, opened in your favorite iso mounter/editing app or burned to dvd</li>
<li>1x Windows PC</li>
</ul>
<div>
They recommend to use a 4GB sd card, formatted to fat32, this is purely for card compatibility, in reality, the images folder on the mini210S dvd iso is under 1GB in size, so if you've only got a 1GB card, it's worth a try :)</div>
<div>
</div>
<div>
</div>
<u>Burning Superboot to the SD card</u><br />
<div>
</div>
<strong>Make sure that your SD card is formatted to fat32 and backed up before you start!</strong><br />
<strong></strong><br />
Go to the tools\ directory on the mini210S dvd, if you're using win7/vista, right click on SD-Flasher.exe and choose 'run as administrator', i you're using XP, just run the app. as normal, in the small window that pops up, click the radio button next to 'mini210S' then click 'next'.<br />
<br />
You will now see the main window of the SD-Flasher app, click on the button with '...' on it, browse to the mini210S dvd, then go into the images folder, then select the superboot210.bin file and click the open button. SD-Flasher needs this file to be able to burn it to your SD card.<br />
<br />
Next click on the 'Scan' button, after a few seconds, the section marked 'SD Drive(s)' will become populated with your SD cards details. If you're on XP you can skip this step and just go onto the next one, if you're on Vista/win7 then continue reading. For vista/win7 we need to use a slightly different method to get superboot210.bin burnt to the SD card, so click on the 'ReLayout!' button, this will wipe all of the data from the card, click 'yes' if you've backed your data up or it's a freshly formatted card. Click on the 'Scan' button again and you should see your card again.<br />
<br />
This next step is the same for XP or win7/vista, simply click on the 'Fuse' button to burn superboot210.bin to the SD card. That's it for burning superboot to the SD card, the next step is to copy the necessary files to burn linux to the nand onto the SD card.<br />
<br />
<u>Dumping the image files onto the SD card</u><br />
<div>
</div>
<div>
In the manual, it suggests that you can test whether you burnt superboot to the SD card by putting it into the uSD socket, flipping the boot mode switch (left hand switch as the ethernet port faces you) and it should show you 2 flashing leds when you boot, which didn't happen in my case, all I got was a screaming banshee, which I believe indicates either a card not present, or no valid images files found.</div>
<div>
</div>
The manual also says to dump the whole images folder onto your SD card but we're only messing with linux, so we don't need all the extra stuff :)<br />
<br />
On your SD card fat32 partition, create a folder called images, next open the images folder on your mini210S dvd iso, select the linux folder, superboot210.bin and friendlyarm.ini, copy them and paste them into the SD card images folder.<br />
<br />
<u>Setting up friendlyarm.ini to install linux</u><br />
<u></u><br />
We're nearly done, now all we need to do is setup the friendlyarm.ini file so that superboot burns the image onto nand, so go to your sd card and open \images\friendlyarm.ini in your favourite text editor.<br />
As far as I know, superboot only works with one image at a time, so we're just concentrating on linux, only thing to do is change line 5 from:<br />
<div>
</div>
<div>
OS = Android</div>
to:<br />
OS = Linux<br />
<br />
Save friendlyarm.ini and close your text editor.<br />
<br />
That's it for setting up the SD card. I believe the methods are slightly different for android and win ce, with winCE you have the option to run the image from SD card instead of burning (I think), for Android, depending on which version you want to install, 2.3 or 4.0.3, you'll have to comment out the irrelevant android section in the friendlyarm.ini file.<br />
<br />
<u> Burning it all to nand</u><br />
<strong></strong><br />
Now we've setup the SD card with superboot where the bootloader can find it, got the kernel zImage and and rootfs image where superboot can find it, it's time to burn it all to nand, fun times!<br />
<br />
Make sure the mini210S is turned off, insert your uSD card into the uSD socket, switch S2 to SD (left hand side switch, switched to the back) and power on the mini210S, you should hear a quick beep.<br />
<br />
You will now be presented with superboot, giving you various information about the mini210S (cpu, ram, nand, TS and LCD type), at this point the burning process is totally automatic, you should see it quickly burn superboot and the zImage to nand, then it will start burning the rootfs image, this will take some time, you should see the progress bar fill up, you will also notice that the led 4 is flashing and as the progress bar goes over 25%, 50%, 75%, it will make a led go solid and start to flash the next one until it's finished.<br />
<br />
Once the burning process has finished, the mini210S will beep twice and you will see some instructions in yellow on the lcd, you will also notice that your mini210S is now doing a knightrider impression!<br />
<br />
<div>
<u>Testing it worked</u></div>
<div>
</div>
Follow the instructions on screen and switch S2 back to nand boot mode and power cycle the mini210S, after a few seconds you will be greeted with Tux, after about 25 seconds, you will see a few services go live on the lcd and then you should be presented with the TS calibration screen, as is standard with these devices, touch the calibration points (boxes with crosshairs in them!) one by one to calibrate the touchscreen.<br />
<br />
Next up pick your language (You can have any language you like apparently, as long as it's english:us :D), setup the time and timezone and you're done.<br />
<br />
<u>Changing the language</u><br />
<div>
</div>
You should now be presented with a window with a number of tabs, unfortunately, it's all in chinese, as I'm english I needed to change the language.<br />
<br />
To do this yourself, tap on the 2nd tab, then using the scroll bar, scroll down, until you can see a icon that has a chinese flag over the top of a british flag and tap it, in the app. that opens, click on your preferred language (english, chinese or japanese), then click OK, qtopia will now restart and you should now be able to see all the tabs and icons in your chosen language.<br />
<br />
That's about it for my testing, the rest is down to you to have a look around in the menus and see what it can do, don't forget to refer back to the manual for more information about the apps/options that you can configure.Reggiehttp://www.blogger.com/profile/01093659277008190854noreply@blogger.com0tag:blogger.com,1999:blog-7905254744352741829.post-77847295020986655032012-08-24T22:58:00.001+01:002012-08-24T23:00:09.958+01:00My mini210S has arrivedMy friendlyarm mini210S package arrived from <a href="http://www.andahammer.com/" target="_blank">andahammer</a> a couple of days ago, unfortunately, I didn't get much sleep, so I didn't have a great deal of energy to do much with it except unpack all of the goodies in the box and power it on with the preloaded android 4 image.<br />
<br />
A quick run through some of the goodies and there are some very interesting bits, the sdio breakouts look really cute, they fit on the mini210S sdio header, which just happens to have 3.3v, 5v, gnd, spi and i2c on it with a protoboard style which opens up a world of possibilities.<br />
<br />
I got the cam130 module which fits into a dedicated cmos camera port, I'm looking forward to seeing what it can do in my astro projects, I think the cmos module on there might give me access to the 'frex' pin via the 2mm header block. <br />
<br />
I got the sdio wifi module with it's obvious benefits. I also got the comprehensive mini210S cable kit for every header on the board and there was also a good quality mini hdmi to hdmi cable :)<br />
<br />
Charlie also very kindly chucked in some free goodies, some poe kit, a tiny usb wifi adapter, a nice clear breadboard and a handful of jumper wires, Thanks Charlie!!<br />
<br />
So with anticipation I plugged the power supply into the mini2010S, checked that it was in nand boot mode and flipped the power switch, the first thing I noticed is that I didn't have to fish around for jumpers, it might seem daft but little things like switches for boot mode settings are a refreshing change :)<br />
<br />
I have zero experience with android, so as far as boot times go I have nothing similar to judge it against, it was around 20 or so seconds but either way, I wasn't annoyed by the wait. Once the gui is up and running, the mini210S is nice and responsive, flipping through the menus is a pleasant experience, with a mixture of touchscreen and the 4 side buttons to help you navigate, it is a resistive touch screen so there are no gestures/multitouch but it's been as good as other resistive touchscreen devices I've used.<br />
<br />
There are plenty of apps. preloaded but for now I settled for trying the iTest app first, testing the leds, pwm buzzer and adc, as expected they worked just fine, the led test app. allows you to turn the leds on and off independently of each other and the buzzer app allows you to set the pwm speed and hear it through the buzzer, no shock there then!<br />
<br />
the A/D Convert test shows the value of the ADC pin that is connected to a small blue pot, which is nestled between the buzzer and the back of the ethernet socket, if you adjust the pot with a screwdriver you can see the adc value change on screen, unfortunately there appears to be a glitch in the display side of the software as it's not rendering the bottom 1/2 of the numbers but you can clearly see that the adc is working as expected.<br />
<br />
I also tested out the sdio wifi module, unfortunately there doesn't appear to be an app. store icon/app installed on the mini210S so I couldn't go and test bbc iplayer etc. but browsing the bbc website was simple enough and youtube worked just fine too :) I tested the music player and got very decent quality audio from the headphone socket.<br />
<br />
The video player appears to want mp4/aac encoded video, so a quick re-encode of some video with my cuda enabled graphics card and a few minutes later I was watching video on the mini210S, I had to access the video via the 'es file browser' app but once you click on it you get the option of using the es video player or the gallery software, either is capable of playing the video and does it well.<br />
<br />
Last thing I tested was the cam130 cmos camera module, as previously mentioned, it fits onto a dedicated cmos camera socket on the mini210S, in android there is a simple camera application that allows you to take snapshots or record video, the software starts up quickly and presents you with a picture. There are the usual settings buttons which allow you to change exposure, brightness, mode etc. as well as a set of buttons to allow you to swap between camera/video modes and a third mode that I haven't quite worked out yet :)<br />
<br />
So that's my initial experience of the mini210S and android, I'm really happy with the potential of the mini210S, the onboard android image has enough software on it to give you a very reasonable media experience out of the box, I forgot to mention that you can also connect it to a hdtv, for a device that has been built for developers, it's a great little media centre which just adds more power to your elbow :)<br />
<br />
I can't wait to get linux onto it now and start developing, the mini210S has shown itself as being a very capable device just from me messing around in the stock android and I've barely scratched the surface, I have a feeling that it's just going to get better and better once I start developing on it :)Reggiehttp://www.blogger.com/profile/01093659277008190854noreply@blogger.com0tag:blogger.com,1999:blog-7905254744352741829.post-53093443429448734082012-08-20T17:33:00.000+01:002012-08-20T17:33:26.842+01:00Hot Pi!It turns out that the raspberry pi has hit another hardware snag, with a forum post outlining the issue here: <a href="http://www.raspberrypi.org/phpBB3/viewtopic.php?f=29&t=14489" target="_blank">Fixing 1.8V power rail design error</a> Essentially, there is a 1.8v filter pin on the ethernet/usb chip that has actually ended up being connected to the 1.8v rail, this can cause the ethernet chip to supply power to the whole 1.8v rail instead of the linear regulator that is supposed to be doing the job, this in turn makes the ethernet run hot.<br />
<br />
Not a complete show stopper but could certainly be compounding issues that are prevalent in the current usb drivers, current work on the usb drivers and possible fixes are being discussed <a href="http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=12097" target="_blank">here</a>.<br />
<br />
Unfortunately, the usb fixes have not fixed the issues I am having with my webcam, luckily I have the mini210S coming to experiment with.Reggiehttp://www.blogger.com/profile/01093659277008190854noreply@blogger.com0tag:blogger.com,1999:blog-7905254744352741829.post-85510556428294663172012-08-20T17:23:00.002+01:002012-08-20T17:24:24.753+01:00Clearing the decks for the min210SSo it looks like I'm getting a mini210S, in honour of the fact, I decided to clear some bench space for it. Not sure about anyone else but my computer desk is a mixture of computers and random circuits/electronics all vying for the same desktop space, it's a bit like the penny falls machines in the arcades, eventually, stuff makes its way to the back of the desk and falls off. <br />
<br />
I've been slowly tidying my desk over the last few weeks, lots of sets of plastic drawers etc. for the random stuff I collect/use. After all the tidying, I now have a reasonable 12-18" sq. area of space that should do just nicely for the 210S and any associated circuits that are bound to build up around it!Reggiehttp://www.blogger.com/profile/01093659277008190854noreply@blogger.com0tag:blogger.com,1999:blog-7905254744352741829.post-61846630053928329002012-08-09T18:48:00.002+01:002012-08-09T18:49:13.355+01:00Mini210SIn my introduction I mentioned that I'd been looking at the mini210S, after my raspberry pi experience, I feel like I needed a full arm dev board, it's a logical progression really, from hacking arm devices, to a small dev board, to a full board. I've often looked at the mini2440/6410 etc. range of arm boards, they always impressed me as looking like very neat devices, well presented board designs with ports everywhere and some nice looking addon screens, however the price put me off. <br />
<br />
I spoke to a friend recently about the way forward and he informed me about the forthcoming <a href="http://www.andahammer.com/mini210s-sdk4/" target="_blank">mini210S</a> release. As you can see, it's a very well featured device, it comes with an arm cortex a8 @ 1Ghz, 512MB of ram and 4gb of nand, a huge list of features and more IO connectors than you could shake a stick at. Very interesting indeed!Reggiehttp://www.blogger.com/profile/01093659277008190854noreply@blogger.com0tag:blogger.com,1999:blog-7905254744352741829.post-77957301620738805122012-08-09T17:58:00.000+01:002012-08-09T18:03:11.607+01:00Mixed feelings...As I mentioned in my intro, I have hacked/developed on the didj/df3120 arm boards, they are fantastic little units for cutting your teeth with hacking and linux development but sometimes you just want something that hasn't had it's pins purposed by someone else.<br />
<br />
So recently I have been messing around with the raspberry pi, I have mixed feelings about the Pi, it's an arm11 clocked at 700Mhz default, 256MB ram with a custom broadcom gpu (opengl ES 2.0 3d). <br />
<br />
It's definitely fulfilled the cheap niche, you can undoubtedly program on it so it fulfills the foundations aims. My pi board worked great right out of the box, my son's pi needed the crystal for the smsc ethernet/usb chip reflowing before the usb would work. <br />
<br />
Power is finicky on the pi, you have to find the right combo of psu and powered usb hub, even then you may or may not get a specific usb device to work, experimentation is key. Don't get me wrong, I like the pi, I was aware of quite a few of the caveats before I purchased it, so some of these issues are to be expected and I have learnt a few things on the way but right now the specific project I wanted the pi for (apart from tinkering) has stalled, hence the mixed feelings. I really need to bite the bullet and look at a full blown arm dev board.<br />
<br />
<br />Reggiehttp://www.blogger.com/profile/01093659277008190854noreply@blogger.com0tag:blogger.com,1999:blog-7905254744352741829.post-64252945107722278832012-08-09T17:11:00.003+01:002012-08-09T17:13:31.791+01:00I guess I should intoduce myself?Hi, My name is Reggie, I'll get the namebadge made up later if that's ok? I am a tinkerer/hacker with embedded devices (atmel and arm), this will be my space to document some of the stuff I mess around with. I have developed software for the <a href="http://elinux.org/LeapFrog_Pollux_Platform" target="_blank">leapfrog didj/explorer consoles</a>, hacks with the <a href="https://sites.google.com/site/repurposelinux/df3120" target="_blank">parrot df3120 photoframe</a> and more recently I have been messing around with the raspberry pi, I am currently looking at a <a href="http://www.andahammer.com/mini210s-sdk4/" target="_blank">mini210S</a> but I'll talk more about all of those in future posts.Reggiehttp://www.blogger.com/profile/01093659277008190854noreply@blogger.com0