Welcome, Guest

Recent Posts

Pages: [1] 2 3 ... 10
1
A20 / Auto Login Sequences - location - modification
« Last post by BIG-L on February 23, 2018, 09:09:33 PM »
Good day folks, running A20 Micro with Debian 7.0 (wheezy) - been away from it for a while. Need help remembering how to change auto logon.  Need to auto boot to user who has root access - in the gui.  Current user is Olimex - would like to just give Olimex root access (but must happen at auto logon).  Trying to access GPIO from Python app - must be in root to do it.

Thanks
2
New Product Ideas / Re: Open-source UPS project - help selecting an SBC?
« Last post by esr on February 23, 2018, 09:00:55 PM »
The I2C trademark was canceled in 2014.

https://trademarks.justia.com/770/06/i2c-77006370.html
3
DUINOMITE / Re: How to restore DM-BASIC to a DuinoMite-Mini using Windows 10 x64
« Last post by JohnS on February 23, 2018, 12:44:21 PM »
Any time you replace the bootloader using the board itself to do it is a risk, yes.
(I don't think the actual DM bootloader ever rewrites the boot flash, though.  Would be good to have the source to check that.)

An external device (PICkit or whatever) can always recover the situation.  Not ideal if you need to do this and the board is far away or some such but PIC32 does not have a feature such as a backup bootloader (most uC chips also do not) the way many PC mobos do.

It's why generally with this sort of bootloader you try to program it just once :)
(i.e. at the factory)

Having said that most uC chips also do not have a backup bootloader, some do have a sort of equivalent.  E.g. the Allwinner chips hunt around for something to boot and may be more suitable for some uses.

John
4
DUINOMITE / Re: How to restore DM-BASIC to a DuinoMite-Mini using Windows 10 x64
« Last post by KeesZagers on February 23, 2018, 10:45:51 AM »
OK John, I agree that the code can be copied to RAM and run from there. But this will stay very tricky, because if the flashing of the bootloader goes wrong, the unit will be useless without an external programmer after that. In this particular case I think the bootloader has been corrupted and that is the reason it does not work anymore.

BTW as far as I know the used bootloader is not "open source". Some years ago I had to change the configuration bits of the Duinomite eMEGA and could arrange this only by changing the HEX-code (also with your help, thanks again)
5
A20 / Re: Fresh Debian Images for A20?
« Last post by LubOlimex on February 23, 2018, 08:22:29 AM »
Check the Armbian server images. Go to the web-site and select your board and you will find the download links and instructions.

Also check in the official Debian wiki here: https://wiki.debian.org/InstallingDebianOn/Allwinner
6
DUINOMITE / Re: How to restore DM-BASIC to a DuinoMite-Mini using Windows 10 x64
« Last post by JohnS on February 22, 2018, 05:39:01 PM »
The code can run from RAM and rewrite any flash area, if it wishes.

Whether the one you refer to does that - read the code?  (I don't think I have it but in any case have several PIC32 programmers including a Raspberry Pi.)

John
7
A20 / Fresh Debian Images for A20?
« Last post by Corto on February 22, 2018, 04:30:35 PM »
Hi,
can someone link in this topic some link to fresh Debian images for the Olinuxino A20?
The official one seems to be still at the 3.4 kernel version...
Thank you in advance
8
DUINOMITE / Re: How to restore DM-BASIC to a DuinoMite-Mini using Windows 10 x64
« Last post by KeesZagers on February 22, 2018, 03:13:01 PM »
But what if the code you are using has to be changed? I see this as a masturbating process; it can be very nice, but it will not generate new children  :)
9
DUINOMITE / Re: How to restore DM-BASIC to a DuinoMite-Mini using Windows 10 x64
« Last post by LubOlimex on February 22, 2018, 11:53:57 AM »
Probably the software is smart enough and ignores the parts in the binary that are impossible to write over. Writes just the in memory ranges that it has access too.

Clarification: I mean probably the software ignores errors and warnings when it can't write to a locked address (where the bootloader is located) so it ends up writing only the non-bootloader-related part of the binary anyway.
10
DUINOMITE / Re: How to restore DM-BASIC to a DuinoMite-Mini using Windows 10 x64
« Last post by KeesZagers on February 22, 2018, 11:39:28 AM »
This is odd. You are saying that you overwrite the code, which you are executing at that moment. I don't know how the flashing process is actually done by the PIC32 controller, but it seems to me that it is very tricky (in fact impossible) to change memory locations while executing code from them.
Pages: [1] 2 3 ... 10