Go Down

Topic: Suggestion: A Better Leonardo Bootloader. (Read 11589 times) previous topic - next topic

bperrybap

#15
Oct 03, 2014, 06:28 am Last Edit: Oct 03, 2014, 06:56 am by bperrybap Reason: 1
I'm not using Ubuntu 10.04 anymore so
I had to download the 10.04 install iso and boot from CD.
So far I have used these others in the past:
Ubuntu 9.04, 10.04 32 bit.
Mint9, Mint10, 32 bit.

I just tested/verified these:
Ubuntu 10.04 (kernel 2.6.32)
Mint 13, Mint 17, 32 bit mate PAE.
(Mint 13 is kernel 3.2.0, Mint 17 is kernel 3.13.0)
Ubuntu 11.10 32 bit PAE (kernel 3.0.0)
I even downloaded the latest Ubuntu 14.04 which no longer supports PAE
so I went with the 64 bit.
It is kernel version 3.13

I've don't believe that I ever did anything special to make it work.
For sure I didn't do anything on Mint 17, Ubuntu 10.04,  and Ubuntu 14.04 as I just download
the ISO images and booted them directly (not in a VM) without installing them.

So far every Mint and Ubuntu released I have tried sees the Leonardo
and the CDC class driver creates the /dev/ttyACMxxx device:
- Ubuntu 9.04, 10.04, 11.10, 14.04
- Mint9, Mint10, Mint13, Mint17
PeterH has used it on:
- Kbuntu 10.04, 12.04LTS
- Debian Wheezy

Thats quite a few operating systems and kernel versions
that are working without issues.

Maybe try to debug it using westfw's suggestion:
Quote
Do you have any other systems that you can use for comparison (it would be great, for example, to have a windows box that could talk to the leonardo running linux in a VM that COULDN'T.)

Although USB support in VM's have many issues especially with devices that drop and re-enumerate
like Leonardo and Teensy.
Because of this I would not do any initial testing using VMs.

Are you by chance running your Ubuntu in a VM? or are you booting linux directly?
If in a VM, there are a few things that can trip things with respect to who sees the USB device
and who claims it. There are some settings to configure things (in VirtualBox)
but they don't always seem work as intended/expected so the Host can sometimes
hog the device and not let the guest claim it.
(usually the manual override works ok)

If you are directly booting Ubuntu, then
it kind of sounds like the bootloader is not working.

I never let anything Microsoft touch my h/w.
I boot linux directly and only when necessary I bring up XP in a VirtualBox VM.

--- bill



tolson


The RFDuino is not supported at all by Linux as I found out the hard way. ONE person did make it work - by using WINE! Talk about a headache!


The only issue with RFduino on the Linux is the boot loader, RFDLoader. The Arduino IDE and the RFduino Library work and compile just fine. It is just getting the resulting .hex file to load into the RFduino itself. So I wouldn't say "not supported 'at all' by Linux". It is true, for now the RFDLoader's provided are for OS-X 32 bit and 64 bit, and Windows. However, on iMAC I am having trouble compiling anything for Due or ARM on 32bit iMACs. Seems the Arduino ARM gcc cross-compiler is only for 64 bit iMACs.

Go Up