Linux Kernel Development: Difference between revisions

From Xenon Wiki
Jump to navigation Jump to search
imported>Jamiec
(Created page with 'Currently we have the following patches: *PCI: adding PCI_VENDOR_ID_MICROSOFT (trivial) *Xenon CPU: adding Xenon into cputable *Xenon Platform: adding Interrupt controller, S…')
 
imported>Tuxuser
m (Text replace - "Category:Linux" to "Category:Xbox360_Linux")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Currently we have the following patches:  
Currently we have the following patches working against 2.6.33 kernel:  


*PCI: adding PCI_VENDOR_ID_MICROSOFT (trivial)  
*PCI: adding PCI_VENDOR_ID_MICROSOFT (trivial)  
Line 5: Line 5:
*Xenon Platform: adding Interrupt controller, SMP support, setup  
*Xenon Platform: adding Interrupt controller, SMP support, setup  
*Xenon SATA: adding the sata_xenon libata driver  
*Xenon SATA: adding the sata_xenon libata driver  
*Xenon SMC: adding support for the SMC  
*Xenon SMC: adding support for the SMC , including RTC and communication with Ana.
*Xenon FB (ugly): adding support for tiled framebuffer  
*Xenon FB (ugly): adding support for tiled framebuffer  
*Sound Support
*Pad Support


User:Tmbinc is currently working on them. Please contact him you want to help.  
User:Bertl is currently working on them. Please contact him you want to help on the [[IRC]].  


Currently missing are:  
Currently missing are:  


*Sound support (ALSA hda-intel module does not detect any codecs)
*A sane way for framebuffer support.  
*A sane way for framebuffer support.  
*Better graphics support (changing resolutions etc.). Might require SMC support for talking with the Ana.
*Better graphics support (changing resolutions etc.). We need to add the GPU to the Xell OF tree so Linux detects it correctly. We can probably reuse great part of the ATI/AMD open source drivers available.
*Maybe: patch to work around the samsung (and possibly hitachi) drive differences (plus: eject support over SMC).  
*IR remote support
*(Wireless) Xpad support in xpad.c
*IR remote support  


--------------------------------------------------------------------------------
[[Category:Xbox360_Linux]]
 
The Samsung drive hangs the SATA device detection, a console dump with SATA debugging looks like this:
 
[  87.411889] SCSI Media Changer driver v0.25
[   87.416390] sata_xenon 0000:00:01.0: version 0.1
[   87.421136] ata_device_add: ENTER
[  87.424479] ata_port_add: ENTER
[  87.427757] ata_port_start: prd alloc, virt c00000001d759000, dma 1d759000
[  87.439532] ata1: SATA max UDMA/133 cmd 0xD000080083E42200 ctl 0xD000080083E4220A bmdma 0xD000080083E44220 irq 36
[  87.455329] __ata_port_freeze: ata1 port frozen
[  87.465563] ata_device_add: probe begin
[  87.475237] scsi0 : sata_xenon
[  87.484317] ata_port_schedule_eh: port EH scheduled
[  87.484321] ata_scsi_error: ENTER
[  87.484326] ata_port_flush_task: ENTER
[  87.515211] ata_port_flush_task: flush #1
[  87.525807] ata_eh_autopsy: ENTER
[  87.535741] ata_eh_recover: ENTER
[  87.545719] ata_eh_prep_resume: ENTER
[  87.556167] ata_eh_prep_resume: EXIT
[  87.566564] __ata_port_freeze: ata1 port frozen
[  87.889750] ata_std_softreset: ENTER
[  87.900498] ata_std_softreset: about to softreset, devmask=1
[  87.913591] ata_bus_softreset: ata1: bus reset via SRST
[  88.079764] ata_dev_classify: found ATAPI device by sig
[  88.092792] ata_std_softreset: EXIT, classes[0]=3 [1]=0
[  88.106020] ata_std_postreset: ENTER
[  88.117658] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[  88.132282] ata_std_postreset: EXIT
[  88.144345] ata_eh_thaw_port: ata1 port thawed
[  88.157553] ata_eh_revalidate_and_attach: ENTER
 
this requires someone with some more libata knowledge - GeorgLukas 12:43, 22 Apr 2007 (PDT)
 
 
New, experimental patches which should cure the samsung problem are available from http://op-co.de/xbox360/2.6.21/ . Tmbinc 15:53, 1 May 2007 (PDT)

Latest revision as of 00:30, 7 January 2014

Currently we have the following patches working against 2.6.33 kernel:

  • PCI: adding PCI_VENDOR_ID_MICROSOFT (trivial)
  • Xenon CPU: adding Xenon into cputable
  • Xenon Platform: adding Interrupt controller, SMP support, setup
  • Xenon SATA: adding the sata_xenon libata driver
  • Xenon SMC: adding support for the SMC , including RTC and communication with Ana.
  • Xenon FB (ugly): adding support for tiled framebuffer
  • Sound Support
  • Pad Support

User:Bertl is currently working on them. Please contact him you want to help on the IRC.

Currently missing are:

  • A sane way for framebuffer support.
  • Better graphics support (changing resolutions etc.). We need to add the GPU to the Xell OF tree so Linux detects it correctly. We can probably reuse great part of the ATI/AMD open source drivers available.
  • IR remote support