Commit Graph

34 Commits

Author SHA1 Message Date
Sergey
e8572fdfd7 Delete file hx8357.h.
Use the same device for all TFT LCD drivers.
Only one such driver can be configured in the kernel.
2015-10-10 16:48:32 -07:00
Serge Vakulenko
b99fcc6c8c Use GPANEL_CLEAR ioctl to switch the display orientation.
Enable gpio driver for Picadillo board.
2015-10-08 14:01:49 -07:00
Serge Vakulenko
21c5beb7a6 Driver hx8357 enhanced to support gpanel ioctls. 2015-10-06 18:46:01 -07:00
Serge Vakulenko
9831ddd3a8 Add gpanel library. 2015-10-06 13:15:39 -07:00
Serge Vakulenko
776dee30ea Merge branch 'master' of https://github.com/RetroBSD/retrobsd 2015-10-03 14:26:29 -07:00
Serge Vakulenko
023f848428 New kernel option: signal "BUTTON1".
Hold this button pressed at kernel startup to enter a single-user mode.
See fubarino Config for example.
2015-10-03 14:24:17 -07:00
Serge Vakulenko
3e439df5a2 Simplify spi_setup() function parameters. 2015-09-30 13:03:12 -07:00
Serge Vakulenko
c4cc4bc397 Fix bug in SD driver: incorrect size of partition. 2015-09-27 23:49:30 -07:00
Serge Vakulenko
5cb608d7e1 Rename other disk drivers which needed rdisk.
Delete device names from all the drivers.
Move device inslude files from include/sys to include/machine directory.
Only include files which have something useful for user layer
(like special ioctls codes) should be placed into sys.
2015-09-26 23:00:13 -07:00
Serge Vakulenko
3073e9af87 Modify SD driver for direct i/o (no rdisk). 2015-09-26 21:46:11 -07:00
Serge Vakulenko
80ab2d4721 Simplify the SPI driver. 2015-09-20 22:01:19 -07:00
Serge Vakulenko
9c749994c1 Setup only UARTs, defined in the kernel config file.
For console initialization, use options CONS_MAJOR and CONS_MINOR.
2015-09-19 21:23:07 -07:00
Serge Vakulenko
bf92da35b8 Fix crash on access to gpio device. 2015-09-18 23:49:44 -07:00
Serge Vakulenko
c6360fb676 Use ioconf.c for device configuration. 2015-09-14 20:28:31 -07:00
Serge Vakulenko
3b1e8d40d7 Fix build errors. 2015-09-13 02:21:03 -07:00
Serge Vakulenko
0087168ba6 Add missing file /.profile.
Simplify stty utility, remove unused options.
2015-09-13 01:59:42 -07:00
Serge Vakulenko
94c02410e4 Kconfig: rename machine to architecture, ident to board.
Make timezone and maxusers parameters optional.

Enable kernel options UCB_METER, EXEC_AOUT, EXEC_ELF and EXEC_SCRIPT
by default.
2015-09-03 12:51:56 -07:00
Serge Vakulenko
585773955b Fix include paths in the kernel sources.
Max32 kernel successfully compiled with kconfig utility.
2015-08-31 00:21:41 -07:00
Serge Vakulenko
9d39282ae9 All paths moved to path.h.
Cleanup in curses.h: removed reg definition.
All include files reformatted for 4-space indent.
2015-06-24 20:57:08 -07:00
Serge Vakulenko
d1f1e614f0 Kernel sources reformated with 4 space indent, no tabs.
Unused file include/trace.h deleted.
2015-06-23 19:00:24 -07:00
Serge Vakulenko
880e6639ac All manual pages added to manifest file. 2015-06-22 22:44:18 -07:00
Sergey
bca590d42b Fixed issue #44.
Removed unnesessary include <sys/types.h> from stdio.h, stdlib.h,
string.h, strings.h and time.h.
2015-06-21 18:59:02 -07:00
Sergey
e08e51f1b9 Use permanent allocation of major indexes for character devices. 2015-05-30 18:28:22 -07:00
Sergey
a234dfc7dc Uart driver: on close, wait for output queue to drain. 2015-05-30 16:56:03 -07:00
Serge Vakulenko
4e8398cbc9 Driver oc renamed to pwm. 2015-05-29 20:41:26 -07:00
Serge Vakulenko
b3442f28f3 Finalize skel.h. 2015-02-05 19:12:50 -08:00
Serge Vakulenko
9b9f6392dc Added a skeleton for character driver. 2015-02-05 19:05:59 -08:00
Serge Vakulenko
f5bbefc222 Fixed indenting in devsw.c. 2015-02-05 18:13:17 -08:00
Matt Jenkins
9adca14b87 Added hx8357 TFT driver for PICadillo 2014-08-30 21:17:16 +01:00
Matt Jenkins
83a999be0a Added definitions for picadillo, and spi sram device 2014-08-27 23:13:26 +01:00
Sergey
b238afb5b9 Fixed bug in stracesecmp left from a previous patch.
Also, a minor issue resolved in proc.h.
2014-05-07 22:33:45 -07:00
Serge Vakulenko
3a38f291a7 Merged kernel support for ELF executable format from karolina.lindqvist.
Now kernel can directly run executables generated by gcc.
2014-04-23 21:43:09 -07:00
Matt Jenkins
e3e3146c38 Added extra SPI transfer mode IOCTLs - IM 2014-04-19 10:01:26 +01:00
Matt Jenkins
895f96d2f7 Initial Import from SVN 2014-04-09 14:27:18 +01:00