Difference between revisions of "Integration of Linux 2.6.29"

From ArmadeusWiki
Jump to: navigation, search
m (Drivers test summary)
(Drivers test summary)
 
(21 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
==2.6.29==
 
==2.6.29==
  
*<strike> 013-imxfb à vérifier</strike>
+
*le driver I2C a besoin d'être mis à jour !! (231-apf27-pengu-mxc_i2c_driver.patch) car y a des "deprecated" fonctions
*<strike> 030-udc intégré en partie apparement</strike>
+
*pour le fec old (220-apf27-pengu-fec-old.patch), pengu a un driver un poil plus à jour avec des modifs bizarres:
*<strike> 031-armadeus-updates_imx-udc_driver_for_new_kernels.patch                      plus nécessaire ?</strike>
+
* 032-armadeus-imx-udc-makes_it_use_clock_infrastructure.patch                    intégré
+
*<strike> 078-armadeus-set_imx_fb_info-sectio-mismatch.patch                              sert encore à qqchose ??</strike>
+
* 100-armadeus-spi_imx-move_clock_request_to_prevent_crash_when_probing.patch    intégré
+
* 213-apf27-pengu-mxc-add_convenience_function_to_register_platform_devices.patch intégré
+
* 214-apf27-pengu-drivers_mtd_cfi_probe_broken_mirrorbit.patch                    sert à rien
+
* 215-apf27-pengu-mx2-make_SoC_devices_globally_available.patch                  intégré
+
* 216-apf27-pengu-mx27-add_definitions_for_USB_pins.patch                        intégré
+
* 217-apf27-pengu-mxc-add_cscr_register_definitions.patch                        intégré
+
* 218-apf27-pengu-mxc-add_RTCK_alternate_function_definitions.patch              intégré
+
* 221-apf27-pengu-add_DMA_support_for_mx2_mx1.patch                              intégré
+
* 222-apf27-pengu-mxc-Add_NAND_flash_controller_driver.patch                      intégré
+
* 223-apf27-pengu-pcm038-Add_NAND_resources.patch                                intégré
+
* 224-apf27-pengu-pcm038-Add_NAND_support.patch                                  intégré
+
* 225-apf27-pengu-mx27-Fix_EMMA_base_addresses.patch                              intégré
+
* 251-apf27-pengu-mxc-simplify_mxc_gpio_setup_multiple_pins.patch                intégré (!! attention au nom de mxc_gpio_setup_multiple_pins() !!)
+
* 255-apf27-pengu-mx27-Add_USB_pin_function_defines.patch                        intégré
+
* 272-apf27-armadeus-imxmmc-add_sdhc1_pins_in_iomux-mx1-mx2_h.patch              intégré
+
* 277-apf27-pengu-add_MX2_specific_SDHC_driver.patch                              intégré
+
*<strike> 290-apf27-pengu-spi_addons.patch                                                à diviser en deux et renommer</strike>
+
*<strike> 291-apf27-add_debug_support_with_UART1.patch                                    à renommer</strike>
+
* 313-apf27-armadeus-pengu_gpio.patch                                            intégré
+
 
+
- le driver I2C a besoin d'être mis à jour !! (231-apf27-pengu-mxc_i2c_driver.patch) car y a des "deprecated" fonctions<br>
+
- pour le fec old (220-apf27-pengu-fec-old.patch), pengu a un driver un poil plus à jour avec des modifs bizarres:<br>
+
 
   ligne 2204 if (mac_preinitialized) { -> if (!mac_preinitialized) {
 
   ligne 2204 if (mac_preinitialized) { -> if (!mac_preinitialized) {
 
   ligne 2212 if (mac_preinitialized != 0xff) { -> if (!mac_preinitialized == 0xff) {
 
   ligne 2212 if (mac_preinitialized != 0xff) { -> if (!mac_preinitialized == 0xff) {
- bien vérifier tous les patches qui ont des "Hunk 2" lorsqu'ils sont appliqués<br>
+
*mettre les bons id dans: 296-apf27-armadeus-imx27-usb-host1.patch
- mettre les bons id dans: 296-apf27-armadeus-imx27-usb-host1.patch<br>
+
 
+
 
+
===No more used patches:===
+
 
+
  
 
==Drivers test summary==
 
==Drivers test summary==
Line 58: Line 28:
 
|----------------
 
|----------------
 
|'''[[Controller_Area_Network|CAN bus]]''' || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK ||  ||style="background:#efefef;" | || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK||  
 
|'''[[Controller_Area_Network|CAN bus]]''' || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK ||  ||style="background:#efefef;" | || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK||  
 +
|----------------
 +
|'''[[Camera|CSI]]''' || style="background:#efefef;"| NA || style="background:#efefef;"| NA || style="background:#efefef;"| NA ||  ||style="background:#efefef;" | || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK ||
 
|----------------
 
|----------------
 
|'''Video Out''' || colspan="2" align="center" style="background:#efefef;"| No driver || style="background:#00ff00;" | OK || [[TV_Output|Chrontel 7024]] ||style="background:#efefef;" | ||  NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || HDMI/DVI
 
|'''Video Out''' || colspan="2" align="center" style="background:#efefef;"| No driver || style="background:#00ff00;" | OK || [[TV_Output|Chrontel 7024]] ||style="background:#efefef;" | ||  NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || HDMI/DVI
Line 63: Line 35:
 
|'''DAC''' || colspan="2" align="center" style="background:#efefef;"| No driver  || style="background:#00ff00;" | OK || [[DAC | setDAC tool]] ||style="background:#efefef;" | || colspan="2" align="center" style="background:#efefef;"| No driver || style="background:#00ff00;" | OK || [[DAC | setDAC tool]]
 
|'''DAC''' || colspan="2" align="center" style="background:#efefef;"| No driver  || style="background:#00ff00;" | OK || [[DAC | setDAC tool]] ||style="background:#efefef;" | || colspan="2" align="center" style="background:#efefef;"| No driver || style="background:#00ff00;" | OK || [[DAC | setDAC tool]]
 
|----------------
 
|----------------
|'''Ethernet''' || style="background:#00ff00;" | OK || NA || style="background:#00ff00;" | OK || DM9000 <br> read  -> ~670 kBytes/sec <br> write -> ~710 kBytes/sec ||style="background:#efefef;" | || style="background:#00ff00;" | OK || NA || style="background:#00ff00;" | OK || Internal FEC <br>  read  -> 785 kBytes/sec <br> write -> 839 kBytes/sec
+
|'''Ethernet''' || style="background:#00ff00;" | OK || NA || style="background:#00ff00;" | OK || DM9000 <br> read  -> ~670 kBytes/sec <br> write -> ~710 kBytes/sec (TFTP)||style="background:#efefef;" | || style="background:#00ff00;" | OK || NA || style="background:#00ff00;" | OK || Internal FEC <br>  read  -> 785 kBytes/sec <br> write -> 839 kBytes/sec (TFTP)
 
|----------------
 
|----------------
|'''FPGA loader''' || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || ||style="background:#efefef;" | || NT || style="background:#00ff00;" | OK || style="background:#ff0000;" | KO ||
+
|'''FPGA loader''' || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || ||style="background:#efefef;" | || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK ||
 
|----------------
 
|----------------
|'''FPGA PS/2''' || NT || style="background:#00ff00;" | OK || style="background:#eeee00;" |NT || ||style="background:#efefef;" | || NT || NT || NT ||
+
|'''IRQ from FPGA''' || NT || style="background:#00ff00;" | OK || NT||  ||style="background:#efefef;" | || style="background:#efefef;"| NA || style="background:#00ff00;" | OK  || style="background:#00ff00;"| OK || for usecase see [[A_simple_design_with_Wishbone_bus]]
 
|----------------
 
|----------------
|'''GPIO''' || NT || style="background:#eeee00;" | NT || style="background:#eeee00;" | NT || ||style="background:#efefef;" | || style="background:#00ff00;" | OK || NT || style="background:#ff0000;" | KO ||
+
|'''GPIO''' || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || ||style="background:#efefef;" | || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK ||
 
|----------------
 
|----------------
 
|'''I2C Host''' || style="background:#00ff00;" | OK || NT || style="background:#00ff00;" | OK || ||style="background:#efefef;" | || style="background:#00ff00;" | OK  || NT || style="background:#00ff00;" | OK  ||
 
|'''I2C Host''' || style="background:#00ff00;" | OK || NT || style="background:#00ff00;" | OK || ||style="background:#efefef;" | || style="background:#00ff00;" | OK  || NT || style="background:#00ff00;" | OK  ||
 
|----------------
 
|----------------
|'''LCD''' || style="background:#00ff00;" | OK || NA || style="background:#00ff00;" | OK || Tux displayed ;-) ||style="background:#efefef;" | || style="background:#00ff00;" | OK || NT || style="background:#00ff00;" | OK || Tux displayed ;-)
+
|'''LCD''' || style="background:#00ff00;" | OK || NA || style="background:#00ff00;" | OK || Tuz displayed + fbtest + SDL OK ||style="background:#efefef;" | || style="background:#00ff00;" | OK || NT || style="background:#00ff00;" | OK || Tuz displayed + fbtest + SDL OK
 
|----------------
 
|----------------
 
|'''MMC/SD''' || style="background:#00ff00;" | OK || NA || style="background:#00ff00;" | OK || (Kingston 512MB) <br> read -> 3297 kBytes/sec <br>  write -> 902 kBytes/sec ||style="background:#efefef;" | || style="background:#00ff00;" | OK || NT || style="background:#00ff00;" | OK || Linux boot on MMC Ok
 
|'''MMC/SD''' || style="background:#00ff00;" | OK || NA || style="background:#00ff00;" | OK || (Kingston 512MB) <br> read -> 3297 kBytes/sec <br>  write -> 902 kBytes/sec ||style="background:#efefef;" | || style="background:#00ff00;" | OK || NT || style="background:#00ff00;" | OK || Linux boot on MMC Ok
 
|----------------
 
|----------------
|'''PWM classic''' || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || [[PWM]] ||style="background:#efefef;" | || style="background:#ff0000;" | KO || NA || NA ||
+
|'''PWM classic''' || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || [[PWM]] ||style="background:#efefef;" | || style="background:#00ff00;" | OK || NA || style="background:#00ff00;" | OK ||
 
|----------------
 
|----------------
|'''PWM sound''' || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || [[PWM]] ||style="background:#efefef;" | || style="background:#ff0000;" | KO || NA || NA ||
+
|'''PWM sound''' || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || [[PWM]] ||style="background:#efefef;" | || style="background:#00ff00;" | OK || NA || style="background:#00ff00;" | OK ||
 
|----------------
 
|----------------
 
|'''RTC''' || style="background:#eeee00;" | NT || NT || style="background:#eeee00;" |NT || DS1374, use legacy one instead ||style="background:#efefef;" | ||style="background:#00ff00;" | OK || NT || style="background:#00ff00;" | OK ||  
 
|'''RTC''' || style="background:#eeee00;" | NT || NT || style="background:#eeee00;" |NT || DS1374, use legacy one instead ||style="background:#efefef;" | ||style="background:#00ff00;" | OK || NT || style="background:#00ff00;" | OK ||  
Line 91: Line 63:
 
|'''Touchscreen''' || NA || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || [[TSC2102_Linux_driver]] ||style="background:#efefef;" | || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || [[TSC2101]] + [[TSC2102_Linux_driver]]
 
|'''Touchscreen''' || NA || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || [[TSC2102_Linux_driver]] ||style="background:#efefef;" | || NT || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || [[TSC2101]] + [[TSC2102_Linux_driver]]
 
|----------------
 
|----------------
|'''USB (gadget)''' || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || style="background:#ff0000;" | Mass storage KO<br> Serial KO || [[USB_Gadget]]<br>insmod: cannot insert 'g_serial.ko': invalid parameters ||style="background:#efefef;" | || style="background:#efefef;"|NT || style="background:#efefef;"|NT || style="background:#efefef;"|NT || Not available (Use Host A <-> Host A cable)
+
|'''USB (gadget)''' || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || style="background:#00ff00;" | Mass storage OK<br> Serial NT || [[USB_Gadget]] ||style="background:#efefef;" | || style="background:#efefef;"|NT || style="background:#efefef;"|NT || style="background:#efefef;"|NT || Not available (Use Host A <-> Host A cable)
 
|----------------
 
|----------------
 
|'''USB (Host)''' || NA || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || [[ISP1761_Linux_driver|ISP1761]] ||style="background:#efefef;" | || style="background:#00FF00;" | OK || NT || style="background:#00FF00;" | OK: both controllers || i.MX27 internal controllers
 
|'''USB (Host)''' || NA || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || [[ISP1761_Linux_driver|ISP1761]] ||style="background:#efefef;" | || style="background:#00FF00;" | OK || NT || style="background:#00FF00;" | OK: both controllers || i.MX27 internal controllers
 
|----------------
 
|----------------
|'''Watchdog''' || NA || NA || NA || || style="background:#efefef;" | || style="background:#eeee00;" |NT || style="background:#eeee00;" |NT || style="background:#eeee00;" |NT ||
+
|'''Watchdog''' || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || || style="background:#efefef;" | || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK || style="background:#00ff00;" | OK ||
 
|----------------
 
|----------------
 
|}
 
|}

Latest revision as of 08:54, 11 July 2012

Page under construction... Construction.png Informations on this page are not guaranteed !!


2.6.29

  • le driver I2C a besoin d'être mis à jour !! (231-apf27-pengu-mxc_i2c_driver.patch) car y a des "deprecated" fonctions
  • pour le fec old (220-apf27-pengu-fec-old.patch), pengu a un driver un poil plus à jour avec des modifs bizarres:
 ligne 2204 if (mac_preinitialized) { -> if (!mac_preinitialized) {
 ligne 2212 if (mac_preinitialized != 0xff) { -> if (!mac_preinitialized == 0xff) {
  • mettre les bons id dans: 296-apf27-armadeus-imx27-usb-host1.patch

Drivers test summary

  • NT = Not Tested
  • NA = Not Available / Not possible
Device Compiling ? (APF9328)
Static / Module
Working ? (APF9328) Comments Compiling ? (APF27)
Static / Module
Working ? (APF27) Comments
ADC NA OK OK MAX1027 NT OK OK MAX1027
Audio Out NA OK OK ALSA NT OK OK TSC2101 + ALSA
Audio In NA NA NA NT NT NT
Backlight NT OK OK NT OK OK
CAN bus NT OK OK NT OK OK
CSI NA NA NA NT OK OK
Video Out No driver OK Chrontel 7024 NT OK OK HDMI/DVI
DAC No driver OK setDAC tool No driver OK setDAC tool
Ethernet OK NA OK DM9000
read -> ~670 kBytes/sec
write -> ~710 kBytes/sec (TFTP)
OK NA OK Internal FEC
read -> 785 kBytes/sec
write -> 839 kBytes/sec (TFTP)
FPGA loader NT OK OK NT OK OK
IRQ from FPGA NT OK NT NA OK OK for usecase see A_simple_design_with_Wishbone_bus
GPIO NT OK OK NT OK OK
I2C Host OK NT OK OK NT OK
LCD OK NA OK Tuz displayed + fbtest + SDL OK OK NT OK Tuz displayed + fbtest + SDL OK
MMC/SD OK NA OK (Kingston 512MB)
read -> 3297 kBytes/sec
write -> 902 kBytes/sec
OK NT OK Linux boot on MMC Ok
PWM classic NT OK OK PWM OK NA OK
PWM sound NT OK OK PWM OK NA OK
RTC NT NT NT DS1374, use legacy one instead OK NT OK
RTC legacy OK NT OK rtc-ds1327-legacy NT NT OK
Serial OK NA OK ttySMX0 & 1 OK NA NT ttySMX0,1,2,3,4,5
SPI Host OK NT OK OK NT OK
Touchscreen NA OK OK TSC2102_Linux_driver NT OK OK TSC2101 + TSC2102_Linux_driver
USB (gadget) OK OK Mass storage OK
Serial NT
USB_Gadget NT NT NT Not available (Use Host A <-> Host A cable)
USB (Host) NA OK OK ISP1761 OK NT OK: both controllers i.MX27 internal controllers
Watchdog OK OK OK OK OK OK