Commit Graph
100 Commits
Author SHA1 Message Date
François Revol 2d764efa49 Update libassuan packages 2014-11-26 01:15:52 +01:00
François Revol 67d659f26e Update gpgme packages and add gcc2 version 2014-11-25 03:34:48 +01:00
François Revol 0e38333732 Update libassuan packages 2014-11-25 03:30:05 +01:00
François Revol 187e6ae426 Add packages for gpgme 2014-11-25 03:05:00 +01:00
François Revol 108f3dec11 Add packages for libassuan 2014-11-19 17:17:43 +01:00
François Revol 0c288dd013 Add packages for libgpg-error 2014-11-19 17:13:51 +01:00
François Revol 12533060d0 stdio.h: add missing typedefs
I should sleep more and build more :D
2014-11-19 15:45:17 +01:00
François Revol e1f303c5ec Add fopencookie() to stdio.h
We already export it in libroot, and libassuan seems to require it.
2014-11-19 15:13:45 +01:00
François Revol 642c5de7a8 virtualkeyboard: more TODO 2014-11-13 20:10:05 +01:00
François Revol 7dc43c256f virtualkeyboard: convert TODO to org-mode file 2014-11-13 20:07:44 +01:00
François Revol 953c6a0450 AboutSystem: add Freeman Lou to the contributors
I'm not sure which is first name and which is last though...
2014-11-13 18:08:49 +01:00
François Revol 280efb4202 virtualkeyboard: more TODO 2014-11-13 18:00:03 +01:00
François Revol e47787291d virtualkeyboard: mention needed code factorisation in TODO 2014-11-13 17:51:14 +01:00
François Revol 747c2e9253 Add sniff rule to Gobe Productive MIME type
I'm not sure the 'DOC!' part isn't an endian marker but for now
it should be enough.
2014-11-11 00:41:22 +01:00
François Revol 645262ff2e Add MIME type for Gobe™ Productive™ Document 2014-11-11 00:31:42 +01:00
François Revol 58cd1a5fb3 Update simh package 2014-11-11 00:15:32 +01:00
François Revol 44d31dca37 Update intltool package
To properly require cmd:file.
2014-11-10 01:12:04 +01:00
François Revol 4dcad4ed72 Add package for file
Required for intltool.
2014-11-10 01:11:05 +01:00
François Revol 1436fe7448 Add TIOCM_CAR as a synonym for TIOCM_CD
Gnokii uses it.
2014-11-09 02:28:06 +01:00
François Revol 2356253278 Update libusb_compat package 2014-11-09 02:21:48 +01:00
François Revol d4b75d6c6e Add package for gnupg 2014-11-08 02:48:29 +01:00
François Revol 84311a7294 Add packages for libusb-compat 2014-11-08 02:45:06 +01:00
François Revol d978b683a2 libusb: update and add the missing devel package 2014-11-07 22:28:56 +01:00
François Revol c56527927d Add package for ddrescue 2014-11-06 23:40:53 +01:00
François Revol 76b8f002e1 Implement lseek(SEEK_END) on devices
While the partitioning system does publish partitions as block
devices and report their size in stat(), the old BeOS-style
drivers have no means of reporting it this way.
So we fall back to ioctl(B_GET_GEOMETRY) to find out the size.
2014-11-04 20:47:04 +01:00
François Revol b7ff6340ae U-Boot: always initialize args.arguments_count 2014-11-04 16:01:16 +01:00
François Revol 361f5a857f ARM: OMAP3: dynamically allocate the framebuffer
It seems to work on overo at least, which has only 128MB by default in QEMU.
2014-11-03 21:06:20 +01:00
François Revol 1cac4300c3 ARM: Add an mmu_get_virtual_mapping() call to bootloader
Will be needed to figure out the framebuffer address
once we allocate it properly instead of hardcoding.
2014-11-03 20:49:01 +01:00
François Revol cb3ea122d3 U-Boot: delay checking /chosen:bootargs after remapping FDT
This avoids having to copy the strings.
For now we disregard argv[] as it is not remapped before
being used in add_stage2_driver_settings() and is not used
by the linux entry point.

