Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-06-05 | - add missing SUBDIR | Jasper Lievisse Adriaanse | |
- remove commented and unneeded SRCS | |||
2013-06-05 | ditch local ld.script and use conf/ld.script instead, and adjust entry | Jasper Lievisse Adriaanse | |
point accordingly. | |||
2013-06-05 | add WIP second stage bootloader for octeon; far from working and contains ↵ | Jasper Lievisse Adriaanse | |
many stubs still. committing it now so I can work on this in tree. | |||
2013-06-03 | more fuse in more places. credit: miod | Ted Unangst | |
2013-06-02 | move octeonreg.h to a more generic location and add multiple inclusion | Jasper Lievisse Adriaanse | |
guards while here. ok uebayasi@ | |||
2013-06-02 | remove unneeded octeonreg.h include | Jasper Lievisse Adriaanse | |
2013-06-02 | - remove double rcs ids | Jasper Lievisse Adriaanse | |
2013-06-01 | remove unused octeon prefetch macros which won't work due to the fact it | Jasper Lievisse Adriaanse | |
uses '.set arch=octeon' and as has only gotten support for that after the gplv3 switch. ok uebayasi@ | |||
2013-06-01 | as discussed with uebayasi@ we should only use the "sync" instruction on octeon, | Jasper Lievisse Adriaanse | |
instead of syncs/syncw etc. so remove the OCTEON_SYNC* macros and use mips_sync() directly. ok uebayasi@ | |||
2013-06-01 | as discussed with uebayasi@ we should only use the "sync" instruction on octeon, | Jasper Lievisse Adriaanse | |
instead of syncs/syncw etc. so remove the OCTEON_SYNC* macros and use mips_sync() directly. ok uebayasi@ | |||
2013-06-01 | - whitespace cleanup | Jasper Lievisse Adriaanse | |
- add a comment explaining how OCTEON_MAXCPUS was derived | |||
2013-06-01 | - remove more backward compat code and switch the callers over to the new ↵ | Jasper Lievisse Adriaanse | |
function ok uebayasi@ | |||
2013-06-01 | - remove an __mips_o32 block which'll never be used on openbsd | Jasper Lievisse Adriaanse | |
- remove some defines intended for backward compat, but that are unused now. ok uebayasi@ | |||
2013-06-01 | add missing license (PD) block | Jasper Lievisse Adriaanse | |
ok guenther@ | |||
2013-06-01 | add GENERIC.MP | Jasper Lievisse Adriaanse | |
ok miod@ pirofti@ | |||
2013-06-01 | corectly initialize the number of cores/cpus on the board. this fixes a NULL | Jasper Lievisse Adriaanse | |
deref in cpuattach() since we advertised only a single CPU, but tried to attach two. with this diff bsd.mp boots up on the ERL. discussed with pirofti@ ok miod@ pirofti@ | |||
2013-06-01 | remove bogus XXX comment, 32 is just the way it is. | Jasper Lievisse Adriaanse | |
2013-06-01 | make the way of doing debug printfs generic | Jasper Lievisse Adriaanse | |
2013-05-17 | Add a dummy IPL_MPSAFE definition. | Mark Kettenis | |
ok miod@, mikeb@ | |||
2013-04-23 | Remove a loongson reference. | Brian Callahan | |
ok jasper@ | |||
2013-04-12 | Fix the log messages displayed to the user. | Brian Callahan | |
ok jasper@ | |||
2013-04-08 | allow octeon to find it's root device, based on the flags passed by U-Boot. ↵ | Jasper Lievisse Adriaanse | |
The ${bootcmd} needs to be something like 'bootoctlinux root=/dev/octcf0'. This will be temporary untill we have proper bootblocks, but for now, this (in combination) with an upcoming installer diff allows my CAM-0100 to autoboot straight of the disk, without having to load the kernel via TFTP. ok bcallah@ yasuoka@ | |||
2013-04-06 | allow GENERIC.MP to compile again...just for shits and giggles. | Jasper Lievisse Adriaanse | |
2013-04-05 | don't hardcode the size of u-boot's argv, but use a define instead. | Jasper Lievisse Adriaanse | |
to be re-used shortly elsewhere.. | |||
2013-04-03 | fix comment detailing the memory map | Jasper Lievisse Adriaanse | |
from syuu@ | |||
2013-04-01 | Build mips kernels with -G 0, to disable use of so-called `small' data and | Miod Vallat | |
bss sections. The current kernel linker script is not gp-friendly enough for that; and while gas 2.15 was not attempting to output gp-relative relocations for variables which might have ended up in .sdata or .sbss, gas 2.17 will, and the kernel will fail to link. To be improved eventually with a better kernel ld script putting the gp-addressable sections close enough to gp... and making sure kernel gp is reloaded in all the userland->kernel code paths which might need gp in the kernel. | |||
2013-03-30 | reorder include search directories. cuts lookups by quite a bit. | Ted Unangst | |
ok deraadt miod | |||
2013-03-28 | Add __strong_alias macros for all architectures to be able to alias | Martynas Venckus | |
another symbol without weak attribute. To be used in libc and libm soon. Agreed by kettenis@, guenther@, matthew@. | |||
2013-03-27 | fill in cpu_model. | Jasper Lievisse Adriaanse | |
2013-03-26 | sync TDIRS with reality | Jasper Lievisse Adriaanse | |
"looks good" deraadt@ | |||
2013-03-26 | move octcf bits together | Jasper Lievisse Adriaanse | |
2013-03-26 | - increase MINIROOTSIZE so a ramdisk can fit. | Jasper Lievisse Adriaanse | |
2013-03-23 | refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is added | Theo de Raadt | |
to keep definitions our of user space. The MD files now follow a consistant order -- all namespace intrusion is at the tail can be cleaned up independently. locore, bootblocks, and libkvm still see enough visibility to build. Checked on 90% of platforms... | |||
2013-03-21 | - remove two now-unused macros. | Jasper Lievisse Adriaanse | |
ok yasuoka@ | |||
2013-03-21 | fix detection of the MAC address by reading it from the correct address, | Jasper Lievisse Adriaanse | |
instead of from a random location which resulted in 00:01:02:etc addresses. confirmed to match up with the MAC addresses linux detects on the ERL; no phy (atphy(4)) attaches still. ok bcallah@ chris@ yasuoka@ | |||
2013-03-21 | use boot_info->config_flags to determine if we're running on a host that has | Jasper Lievisse Adriaanse | |
PCI capabilities, instead of blindly trying to attach pci/pcibus. this fixes a hang on the EdgeRouter Lite (which lacks PCI) and causes no regressions on the CAM-0100 (which does have PCI, tested by bcallah@) ok bcallah@ chris@ | |||
2013-03-21 | - remove an unused variable (octeon_configuration) | Jasper Lievisse Adriaanse | |
- add some flags which will be used to determine the device capabilities which are advertised by uboot. ok bcallah@ chris@ | |||
2013-03-19 | use __func__ to print the function name, fixes a bunch of pastos along the way. | Jasper Lievisse Adriaanse | |
2013-03-19 | implement octeon_cpuspeed() | Jasper Lievisse Adriaanse | |
ok yasuoka@ | |||
2013-03-19 | instead of treating boot_info->cf_common_addr special, save the whole of ↵ | Jasper Lievisse Adriaanse | |
boot_info for future use. ok yasuoka@ | |||
2013-03-15 | print a dump of structs boot_info/boot_desc which contain useful information | Jasper Lievisse Adriaanse | |
to have in the dmesg, for the time being ok bcallah@ yasuoka@ | |||
2013-03-15 | add some board types which will be used later to identify particular boards | Jasper Lievisse Adriaanse | |
ok yasuoka@ | |||
2013-03-15 | save a copy of the address at which the CF bus can be found, and use this in ↵ | Jasper Lievisse Adriaanse | |
octcf(4) for a better probe function which doesn't unconditionally tries to attach octcf(4). this would cause endless faults on the EdgeRouter Lite as it lacks a CF bus. feedback and testing bcallah@ and chris@ ok yasuoka@ | |||
2013-03-13 | Allow octeon to reboot by poking the right address for a soft cpu reset. | Jasper Lievisse Adriaanse | |
No more yanking the powercable when I hit ddb :) also tested by bcallah@ ok bcallah@ chris@ yasuoka@ | |||
2013-02-03 | Let the octeon kernel link properly. | Brian Callahan | |
ok miod@ | |||
2012-12-05 | Remove excessive sys/cdefs.h inclusion | Theo de Raadt | |
ok guenther millert kettenis | |||
2012-11-28 | - Use IF_Gbps(1) instead of IF_Mbps(1000) | Brad Smith | |
- Use IF_Mbps() instead of multiplying the link speed by a bare value - Remove a useless comment as baudrate is already handled properly - Remove some commented out bits of code - Use IF_Mbps() instead of the bare value ok sthen@ | |||
2012-10-08 | Revamp the sequences for suspend/hibernate -> resume so that the code | Theo de Raadt | |
paths are reflexive. It is now possible to fail part-way through a suspend sequence, and recover along the resume code path. Split DVACT_SUSPEND by adding a new DVACT_POWERDOWN method is used after hibernate (and suspend too) to finish the job. Some drivers must be converted at the same time to use this instead of shutdown hooks (the others will follow at a later time) ok kettenis mlarkin | |||
2012-10-03 | Don't include <mips64/archtype.h> when you don't need it. | Miod Vallat | |
2012-10-03 | Split ever-growing mips <machine/cpu.h> into what 99% of the kernel needs, | Miod Vallat | |
which will remain in <machine/cpu.h>, and a new mips_cpu.h containing only the goriest md details, which are only of interest to a handful set of files; this is similar in spirit to what alpha does, but here <machine/cpu.h> does not include the new file. |