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
|
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
|
4b9fa9d70f
|
Addmissing definitions
|
2010-05-23 00:08:52 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
e34b610d49
|
merge mainline into yeeloongfw
|
2010-05-22 16:58:45 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
8ea6ecb36d
|
Some cleanups
|
2010-04-26 21:11:16 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
962b15b4c1
|
Fill info tables for qemu, sparc and mips
|
2010-04-26 14:42:40 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
2296410ffb
|
initial support for ppc in grub-mkimage (bugs for now)
|
2010-04-25 22:26:29 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
9130433353
|
Enable USB compilation on Yeeloong
|
2010-04-16 19:46:22 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
5d04b11e0e
|
Unify libgcc processing.
* Makefile.in (kernel_img_LDFLAGS): New variable.
* conf/common.rmk (kernel_img_HEADERS): Add libgcc.h.
* conf/i386-coreboot.rmk (kernel_img_LDFLAGS): Append instead of
overwriting.
* conf/i386-ieee1275.rmk (kernel_img_LDFLAGS): Likewise.
* conf/i386-pc.rmk (kernel_img_LDFLAGS): Likewise.
* conf/i386-qemu.rmk (kernel_img_LDFLAGS): Likewise.
* conf/x86-efi.rmk (kernel_img_LDFLAGS): Likewise.
* conf/mips-qemu-mips.rmk (kernel_img_LDFLAGS): Append instead of
overwriting. Remove -lgcc and -static-libgcc
* conf/mips-yeeloong.rmk (kernel_img_LDFLAGS): Likewise.
* conf/mips.rmk (kernel_img_HEADERS): Remove cpu/libgcc.h
* conf/powerpc-ieee1275.rmk (kernel_img_HEADERS): Remove cpu/libgcc.h
(kernel_img_LDFLAGS): Append instead of overwriting.
Remove -lgcc and -static-libgcc
* conf/sparc64-ieee1275.rmk: Likewise.
* include/grub/powerpc/libgcc.h: Move to ...
* include/grub/libgcc.h: .. this.
* include/grub/libgcc.h: Don't export most of the function on x86.
(__bswapsi2): New export.
(__bswapdi2): Likewise.
* include/grub/mips/libgcc.h: Removed.
* include/grub/sparc64/libgcc.h: Likewise.
|
2010-04-11 01:14:31 +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
|
a6132b9f3f
|
Merge mainline into yeeloongfw
|
2010-04-05 17:35:03 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
8c46a785e3
|
mips multiboot2 support
|
2010-04-03 14:14:48 +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
|
edf717f5cb
|
Macroify CP0 registers
|
2010-03-11 13:59:56 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
21eecb8e83
|
Set ROM delay to 1
|
2010-03-11 03:21:10 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
bf8b8ab725
|
Enable caches on yeeloong
|
2010-03-11 02:47:08 +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
|
b66948bd88
|
setjmp on mips
|
2009-12-12 02:33:41 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
d4af2a73dc
|
datetime for yeeloong
|
2009-12-11 22:14:09 +01:00 |
|
Robert Millan
|
febfc12c6e
|
2009-12-10 Robert Millan <rmh.grub@aybabtu.com>
* include/grub/mips/libgcc.h: Only export symbols for functions
that libgcc provides.
|
2009-12-10 22:38:54 +00: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
|
d5b44e501d
|
retrieve firmware arguments
|
2009-12-07 02:09:39 +01:00 |
|
Robert Millan
|
c4282e6cb3
|
Remove mips/reboot.h.
|
2009-12-04 00:05:48 +00:00 |
|
Vladimir 'phcoder' Serbinenko
|
035a008c13
|
Remove leftover
|
2009-12-02 11:44:29 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
7b5f334bc0
|
Rename qemu-r4k to qemu-mips
|
2009-12-02 08:49:36 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
e6b9873356
|
Remove qemu-mipssim
|
2009-12-02 08:40:51 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
3e5c7dc3d8
|
Fix qemu-r4k
|
2009-12-02 08:39:17 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
bde358ac91
|
merged with mainline
|
2009-11-25 23:17:32 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
6abdf8e20d
|
Fix for native miscompilation
|
2009-11-21 17:33:52 +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
|
02602a7002
|
Cleaned __gnu_local_gp handling
|
2009-11-06 17:37:31 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
cc32314161
|
Removed memset declaration
|
2009-11-03 00:05:41 +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
|
270bd79ca7
|
kernel constants updated
|
2009-10-23 18:20:52 +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
|
4a1eefb623
|
Revert "simplify mipsel handling"
This reverts commit 3451c43f4938a20aee5a2c0d0fa17c29e40b989b.
Conflicts:
configure.ac
|
2009-10-18 15:06:47 +02:00 |
|