This makes the overo loader panic at the same place as
the beagle xm one now, even though it fails to display
anything with the default RAM size since we allocate
the framebuffer beyond 128MB...
2014-11-03 19:41:38 +01:00
François Revol b56dad50b4 ARM: overo: use same load address as beagle xm
And leave 8M for the kernel.
2014-11-03 18:44:56 +01:00
François Revol 2bbd623a48 ps: fix warnings 2014-11-01 21:42:32 +01:00
François Revol 67555ed829 ARM: beagle: Also use the linux entry point
This way U-Boot is able to patch the FDT with the correct RAM size
before we get to read it.
2014-11-01 20:34:38 +01:00
François Revol 564a073b01 ARM: move uEnv.txt content to BoardSetup file
That's really where it belongs. Not all boards will need it,
but for now it's always created.
2014-11-01 19:57:48 +01:00
François Revol 95e9515c4b U-Boot: drop the bind on the flash image action 2014-11-01 19:08:57 +01:00
François Revol 92fcf262ff ARM: Check for RAM size in FDT
We skip the check when we already have ranges inserted,
like from the raspberry Pi start code, and we fall back to
32MB at SDRAM_BASE is not found.
2014-11-01 18:53:48 +01:00
François Revol 49bb4c467c ARM: overo: Use the linux entry point version of the loader
And load the boot tgz and FDT separately from the SD card.

Hopefully U-Boot will now report available RAM size.
2014-11-01 17:11:39 +01:00
François Revol 8d8bda071f U-Boot: generate a separate uImage for the boot tgz as well
We need this when using the linux entry point.
2014-11-01 17:11:01 +01:00
François Revol d1ebf9716d U-Boot: ARM: Add a linux entry point to asm shell code
While the NetBSD entry point is handy as we can use a single uImage
with all 3 blobs, it bypasses U-Boot's own patching of the FDT since
it's not visible to it, so we won't get the RAM size and other things
through it.
2014-11-01 17:09:09 +01:00
François Revol 5de5d59d78 U-Boot: move gUImage and gFDT back to BSS section
No need for this trick anymore.
2014-11-01 16:39:44 +01:00
François Revol 909a14bb55 U-Boot: introduce a start_gen() catch-all entry
So we can pass it all the optional stuff instead of playing tricks
to initialize them outside of BSS.
2014-11-01 16:39:44 +01:00
François Revol 2ea30bc6fc ARM: overo: use the correct bootloader, with a NetBSD entry point 2014-11-01 06:27:59 +01:00
François Revol c424d9e833 ARM: overo: fix bootscript
We actually now get our boot menu!
2014-11-01 05:42:47 +01:00
François Revol 8874b947cc ARM: overo: fix flash and SD content 2014-11-01 05:38:44 +01:00
François Revol 10255f396b ARM: verdex: keep notes about flash content 2014-11-01 05:37:32 +01:00
François Revol 1309cdade9 U-Boot: rework flash image rule to be more flexible
We can now specify arbitrary content and offsets for each.

Change the default block size to 1k.
2014-11-01 05:37:06 +01:00
François Revol b1d21fa3e8 ARM: Add URLs for MLO and U-Boot binaries
taken from http://gumstix.org/how-to/70-writing-images-to-flash.html
2014-11-01 02:27:57 +01:00
François Revol f680a1a723 U-Boot: skip flash-image targets if no U-Boot image is passed
When building flash images we want a U-Boot binary for now.
Testing for it avoids dd waiting for input on stdin
instead leaving no clue.
2014-11-01 02:15:09 +01:00
François Revol ce8bde949d ARM: set the FDT file to use for Overo 2014-11-01 02:06:06 +01:00
François Revol 7b0ec176cb ARM: add required FDT files for Overo and Tobi board 2014-11-01 02:05:39 +01:00
François Revol 48c3ab96bb ARM: overo has an OMAP3 which supports VFP3...
Also switch the fpu abi to hard since it's the only thing we can use
until we get proper multilib support. It builds but misses an FDT.
2014-11-01 01:18:40 +01:00
François Revol 74f2b62e3c ARM: Mention an interesting page about floating point
There are so many options on ARM...
2014-11-01 01:09:21 +01:00
François Revol 960598d4c3 norflash: Fix warning 2014-10-31 16:28:49 +01:00
François Revol 88d51506d0 Move ARM device tree files to an arch-specific subfolder
FDT are also used on PPC at least, and at least skeleton.dtsi
might clash since there is a different one for PPC.
2014-10-31 16:28:48 +01:00
François Revol 7c5dfbad75 bootman: Fix warnings
warning: label alone on a line without a colon might be in error

