search for: donhiatt

Displaying 15 results from an estimated 15 matches for "donhiatt".

2010 Aug 25
2
Announcing EXT2FS lib for syslinux
Here is the initial release: git://github.com/donhiatt/Syslinux-EXT2FS-Library-port.git I am very new to git so I hope I managed to get the repo setup properly. The repo is branched from 'disklib' as I plan to use it for all disk read/write access (I'm currently using modified gpllib/disk/* -- see README). Cheers, don ----- README for...
2010 Mar 10
1
com32 fswrite to filesystem
Hello, Pardon the newbee question but I'd like to be able to log to disk from within syslinux (extlinux actually, as it's a ext2 fs). fopen("w") does not appear to be implemented (returns EINVAL). Has anyone written the filesystem write support, and if not, any suggested routes? Should I just implement the lower level BIOS disk write support, add the FS layer, and go from
2010 May 19
2
Can't get COM32 + GDB to work
Hey guys, I can't seem to figure out how to debug a COM32 app with GDB under qemu. I start "qemu -s" and then "gdb hello.elf ; target remote:1234" but can't set any breakpoints that work. I"m using syslinux4 (pathbased from the repo). Can anyone verify that they can use qemu+com32+gdb with something as simple as com32/samples/hello.c32 ? Also, is it
2011 Aug 01
1
fwrite?
Is there a known problem with fopen and/or fwrite in Syslinux? I'm trying to open a file to write data to but fopen( file_name, "w+" ) fails everytime. fopen( file_name, "r" ) works just fine.
2010 Sep 19
2
can't get write_sectors to work...
Hi, Hopefully you someone can tell me what I'm doing wrong. First, the code. I placed this at the bottom of the main loop in com32/modules/disk.c as a simple test of writing to the disk: printf(" Host bus: %s, Interface type: %s\n\n", d->edd_params.host_bus_type, d->edd_params.interface_type); zero_buf = calloc(1, d->edd_params.bytes_per_sector); for(int
2010 Mar 08
2
com32 license restrictions
Hello, Would com32 modules be considered the same as an ordinary Linux executable with respect to LGPL? That is, as long as you released any changes to syslinux/com32 libs would you also have to release the source to the com32 module? Thanks for your time.
2010 Mar 13
1
Syslinux 4 git repo url?
Sorry for all the noise, but I can't seem to find the location of the Syslinux 4 git codebase. The wiki give this for 3.x: http://git.kernel.org/?p=boot/syslinux/syslinux.git;a=summary but I haven't been able to find the 4.x branch. Thank you. don
2010 Mar 16
1
com32/modules/disk patch to fix crash (syslinux 4)
This patch fixes a crash in disk.c32 owing to the change in get_error()'s signature. Instead of calling get_error() I just dump the error code. don diff --git a/com32/modules/disk.c b/com32/modules/disk.c index e94a36b..2966173 100644 --- a/com32/modules/disk.c +++ b/com32/modules/disk.c @@ -37,11 +37,8 @@ int main(int argc __attribute__ (( unused )), continue;
2010 Apr 16
0
Calling getoneblk() from com32
Is there an easy way to call getoneblk() (along with access to the required disk struct) from com32? I know I can use the gpllib read_sectors() but since the device_init already has the c/h/s/etc it sure would be nice to grab it from there and use getoneblk(). Any hints are greatly appreciated. Cheers, don
2010 Apr 20
2
remote gdb & com32
Hey guys, I've searched the archives but couldn't find any instructions on setting breakpoints in com32 apps. I'm trying to debug my app under Qemu. BTW, is there any limits on the amount of malloc space you can do? I'm trying to track down a reboot after a lot of mallocs. Thanks a lot.
2010 Jul 14
1
git repo and ssh access
Hello, I tried doing a clone over ssh with git clone ssh://git.kernel.org/pub/scm/boot/syslinux/syslinux.git foo and I'm being prompted for a password: don at git.kernel.org's password: This worked a few weeks back. I've been on vacation so maybe my brain hasn't restarted just yet. :) Thanks! don
2010 Aug 13
0
small patch for core/fs/diskio.c to remove redundant register write
The disk number is set twice in diskio.c/edd_rdwr_sectors() this patch removes the redundant setting. diff --git a/core/fs/diskio.c b/core/fs/diskio.c index 481b59b..38d3da3 100644 --- a/core/fs/diskio.c +++ b/core/fs/diskio.c @@ -163,8 +163,6 @@ static int edd_rdwr_sectors(struct disk *disk, void *buf, memset(&reset, 0, sizeof reset); - ireg.edx.b[0] = disk->disk_number; -
2010 Aug 18
1
EXT2FS lib ported to syslinux
Hello, Is there any interest in a port of the EXT2FS lib (from e2fsprogs-1.41.11) to Syslinux? I have EXT2/3/4 read and write working from within C32 applications. Cheers, don
2010 Mar 15
1
host cross-compile patch
I tend to use the same tool-chain across various hosts so I made this very simple patch that allows you to pass the cross-compiler name to make ( e.g. make CROSS_COMPILE=i686-nptl-linux-gnu-). I'm not sure if patches should be attached or just pasted inline so I did both this time. BTW, it's relative to syslinux 4 but the same changes work with syslinux 3 although the patch won't
2010 Apr 27
2
gpllib write_sectors() patch
Here is a partial patch that I'm using to illustrate a few questions that I have. Looking at the gpllib write_sectors (com32/gpllib/disk/write.c) it looks like the allocated size is wrong; size is in sectors so we should adjust the alloc/memcpy by size*SECTOR. Also, comparing core/diskio.c it looks like the registers aren't even setup right. In the patch below I put an #if 0 around the