summaryrefslogtreecommitdiff
path: root/sys/arch/octeon
AgeCommit message (Collapse)Author
2013-06-23Stop using -traditional-cpp on gcc3/4 platforms.Miod Vallat
Add CWARNFLAGS to the command line when using -xassembler-with-cpp. We are mostly interested in -Werror here.
2013-06-13- fix devboot() to properly retrieve octcf0a and add a comment for laterJasper Lievisse Adriaanse
- call boot() so we get to play with the prompt; turns out there's an issue where the first 2-3 readline reads from the uart result in no data...to be investigated.
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
test period; i think 3 years ago the last bugs fell out. ok otto beck others
2013-06-09fix guard; Franco FichtnerTheo de Raadt
2013-06-05remove unused functionJasper Lievisse Adriaanse
2013-06-05add XXX comment for delay_changed, untill we figure out what it actually does.Jasper Lievisse Adriaanse
ok uebayasi@
2013-06-05remove ugly hack we couldn't figure out what it was used for, only that itJasper Lievisse Adriaanse
broke printing characters to the early console. discussed with pirofti@ and uebayasi@ ok uebayasi@
2013-06-05whitespaceJasper Lievisse Adriaanse
2013-06-05- add missing SUBDIRJasper Lievisse Adriaanse
- remove commented and unneeded SRCS
2013-06-05ditch local ld.script and use conf/ld.script instead, and adjust entryJasper Lievisse Adriaanse
point accordingly.
2013-06-05add 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-03more fuse in more places. credit: miodTed Unangst
2013-06-02move octeonreg.h to a more generic location and add multiple inclusionJasper Lievisse Adriaanse
guards while here. ok uebayasi@
2013-06-02remove unneeded octeonreg.h includeJasper Lievisse Adriaanse
2013-06-02- remove double rcs idsJasper Lievisse Adriaanse
2013-06-01remove unused octeon prefetch macros which won't work due to the fact itJasper Lievisse Adriaanse
uses '.set arch=octeon' and as has only gotten support for that after the gplv3 switch. ok uebayasi@
2013-06-01as 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-01as 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 cleanupJasper 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 openbsdJasper Lievisse Adriaanse
- remove some defines intended for backward compat, but that are unused now. ok uebayasi@
2013-06-01add missing license (PD) blockJasper Lievisse Adriaanse
ok guenther@
2013-06-01add GENERIC.MPJasper Lievisse Adriaanse
ok miod@ pirofti@
2013-06-01corectly initialize the number of cores/cpus on the board. this fixes a NULLJasper 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-01remove bogus XXX comment, 32 is just the way it is.Jasper Lievisse Adriaanse
2013-06-01make the way of doing debug printfs genericJasper Lievisse Adriaanse
2013-05-17Add a dummy IPL_MPSAFE definition.Mark Kettenis
ok miod@, mikeb@
2013-04-23Remove a loongson reference.Brian Callahan
ok jasper@
2013-04-12Fix the log messages displayed to the user.Brian Callahan
ok jasper@
2013-04-08allow 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-06allow GENERIC.MP to compile again...just for shits and giggles.Jasper Lievisse Adriaanse
2013-04-05don'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-03fix comment detailing the memory mapJasper Lievisse Adriaanse
from syuu@
2013-04-01Build mips kernels with -G 0, to disable use of so-called `small' data andMiod 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-30reorder include search directories. cuts lookups by quite a bit.Ted Unangst
ok deraadt miod
2013-03-28Add __strong_alias macros for all architectures to be able to aliasMartynas Venckus
another symbol without weak attribute. To be used in libc and libm soon. Agreed by kettenis@, guenther@, matthew@.
2013-03-27fill in cpu_model.Jasper Lievisse Adriaanse
2013-03-26sync TDIRS with realityJasper Lievisse Adriaanse
"looks good" deraadt@
2013-03-26move octcf bits togetherJasper Lievisse Adriaanse
2013-03-26- increase MINIROOTSIZE so a ramdisk can fit.Jasper Lievisse Adriaanse
2013-03-23refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is addedTheo 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-21fix 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-21use boot_info->config_flags to determine if we're running on a host that hasJasper 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-19use __func__ to print the function name, fixes a bunch of pastos along the way.Jasper Lievisse Adriaanse
2013-03-19implement octeon_cpuspeed()Jasper Lievisse Adriaanse
ok yasuoka@
2013-03-19instead of treating boot_info->cf_common_addr special, save the whole of ↵Jasper Lievisse Adriaanse
boot_info for future use. ok yasuoka@
2013-03-15print a dump of structs boot_info/boot_desc which contain useful informationJasper Lievisse Adriaanse
to have in the dmesg, for the time being ok bcallah@ yasuoka@
2013-03-15add some board types which will be used later to identify particular boardsJasper Lievisse Adriaanse
ok yasuoka@