Vladimir 'phcoder' Serbinenko
|
df3df23d5c
|
Reorganise memory map handling
|
2010-09-04 17:10:10 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
069c9c5fda
|
merge mainline into intwrap
|
2010-08-29 23:21:21 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
afba9f98ec
|
MErge mainline into intwrap
|
2010-08-25 23:39:42 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
16bd6cfab2
|
Merge mainline into newreloc. For now without boot tests
|
2010-08-25 03:25:18 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
ec1d04f1de
|
Yeeloong firmware port.
* boot/mips/yeeloong/fwstart.S: New file.
* bus/cs5536.c (gpiodump): New const.
(set_io_space): New function.
(set_iod): Likewise.
(set_p2d): Likewise.
(grub_cs5536_init_geode): Likewise.
* commands/mips/yeeloong/lsspd.c: New file.
* conf/mips-qemu-mips.rmk (pkglib_MODULES): Add serial.mod.
(serial_mod_SOURCES): New variable.
(serial_mod_CFLAGS): Likewise.
(serial_mod_LDFLAGS): Likewise.
* conf/mips-yeeloong.rmk (kernel_img_SOURCES): Add term/serial.c,
term/terminfo.c and term/tparm.c.
(pkglib_IMAGES): Add fwstart.img.
(fwstart_img_SOURCES): New variable.
(fwstart_img_CFLAGS): Likewise.
(fwstart_img_ASFLAGS): Likewise.
(fwstart_img_LDFLAGS): Likewise.
(fwstart_img_FORMAT): Likewise.
(pkglib_MODULES): Add lsspd.mod.
(lsspd_mod_SOURCES): New variable.
(lsspd_mod_CFLAGS): Likewise.
(lsspd_mod_LDFLAGS): Likewise.
(pkglib_MODULES): Add halt.mod.
(halt_mod_SOURCES): New variable.
(halt_mod_CFLAGS): Likewise.
(halt_mod_LDFLAGS): Likewise.
* conf/mips.rmk (pkglib_MODULES): Remove serial.mod.
(serial_mod_SOURCES): Removed.
(serial_mod_CFLAGS): Likewise.
(serial_mod_LDFLAGS): Likewise.
* disk/ata.c (check_device): New function.
(grub_ata_device_initialize): Use check_device.
(grub_ata_iterate): Recheck devices.
(grub_ata_open): Likewise.
(grub_atapi_iterate): Likewise.
(grub_atapi_open): Likewise.
* include/grub/ata.h (GRUB_ATA_CH0_PORT1): New macro.
(GRUB_ATA_CH1_PORT1): Likewise.
(GRUB_ATA_CH0_PORT2): Likewise.
(GRUB_ATA_CH1_PORT2): Likewise.
* include/grub/mips/loongson.h: New file.
* include/grub/mips/yeeloong/ec.h: Likewise.
* include/grub/mips/yeeloong/serial.h (GRUB_MACHINE_SERIAL_PORT): New definition.
(GRUB_MACHINE_SERIAL_DIVISOR_115200): Likewise.
(GRUB_MACHINE_SERIAL_PORTS) [ASM_FILE]: Remove.
* include/grub/misc.h (grub_halt): Declare as noreturn.
* include/grub/serial.h (UART_ENABLE_FIFO): Renamed to ...
(UART_ENABLE_FIFO_TRIGGER14): ... this. All users updated.
(UART_ENABLE_FIFO_TRIGGER1): New definition.
(UART_ENABLE_DTRRTS): Likewise.
(UART_ENABLE_MODEM): Removed.
(UART_ENABLE_OUT2): New const.
* include/grub/term.h (grub_term_register_input_active): New function.
(grub_term_register_output_active): Likewise.
* kern/mips/startup.S [GRUB_MACHINE_MIPS_YEELOONG]: Handle 0xffffffff
argument.
* kern/mips/yeeloong/init.c (grub_get_rtc): Macroify.
(init_pci): New function.
(grub_machine_init): Execute platform init when firmware. Init serial.
(grub_halt): Implement.
(grub_exit): Likewise.
(grub_reboot): Likewise.
* term/serial.c (serial_hw_init): Update macros.
[GRUB_MACHINE_MIPS_YEELOONG]: Init on startup.
* util/grub-mkimage.c (image_target_desc): New id IMAGE_YEELOONG_FLASH.
(image_targets): New target mipsel-yeeloong-flash.
(generate_image): Support IMAGE_YEELOONG_FLASH.
* video/sm712.c (GRUB_SM712_TOTAL_MEMORY_SPACE): New definition.
(grub_video_sm712_setup): Init card.
(grub_video_sm712_set_palette): Removed.
* video/sm712_init.c: New file.
|
2010-07-01 03:16:56 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
2a1d16154d
|
Merge mainline into newreloc
|
2010-06-24 21:22:40 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
8b1cf5e87f
|
Dedicated DMA allocation functions. CS5536 OHCI support.
|
2010-05-31 13:58:18 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
980d936688
|
Skip ghost USB controllers
|
2010-05-23 00:12:33 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
e34b610d49
|
merge mainline into yeeloongfw
|
2010-05-22 16:58:45 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
ae3c4cd010
|
Remove loader.h
|
2010-04-29 13:26:38 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
6c3d9c2845
|
merge boottest into newreloc
|
2010-04-27 13:34:07 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
8ea6ecb36d
|
Some cleanups
|
2010-04-26 21:11:16 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
a51df0a1b4
|
Adjust mips relocator
|
2010-04-22 02:44:45 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
9130433353
|
Enable USB compilation on Yeeloong
|
2010-04-16 19:46:22 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
3bf09c9ea8
|
rename format from raw to yeeloong_flash
|
2010-04-06 22:23:02 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
781d7798bb
|
Fix interrupt and windows problems
|
2010-04-06 22:12:04 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
04a3792f87
|
Macroify fwstart.S more
|
2010-04-05 22:39:58 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
5dbb0fc055
|
Another round of macrofication
|
2010-03-12 14:08:26 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
f9ef05770a
|
Shutdown and reboot on yeeloong
|
2010-03-12 14:07:33 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
d0c7485824
|
Macroify serial and PCI constants
|
2010-03-11 15:21:06 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
813a5f2d33
|
Init DDR2 controller
|
2010-03-01 18:53:34 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
7517048135
|
Working SPD reading in fwstart.img
|
2010-02-17 21:10:58 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
a1efcc79d3
|
Firmware startup block (for now just output a string on console)
|
2010-02-16 22:41:29 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
d4af2a73dc
|
datetime for yeeloong
|
2009-12-11 22:14:09 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
d114e89ca8
|
Add clock
|
2009-12-09 17:58:48 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
0f355bc6b3
|
add memory routines
|
2009-12-07 16:16:10 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
bde358ac91
|
merged with mainline
|
2009-11-25 23:17:32 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
77546cfd8f
|
Restored missing headers
|
2009-11-09 22:07:57 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
b0979f1191
|
Cleaned up CS5536 ATA compat support
|
2009-11-06 22:50:44 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
811c0d8b5c
|
missing kbd files
|
2009-11-03 00:00:59 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
810d8224cd
|
PCI cleanup
|
2009-11-02 23:42:07 +01:00 |
|
phcoder
|
f0628ef04f
|
additional "machines"
|
2009-10-23 18:21:15 +02:00 |
|
phcoder
|
061282ed11
|
bonito impl. I/O cleanup
|
2009-10-22 17:10:54 +02:00 |
|
phcoder
|
1e4f46c162
|
fixed pci base address
|
2009-10-19 18:08:44 +02:00 |
|
phcoder
|
82b1f15b6b
|
declaration fix
|
2009-10-19 13:06:16 +02:00 |
|
phcoder
|
e145631831
|
pci for yeeloong
|
2009-10-19 13:03:38 +02:00 |
|
phcoder
|
a9a6948ac3
|
grub as flash for qemu-gdium
|
2009-10-18 15:04:14 +02:00 |
|
phcoder
|
1c2cdb26d3
|
yeeloong headers
|
2009-10-18 12:04:20 +02:00 |
|