Investigation into how Linux on the PS3 might lead to homebrew development.
	Moderators:  cheriff , emoon 
			
		
		
			
				
																			
								zbowling 							 
									
		Posts:  2 Joined:  Thu May 22, 2008 12:17 pm 
		
						
					
													
							
						
									
						Post 
					 
								by zbowling  Thu May 22, 2008 2:10 pm 
			
			
			
			
			Anyone else see these patches that Geoff is working on? 
 
1 Subject: PS3: ps3vram driver for accessing video RAM as MTD
2
3 From: Jim Paris <
[email protected] >
4
5 Add ps3vram driver, which exposes unused video RAM on the PS3 as a MTD
6 device suitable for storage or swap.  Fast data transfer is achieved
7 using a local cache in system RAM and DMA transfers via the GPU.
 http://git.kernel.org/?p=linux/kernel/g ... ;f=ps3-wip  
		 
				
		
		 
	 
				
		
		
			
				
																			
								jimparis 							 
									
		Posts:  1145 Joined:  Fri Jun 10, 2005 4:21 amLocation:  Boston 
		
						
					
						 
													
							
						
									
						Post 
					 
								by jimparis  Sat May 24, 2008 12:19 am 
			
			
			
			
			I have... but I guess that's obvious.
			
			
									
									
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								Nismobeach 							 
									
		Posts:  9 Joined:  Thu Aug 16, 2007 1:31 pm 
		
						
					
						 
													
							
						
									
						Post 
					 
								by Nismobeach  Fri Jun 06, 2008 4:35 pm 
			
			
			
			
			Wasn't support for this blocked in FW 2.10?  If so, does this mean that once his patch is complete that he will also release an updated otheros.bld file to allow this to be implemented again?
			
			
									
									
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								jimparis 							 
									
		Posts:  1145 Joined:  Fri Jun 10, 2005 4:21 amLocation:  Boston 
		
						
					
						 
													
							
						
									
						Post 
					 
								by jimparis  Sat Jun 07, 2008 3:38 am 
			
			
			
			
			No, the ps3vram driver in geoff's ps3-linux.git works on all firmware versions.
			
			
									
									
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								sandworm 							 
									
		Posts:  4 Joined:  Mon Jun 18, 2007 11:58 pm 
		
						
					
						 
													
							
						
									
						Post 
					 
								by sandworm  Sun Oct 19, 2008 3:14 am 
			
			
			
			
			After update gameos to 2.50 ps3vram starts hang a machine.
Log (repeated 3 times before freeze):
Code: Select all 
Oct 17 22:56:41 sandworm-ps3 kernel: ps3vram: allocated 245 MiB of DDR memory
Oct 17 22:56:41 sandworm-ps3 kernel: creating cache: 7 entries, 262144 bytes pages
Oct 17 22:56:41 sandworm-ps3 kernel: ps3vram mtd device registered, 256901120 bytes
Oct 17 22:56:41 sandworm-ps3 kernel: notifier timeout
Oct 17 22:56:41 sandworm-ps3 kernel: PUT = 00000000 GET = 00000000
Oct 17 22:56:41 sandworm-ps3 kernel: c000000008a00000: 00042000
Oct 17 22:56:41 sandworm-ps3 kernel: c000000008a00004: 31337333
....
Oct 17 22:56:41 sandworm-ps3 kernel: d0000800805e13c0: 00000000
Oct 17 22:56:41 sandworm-ps3 kernel: failed to download from 0xf4c0000 to 0x180000 size 0x40000
Oct 17 22:56:41 sandworm-ps3 kernel: ps3fb ioc0_01: ps3fb_sync_image: lv1_gpu_context_attribute FB_BLIT failed: -24
Oct 17 22:56:42 sandworm-ps3 last message repeated 5 times
Appears both on 2.6.25.4 from cl-sdk and latest 2.6.27-rc8 from Geoff's git.
On FW 2.43 and any previous everything worked ok.
 
		 
				
		
		 
	 
				
		
		
			
				
																			
								unsolo 							 
									
		Posts:  155 Joined:  Mon Apr 16, 2007 2:39 amLocation:  OSLO Norway 
		
						
					
						 
													
							
						
									
						Post 
					 
								by unsolo  Tue Oct 21, 2008 3:30 am 
			
			
			
			
			sandworm wrote: After update gameos to 2.50 ps3vram starts hang a machine.
Log (repeated 3 times before freeze):
Code: Select all 
Oct 17 22:56:41 sandworm-ps3 kernel: ps3vram: allocated 245 MiB of DDR memory
Oct 17 22:56:41 sandworm-ps3 kernel: creating cache: 7 entries, 262144 bytes pages
Oct 17 22:56:41 sandworm-ps3 kernel: ps3vram mtd device registered, 256901120 bytes
Oct 17 22:56:41 sandworm-ps3 kernel: notifier timeout
Oct 17 22:56:41 sandworm-ps3 kernel: PUT = 00000000 GET = 00000000
Oct 17 22:56:41 sandworm-ps3 kernel: c000000008a00000: 00042000
Oct 17 22:56:41 sandworm-ps3 kernel: c000000008a00004: 31337333
....
Oct 17 22:56:41 sandworm-ps3 kernel: d0000800805e13c0: 00000000
Oct 17 22:56:41 sandworm-ps3 kernel: failed to download from 0xf4c0000 to 0x180000 size 0x40000
Oct 17 22:56:41 sandworm-ps3 kernel: ps3fb ioc0_01: ps3fb_sync_image: lv1_gpu_context_attribute FB_BLIT failed: -24
Oct 17 22:56:42 sandworm-ps3 last message repeated 5 times
Appears both on 2.6.25.4 from cl-sdk and latest 2.6.27-rc8 from Geoff's git.
On FW 2.43 and any previous everything worked ok.
Please report this to the cbe-oss-dev mailing list 
https://ozlabs.org/mailman/listinfo/cbe-oss-dev Don't do it alone.
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								ps3fanboy 							 
									
		Posts:  66 Joined:  Sun Jul 06, 2008 2:03 am 
		
						
					
						 
													
							
						
									
						Post 
					 
								by ps3fanboy  Sat Jan 10, 2009 8:03 pm 
			
			
			
			
			is ps3vram still working with the latest firmware?
I tried it:
modprobe mtdblock
and get
ps3vram: lv1_gpu_memory_allocate failed
any help?
thanks.
 
		 
				
		
		 
	 
				
		
		
			
				
																			
								ps3fanboy 							 
									
		Posts:  66 Joined:  Sun Jul 06, 2008 2:03 am 
		
						
					
						 
													
							
						
									
						Post 
					 
								by ps3fanboy  Sat Jan 10, 2009 8:24 pm 
			
			
			
			
			ps3fanboy wrote: is ps3vram still working with the latest firmware?
I tried it:
modprobe mtdblock
and get
ps3vram: lv1_gpu_memory_allocate failed
any help?
thanks.
please ignore... used the ps3vram contained in the latest 2.6.28 kernel... and it seems to work. i hope :-)
Code: Select all 
Adding 250872k swap on /dev/mtdblock0.  Priority:10 extents:1 across:250872k