Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,914 Members 50,743 Now Online
XDA Developers Android and Mobile Development Forum

[DEV] Ubuntu 11.10 for A43/A101 [RELEASE 1]

Tip us?
 
divx118
Old
#81  
Senior Member
Thanks Meter 196
Posts: 342
Join Date: Dec 2009
Quote:
Originally Posted by grim-a101 View Post
Just for the record, in order to make musb_hdrc as module, you have to set:
CONFIG_USB_MUSB_HDRC=m (obviously ...) and CONFIG_USB_GADGET=m and it compiles.
If you want to add a gadget module, you get
error: implicit declaration of function ‘msleep’
Just "#include <linux/delay.h>" into the .c file that generate the error and it compiles fine

But even in module, the HOST port doesn't work

I don't know were to search anymore...
If you have some specific questions, just join irc://irc.freenode.net/openpma or use the webclient http://www.openaos.org/chat there are some archos and other skilled people around. They mostly don't read forum posts.

Quote:
Originally Posted by grim-a101
BTW divx118, the option to change the language of an external keyboard is not there on your rom
Never looked at it, I will check thanks

divx118
 
CalcProgrammer1
Old
#82  
Senior Member - OP
Thanks Meter 544
Posts: 577
Join Date: Oct 2007
Location: Illinois
Thanks for the info about making it a module, I suppose the issue was the USB_GADGET, was not setting that to M when I had the errors.

Agreed with divx118 on joining #openpma, very helpful place for Archos questions.
Samsung Galaxy Note 3 SM-900T 32GB
Samsung Galaxy Note SGH-i717 16GB
HP TouchPad 32GB
Archos 43 Internet Tablet - 16GB + 32GB mSD
Dell Axim X50v - 128MB + 16GB CF
 
grim-a101
Old
#83  
Member
Thanks Meter 7
Posts: 55
Join Date: Mar 2012
Thanks for the info, I'll not be able to get there till Tuesday at least, but I'll for sure
 
grim-a101
Old
(Last edited by grim-a101; 2nd May 2012 at 05:48 PM.)
#84  
Member
Thanks Meter 7
Posts: 55
Join Date: Mar 2012
I found a 3.1.0 kernel for (only ) the A101:
http://gitorious.org/archos-a101-linux-omap

I get it compiled, and it boots up Ubuntu.
About mmcblk, mmcblk0 is the system drive, mmcblk1 is the "user drive" and mmcblk2 is the SD Card (so even with no SDCard, the dev id doesn't change)

It as a havon driver for the TS, but it didn't work (maybe xorg.conf issue, don't know), so I applied the hid-ids.h and hid-multitouch patch and it works.

Going to play with the musb to see if I get better result from this 3.1.0.

EDIT:
Get musb_hdrc compiled as module, but on modprobing it : FATAL, no such device.
I wonder if 1 day, I will have this Host port working

EDIT: have to modprobe omap2340 before musb_hdrc, but even with that, still no luck
 
CalcProgrammer1
Old
(Last edited by CalcProgrammer1; 4th May 2012 at 02:30 AM.)
#85  
Senior Member - OP
Thanks Meter 544
Posts: 577
Join Date: Oct 2007
Location: Illinois
Awesome find, I might try playing with that on A43, should only be a matter of forward-porting the A43 board file and LCD files to get basic support. The downside is the LCD uses DSI instead of DPI, but the new omapdss driver should support DSI natively if I could figure out how it works.

The newer the kernel, the better in my opinion, as long as everything works.

EDIT: That's a very clean board file! Hopefully it will be relatively easy to port, most of the GPIO's are the same between different gen8's but some aren't I think.

EDIT 2: I've started forward-porting the A43 board file to the new format. The big issue here is the LCD panel, hopefully I can get the board file itself working before I take on porting the driver itself