Doesn't change the produced binary.
2014-10-29 12:52:41 +01:00
François Revol 74a14969ec bootman: fix warning
macro `SECTION' exists, but not taking 0 parameters
2014-10-29 12:52:41 +01:00
François Revol cf3c703b7a Typo 2014-10-29 11:55:32 +01:00
François Revol 35181a4d7a libuuid: Update package to fix the pkg-config file 2014-10-28 22:04:26 +01:00
François Revol 8c668f744f Force unsigned constants to avoid narrowing conversion warnings
Hopefully this will fix the gcc4 build.
2014-10-28 02:46:59 +01:00
François Revol 11b807eaf7 Fix warnings 2014-10-28 02:36:25 +01:00
François Revol cfedac792a Add lzip package 2014-10-28 00:53:02 +01:00
François Revol 3e7c1005ef Add MIME type for LZip archive files 2014-10-27 23:49:33 +01:00
François Revol ebc6d4d0b0 Add an icon for LZIP archive files 2014-10-27 23:49:31 +01:00
François Revol 1b1f0fbee1 Add packages for libuuid 2014-10-23 19:45:36 +02:00
François Revol 66b9a96b18 typo 2014-08-31 02:06:37 +02:00
François Revol 19dad39ba8 pc_serial: mention my oxfordsemi 2 ports card and specs 2014-08-30 00:20:30 +02:00
François Revol 61b007a076 serial_mouse: fix string length 2014-08-29 20:30:56 +02:00
François Revol 821075b6ce serial_mouse: also check for "pc_serial#" ports
... since that's what we publish now.
Maybe we should just use the BeOS names instead.
2014-08-29 20:11:38 +02:00
François Revol 5e90a2a9c6 serial_mouse: fix debug build 2014-08-29 18:51:53 +02:00
François Revol 2cc9735a8f serial_mouse: fix build
Looks like some header changed name...
2014-08-29 18:05:07 +02:00
François Revol 4a1a879556 re-add serial_mouse input_server addon to the build
Whether it hangs input_server is not a reason to remove
it from the build anyway.
2014-08-29 17:59:03 +02:00
François Revol 039f88d807 pc_serial: more NULL checks 2014-08-29 17:09:01 +02:00
François Revol 8ee781bf7b pc_serial: fix gcc4 warnings (hopefully) 2014-08-29 16:58:08 +02:00
François Revol 474174f6f3 pc_serial: add to haiku package. It's working \o/ 2014-08-29 15:21:44 +02:00
François Revol a9ccc3a5ec pc_serial: mask THRE again when we're out of data 2014-08-29 15:21:43 +02:00
François Revol b6708d7c47 pc_serial: wait for writes to complete on a sem
This avoids close being called too early and discarding output.
2014-08-29 15:21:42 +02:00
François Revol 6e7189d9b2 pc_serial: toggle THRE in IER to make VirtualBox happy
Not sure it's needed on real hardware yet.
2014-08-29 15:21:42 +02:00
François Revol e9bbba8b84 pc_serial: cache IER and temporarily mask IRQs until dpc done
No need to be flooded by IRQs while filling in the FIFO...
2014-08-29 15:21:10 +02:00
François Revol 9ab497059d pc_serial: apply lcr parameters even when unmasking latch reg
No need to change line params even more if it was already the same before.
2014-08-29 15:21:08 +02:00
François Revol 02f6c664cc pc_serial: try to enable 64 byte FIFO
We should probably detect the UART type properly first,
but the IRQ handler also checks for the available FIFO length anyway.
2014-08-29 12:30:20 +02:00
François Revol efbc894614 pc_serial: skip waiting for pending DPC in free hook
Since it's possible to fail queuing them, the count doesn't go down to 0,
and the process just hangs forever on exit. It might not be necessary anyway.
2014-08-29 12:30:19 +02:00
François Revol aa05d85ca6 pc_serial: break instead of continue in irq handler
We don't want to busy loop, do we?
2014-08-29 12:27:52 +02:00
François Revol f71a01ad56 pc_serial: add a termios member to store config across open cycles 2014-08-29 12:27:51 +02:00
François Revol ddee8aa960 pc_serial: invoke scheduler when queuing DPC
We really want this to be done ASAP...
2014-08-29 12:27:51 +02:00
François Revol c5c041a5ba pc_serial: fix KDL on close
It's working \o/
Just need to figure out why it waits for \n to transmit.

We now only destroy the cookies in the free hook.

Mention pending DPC as soon as when inside the irq handler.

Also limit the number of loops in the IRQ handler to avoid busy looping.
It only happened when testing with normal priority but you never know...
2014-08-29 12:27:51 +02:00
François Revol 7b97fd6dd8 pc_serial: use the tty module directly from the deferred IRQ
It still crashes on close sometimes but writing seems to work.
2014-08-29 12:27:50 +02:00
François Revol a5d33e1ab1 pc_serial: try to skip the port used for kernel debugging output
Not that easy to handle all cases correctly,
but should work for the default case.
2014-08-29 12:27:50 +02:00
François Revol 1a6072a0a1 pc_serial: manually probe the default ISA ports
Since config_manager is basically a stub, and even VirtualBox
doesn't publish the serial ports as PCI devices, we must probe for them.

Ideally config_manager would find them in the device manager tree
which would have been populated from the PnP BIOS or even ACPI tables...
2014-08-29 12:27:49 +02:00
François Revol 7e613b4759 pc_serial: convert irq handler to use DPC
Let's hope we won't loose data because it.

We have to cache the value of IIR read from IsInterruptPending(),
because some conditions are acknowledged only by reading it...
2014-08-29 12:27:49 +02:00
François Revol c6870d53dc pc_serial: WIP: kinda supports writes through tty module
It's still not fully working, and the tty module doesn't help
since it's not callable from an irq handler.
2014-08-29 12:27:49 +02:00
François Revol d78faaaf70 pc_serial: replace contiguous area by arrays as buffers
We don't need to DMA unlike usb_serial.
2014-08-20 02:40:09 +02:00
François Revol 5925b1badc pc_serial: Remove read and write lock
As with hrev42089 for usb_serial.
2014-08-20 00:20:57 +02:00
François Revol ab325d984f pc_serial: Drop BeOS stuff
Even I don't use it anymore...
2014-08-17 01:47:00 +02:00
François Revol 2ab4db4781 pc_serial: Use two tty cookies 2014-08-17 01:46:53 +02:00
François Revol c8b6d087f3 pc_serial: This one really is B31250 2014-08-17 00:41:12 +02:00
François Revol 8e03cf4b31 pc_serial: Fix TTYSETRTS
Same fix as hrev42151 for usb_serial:
When determining the bit to be set for RTS/DTR there was a missing comparison
to op which would've caused a wrong line state to be set.
2014-08-17 00:20:55 +02:00
François Revol 13b28a29b8 Add mpd package 2014-08-16 01:43:45 +02:00
François Revol f0f22a195e Add taglib x86 packages 2014-08-16 01:03:10 +02:00
François Revol 529af6e138 fluidsynth: Update package with fixed PROVIDES 2014-08-15 18:53:23 +02:00
François Revol fa6ae8076a Add faad2 packages 2014-08-15 17:36:22 +02:00
François Revol 6c881c9125 Add fluidsynth packages 2014-08-15 17:01:13 +02:00