Re: WITH_GPIO and obsolete files

2010-11-14 Thread Oleksandr Tymoshenko
On 2010-11-14, at 6:27 AM, Alexander Best wrote: > hi there, > > this patch will remove gpioctl and gpioctl.8 when WITH_GPIO was not specified > in src.conf. > > also i just noticed that src.conf needs to be regenerated, because it's > missing the > WITH_GPIO description. Thanks Alexander,

projects/armv6 merged to HEAD

2012-08-16 Thread Oleksandr Tymoshenko
Hello, projects/armv6 branch was merged to HEAD and should be considered dead now. This patch is a result of a joint effort by many people. Including but not limited to: Grzegorz Bernacki (gber@) Aleksander Dutkowski Ben R. Gray (bgray@) Olivier Houchard (cognet@) Rafal Jaworowski (ra

Re: FreeBSD on RaspberryPi

2012-11-11 Thread Oleksandr Tymoshenko
On 2012-11-09, at 2:32 PM, Sami Halabi wrote: > Hi, > are there any plans to do images that support the hdmi output ? what about > analog sound vs the hdmi? > can the images be taken to the gui stage , ie xbmc or any other multimedia > screen ? At the moment HDMI output works only in a sense o

Re: FreeBSD on RaspberryPi

2012-11-24 Thread Oleksandr Tymoshenko
On 2012-11-24, at 4:47 PM, Tim Kientzle wrote: > > On Nov 24, 2012, at 11:13 AM, Alexander Yerenkow wrote: > >> >> >> 2012/11/24 Tim Kientzle >> On Nov 7, 2012, at 8:09 AM, Alexander Yerenkow wrote: >> Such experiments was tried by me and others in August; I got framebuffer work

Re: FreeBSD on RaspberryPi

2012-11-25 Thread Oleksandr Tymoshenko
On 2012-11-25, at 9:32 AM, Tim Kientzle wrote: > > On Nov 24, 2012, at 8:01 PM, Oleksandr Tymoshenko wrote: > >> >> On 2012-11-24, at 4:47 PM, Tim Kientzle wrote: >> >> .. skipped .. >> Tim, >> >> I'm almost done with getting ke

Re: FreeBSD on RaspberryPi

2012-11-26 Thread Oleksandr Tymoshenko
On 2012-11-26, at 7:05 AM, Tim Kientzle wrote: > > On Nov 25, 2012, at 11:46 PM, Oleksandr Tymoshenko wrote: > >> >> On 2012-11-25, at 9:32 AM, Tim Kientzle wrote: >> >>> >>> On Nov 24, 2012, at 8:01 PM, Oleksandr Tymoshenko wrote: >>&g

Re: FreeBSD on RaspberryPi

2012-11-26 Thread Oleksandr Tymoshenko
On 11/26/2012 6:53 PM, Tim Kientzle wrote: This all sounds good then. So we can put the FreeBSD .dts file on the MSDOS Boot partition, then: * Firmware will load it into memory and add display information. * ? ubldr will access the FDT and add memory information and MAC address info ?

Re: Scrolling in framebuffer syscons

2013-02-17 Thread Oleksandr Tymoshenko
On 2/16/2013 5:20 AM, Phileas Fogg wrote: Hi, i have a question about how the scrolling in a framebuffer syscons works. I'm trying to speed up the syscons on the PS3 console which is a simple framebuffer syscons. It uses the renderer _gfbrndrsw_ (see dev/syscons/scgfbrndr.c) to draw into the

DEBUG_REDZONE

2007-11-29 Thread Oleksandr Tymoshenko
not found". There are some emails in archives with issues like mine, though, no solutions were provided. If I can help in any way with tracking down this bug - just let me know how. -- Sincerely, Oleksandr Tymoshenko PBXpress Communications, Inc. http://www.pbxpress.com Tel./Fax.: +1 866 SIP

aio_write issues

2008-05-16 Thread Oleksandr Tymoshenko
It looks like aio_write is out of sync with its man page(if it ever has been). man 2 aio_write states: If O_APPEND is set for iocb->aio_fildes, aio_write() operations append to the file in the same order as the calls were made. Though simple test[1] reveals that it's not true. Orde

hifn(4) DMA fix for review

2010-05-07 Thread Oleksandr Tymoshenko
Proposed patch addresses hifn(4) problems on FreeBSD/mips. Current implementation keeps some of the state information (indexes in buffers, etc) in DMA-mapped memory and bus_dma code invalidates them during sync operations. This fix moves data that doesn't belong to DMA ring to softc structure.

Re: hifn(4) DMA fix for review

2010-05-17 Thread Oleksandr Tymoshenko
On 2010-05-10, at 8:23 AM, Sam Leffler wrote: > > On May 7, 2010, at 12:13 PM, Oleksandr Tymoshenko wrote: > >> Proposed patch addresses hifn(4) problems on FreeBSD/mips. Current >> implementation keeps some of the state information (indexes in >> buffers, et

stock gdb bug: DWARF2 with DWARF_OFFSET_SIZE == 8

2010-10-25 Thread Oleksandr Tymoshenko
gdb on MIP64 does not read DWARF2 line information correctly if gcc was configured with DWARF_OFFSET_SIZE == 8. .debug_line starts with total length field which could be 12 bytes long or 4 bytes long. If it starts with 0x - it's 12 bytes long. Depending on its size one of the followi

[PATCH] hwpmc(4) syscall arguments fix

2010-10-29 Thread Oleksandr Tymoshenko
I ran into problems trying to get hwpmc to work on 64-bit MIPS system with big endian byte order. Turned out hwpmc syscall handler is byte-order and register_t size agnostic unlike the rest of syscalls. The best solution I have so far is a copy sys/sysproto.h approach: http://people.freebsd.or

Re: What happen when FreeBSD boot first time????????

2008-11-09 Thread Oleksandr Tymoshenko
Kamlesh Patel wrote: Hi Friends, I am working on FreeBSD Virtual Memory improvement algorithm. How VM allocate pages first time when system boot? How phys_avail[] have values in sys/vm/vm_Page.c line 228? It's set by machine-dependent part of code. grep for phys_avail[] in i386/amd64/arm/et

uart and big-endian targets

2009-01-20 Thread Oleksandr Tymoshenko
Yesterday I ran into a "problem" with uart(4) on big-endian MIPS board. uart code treats registers as bytes and reads/writes them using bus_space_read_1/bus_space_write_1. To handle word-aligned registers we have regshft in uart_bas structure. It works for little-endian flags where lowest byte

Re: CFT: Graphics support for /boot/loader

2009-02-05 Thread Oleksandr Tymoshenko
Oliver Fromme wrote: http://wiki.freebsd.org/OliverFromme/BootLoaderTest Any kind of feedback is welcome. Works fine on Thinkpad T400 (CURRENT/i386). ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ha

MIPS: bus_dma(9) and cache problems

2009-10-26 Thread Oleksandr Tymoshenko
This problem haunts for a couple of days and I can't find a nice and clean solution so this email is actually a cry for help. The problem: There is a buffer loaded by bus_dmamap_load for use as a DMA buffer. Right before this buffer resides block of vital data structure. Consider following s

Re: GPIO button and userspace

2010-03-17 Thread Oleksandr Tymoshenko
On 2010-03-17, at 12:04 PM, Alex RAY wrote: > Hackers > help find the correct answer, in what way I can send interrupt on GPIO to > the userspace script. > I know that I can make the device, and open it in program, but it is > cumbersome. > I know what I can run the script from the kernel, as in

Re: NVIDIA FreeBSD kernel feature requests

2006-06-29 Thread Oleksandr Tymoshenko
itimate per-open instance data structures of cdevs is a great assistance in porting linux drivers to FreeBSD. Just my $0.02. -- Sincerely, Oleksandr Tymoshenko PBXpress Communications, Inc. http://www.pbxpress.com Tel./Fax.: +1 866 SIP PBX1 Ext. 656 _

Re: NVIDIA FreeBSD kernel feature requests

2006-06-29 Thread Oleksandr Tymoshenko
supposed to do something other then keeping per-open instance. It would be great to have this event/mechanism documented for I'd found it looking through source code in /usr/src/sys. Not the worst place to get information but man pages are better :) -- Sincerely, Oleksandr Tymoshenko PBXp