On the A101, does the Power LED flash with this kernel? The board file initializes the LED to "heartbeat" mode which should cause it to blink, indicating that the system is functional. This would be highly useful with the LCD unavailable.
Samsung Galaxy Note 3 SM-900T 32GB
Samsung Galaxy Note SGH-i717 16GB
HP TouchPad 32GB
Archos 43 Internet Tablet - 16GB + 32GB mSD
Dell Axim X50v - 128MB + 16GB CF
 
grim-a101
Old
#86  
Member
Thanks Meter 7
Posts: 55
Join Date: Mar 2012
As I reply to you on irc, no, the led doesn't blink, it just stay "on".

I've tried lots of things to get this USB host port working, but still no luck.
I've tried forcing the plat->mode to 1 (and the musb->board_mode to 1), forcing the extvbus to 1 also, adding lot's of debug to see where the initialisation goes (and doesn't) and I still have no idea why it still doesn't work.
I have no vbus, no power is transmited to the USB port whatever I change.
I tried to plug a powered usb hub, just to be sure that it is not only a vbus issue, but even with the external power, no syslog reaction when I plug anything to it.

I have to say, i'm a bit lost and don't know where to search anymore
The Following User Says Thank You to grim-a101 For This Useful Post: [ Click to Expand ]
 
CalcProgrammer1
Old
#87  
Senior Member - OP
Thanks Meter 544
Posts: 577
Join Date: Oct 2007
Location: Illinois
Could you recompile the 3.0 kernel with CONFIG_LED_TRIGGERS enabled? I think it was disabled in the default config. Also CONFIG_LED_TRIGGER_HEARTBEAT (or something like that, might be CONFIG_TRIGGER_HEARTBEAT) enabled. Then see if the power LED blinks. I'd really like to have this running on the A43 and the power LED blinking is probably an important step as I want to make sure it's booting before I try messing with the LCD.
Samsung Galaxy Note 3 SM-900T 32GB
Samsung Galaxy Note SGH-i717 16GB
HP TouchPad 32GB
Archos 43 Internet Tablet - 16GB + 32GB mSD
Dell Axim X50v - 128MB + 16GB CF
 
grim-a101
Old
(Last edited by grim-a101; 7th May 2012 at 01:06 PM.)
#88  
Member
Thanks Meter 7
Posts: 55
Join Date: Mar 2012
Already tried, with no changes. I'll try to make it blink, and let you know.
For the LCD, if I have well looked, there is only the 101 LCD (BOE something) that is available within this firmware. I don't know what is the 43 LCD but if I remember well, it is not the same.

EDIT: Ok, I've enabled all the LEDS_TRIGGER
Code:
CONFIG_LEDS_TRIGGER_TIMER=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
CONFIG_LEDS_TRIGGER_GPIO=y
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
and now, it's heartbeating.
The Following User Says Thank You to grim-a101 For This Useful Post: [ Click to Expand ]
 
CalcProgrammer1
Old
#89  
Senior Member - OP
Thanks Meter 544
Posts: 577
Join Date: Oct 2007
Location: Illinois
The A43 LCD is an LG FWVGA 4.3" display, the driver is lg_fwvga_43 or something like that. I figured I'd have to port the driver myself, which is going to be tricky as it's a MIPI DSI video mode display. Support for this display type was hacked in to 2.6.29 by Archos, though with 3.0 it should be supported officially, though the API is quite different and the driver will need modification.
Samsung Galaxy Note 3 SM-900T 32GB
Samsung Galaxy Note SGH-i717 16GB
HP TouchPad 32GB
Archos 43 Internet Tablet - 16GB + 32GB mSD
Dell Axim X50v - 128MB + 16GB CF
 
Mavasilisk
Old
(Last edited by Mavasilisk; 13th May 2012 at 08:42 AM.)
#90  
Mavasilisk's Avatar
Senior Member
Thanks Meter 103
Posts: 561
Join Date: Mar 2012
Hope to see it running for 70IT. Rly cant wait for it on my tablet.

EDIT: I can help you with 70IT tests

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes