aboutsummaryrefslogtreecommitdiffstats
path: root/package
Commit message (Expand)AuthorAgeFilesLines
* move foxboard utils to packages feedJohn Crispin2008-08-051-48/+0
* add uci led supportJohn Crispin2008-08-042-0/+70
* rework workarounds for crypto modules renamed in 2.6.24 & 2.6.25, add workaro...Nicolas Thill2008-08-041-19/+26
* adds a new uci firewallJohn Crispin2008-08-0411-12/+512
* fixes whitespace errorJohn Crispin2008-08-041-1/+0
* work aroung error message during boot if swapon is nt installedJohn Crispin2008-08-041-1/+1
* remove warning from hotplug2, which pops up 10 times during bootJohn Crispin2008-08-041-7/+10
* madwifi: more fixes and cleanups for wds sta separationFelix Fietkau2008-08-032-25/+360
* network scripts: revert the network state after running ifdown, not beforeFelix Fietkau2008-08-031-3/+4
* update ath9k to latest git versionImre Kaloz2008-08-0317-2851/+2716
* make grub compilable under fedora core 8 and other newer distrosFelix Fietkau2008-08-021-0/+2
* [kernel] Fix broken hso kmod definitionAndy Boyett2008-08-021-1/+1
* [kernel] net/usb: only package hso for 2.6.26Andy Boyett2008-08-021-1/+1
* try to clean up some kernel configsTravis Kemen2008-08-021-0/+1
* madwifi: disable bogus vlan handling code which actually breaks vlanFelix Fietkau2008-08-011-0/+25
* OCF cannot be built under UMLFlorian Fainelli2008-08-011-1/+1
* use the same hotplug2 parameters for initramfs and regularFelix Fietkau2008-08-011-7/+2
* move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it w...Felix Fietkau2008-08-012-1/+1
* avoid duplicate vlan add eventsFelix Fietkau2008-08-011-1/+3
* enable wds sta interface splitting by defaultFelix Fietkau2008-08-011-3/+5
* madwifi: remove wds type of wifi-iface without essid, imho it never worked pr...Felix Fietkau2008-08-011-11/+6
* use the madwifi driver instead of wext in the wpa_supplicant command line. th...Felix Fietkau2008-07-311-1/+1
* madwifi: fix race condition triggered by active split wds sta interfaces duri...Felix Fietkau2008-07-311-0/+31
* fix multicast/authframe handling for wds ap with split sta interfacesFelix Fietkau2008-07-312-6/+19
* initialize the CONFIG_APPEND variableFelix Fietkau2008-07-311-0/+1
* madwifi: add some beacon setup/update related fixes (based on Bruno Randolf's...Felix Fietkau2008-07-315-3/+110
* fix madwifi packet injectionFelix Fietkau2008-07-311-0/+34
* madwifi: add 0.9.4 madwifi as a menuconfig option, as requested in some mails...Felix Fietkau2008-07-314-24/+86
* another one ...Felix Fietkau2008-07-311-2/+2
* upgrade to uci 0.4.7 - fixes a stupid regression introduced in 0.4.5Felix Fietkau2008-07-311-2/+2
* sync ath9k with latest git codeImre Kaloz2008-07-3115-2638/+1972
* fix config_clear(), see #3054Felix Fietkau2008-07-311-2/+3
* enable iw for all 2.6 versionsFelix Fietkau2008-07-311-1/+1
* fix duplicate "doth" interface option in madwifiFelix Fietkau2008-07-311-3/+0
* broadcom-diag: reset the interrupt mask of configured leds to avoid spurious ...Felix Fietkau2008-07-311-0/+1
* upgrade to uci 0.4.6 - fixes a parser glitchFelix Fietkau2008-07-311-2/+2
* link default routes added by the network scripts to the appropriate interface...Felix Fietkau2008-07-301-2/+2
* network scripts: properly maintain the network state's list of assigned inter...Felix Fietkau2008-07-301-0/+21
* functions.sh: add list_contains function for checking whether a list contains...Felix Fietkau2008-07-301-0/+9
* functions.sh: add a function for removing an item from a list in a shell vari...Felix Fietkau2008-07-301-0/+14
* upgrade to uci 0.4.5 - adds extra input validationFelix Fietkau2008-07-301-2/+2
* clean up the directory layout of the uci shell apiFelix Fietkau2008-07-302-1/+1
* nuke uci-sh, it is obsolete and no longer worksFelix Fietkau2008-07-304-603/+0
* allow packages to optionally append config file contents in the environment b...Felix Fietkau2008-07-301-3/+5
* fix hotplug2 event processing deadlockFelix Fietkau2008-07-301-0/+135
* creates a passwd's shadow file if busybox supports the feature, fixes #2887John Crispin2008-07-301-0/+1
* adds option to select tls provider when using wpa_supplicant, fixes #3770John Crispin2008-07-302-0/+14
* Disable smash stacking support by default, but allow to enable it as an exper...Florian Fainelli2008-07-301-0/+1
* x86_64 also needs -fPIC to create lua shared librariesFlorian Fainelli2008-07-301-0/+3
* madwifi: add some extra sanity checkingFelix Fietkau2008-07-302-1/+13
n>.qmk printf "{\n \"generated\": \"%s\"\n}" "$$(date)" > $(BUILD_DIR)/$(TARGET).json if [ -f $(KEYBOARD_PATH_5)/info.json ]; then \ jq -s '.[0] * .[1]' $(BUILD_DIR)/$(TARGET).json $(KEYBOARD_PATH_5)/info.json | ex -sc 'wq!$(BUILD_DIR)/$(TARGET).json' /dev/stdin; \ fi if [ -f $(KEYBOARD_PATH_4)/info.json ]; then \ jq -s '.[0] * .[1]' $(BUILD_DIR)/$(TARGET).json $(KEYBOARD_PATH_4)/info.json | ex -sc 'wq!$(BUILD_DIR)/$(TARGET).json' /dev/stdin; \ fi if [ -f $(KEYBOARD_PATH_3)/info.json ]; then \ jq -s '.[0] * .[1]' $(BUILD_DIR)/$(TARGET).json $(KEYBOARD_PATH_3)/info.json | ex -sc 'wq!$(BUILD_DIR)/$(TARGET).json' /dev/stdin; \ fi if [ -f $(KEYBOARD_PATH_2)/info.json ]; then \ jq -s '.[0] * .[1]' $(BUILD_DIR)/$(TARGET).json $(KEYBOARD_PATH_2)/info.json | ex -sc 'wq!$(BUILD_DIR)/$(TARGET).json' /dev/stdin; \ fi if [ -f $(KEYBOARD_PATH_1)/info.json ]; then \ jq -s '.[0] * .[1]' $(BUILD_DIR)/$(TARGET).json $(KEYBOARD_PATH_1)/info.json | ex -sc 'wq!$(BUILD_DIR)/$(TARGET).json' /dev/stdin; \ fi zip $(TARGET).qmk -urj $(BUILD_DIR)/$(TARGET).json printf "@ $(TARGET).json\n@=info.json\n" | zipnote -w $(TARGET).qmk # Program the device. program: $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).eep check-size $(PROGRAM_CMD) teensy: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware $(TEENSY_LOADER_CLI) -mmcu=$(MCU) -w -v $(BUILD_DIR)/$(TARGET).hex BATCHISP ?= batchisp flip: $(BUILD_DIR)/$(TARGET).hex check-size $(BATCHISP) -hardware usb -device $(MCU) -operation erase f $(BATCHISP) -hardware usb -device $(MCU) -operation loadbuffer $(BUILD_DIR)/$(TARGET).hex program $(BATCHISP) -hardware usb -device $(MCU) -operation start reset 0 DFU_PROGRAMMER ?= dfu-programmer GREP ?= grep dfu: $(BUILD_DIR)/$(TARGET).hex cpfirmware check-size until $(DFU_PROGRAMMER) $(MCU) get bootloader-version; do\ echo "Error: Bootloader not found. Trying again in 5s." ;\ sleep 5 ;\ done if $(DFU_PROGRAMMER) --version 2>&1 | $(GREP) -q 0.7 ; then\ $(DFU_PROGRAMMER) $(MCU) erase --force;\ else\ $(DFU_PROGRAMMER) $(MCU) erase;\ fi $(DFU_PROGRAMMER) $(MCU) flash $(BUILD_DIR)/$(TARGET).hex $(DFU_PROGRAMMER) $(MCU) reset dfu-start: $(DFU_PROGRAMMER) $(MCU) reset $(DFU_PROGRAMMER) $(MCU) start flip-ee: $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).eep $(COPY) $(BUILD_DIR)/$(TARGET).eep $(BUILD_DIR)/$(TARGET)eep.hex $(BATCHISP) -hardware usb -device $(MCU) -operation memory EEPROM erase $(BATCHISP) -hardware usb -device $(MCU) -operation memory EEPROM loadbuffer $(BUILD_DIR)/$(TARGET)eep.hex program $(BATCHISP) -hardware usb -device $(MCU) -operation start reset 0 $(REMOVE) $(BUILD_DIR)/$(TARGET)eep.hex dfu-ee: $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).eep if $(DFU_PROGRAMMER) --version 2>&1 | $(GREP) -q 0.7 ; then\ $(DFU_PROGRAMMER) $(MCU) flash --eeprom $(BUILD_DIR)/$(TARGET).eep;\ else\ $(DFU_PROGRAMMER) $(MCU) flash-eeprom $(BUILD_DIR)/$(TARGET).eep;\ fi $(DFU_PROGRAMMER) $(MCU) reset avrdude: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware if $(GREP) -q -s Microsoft /proc/version; then \ echo 'ERROR: AVR flashing cannot be automated within the Windows Subsystem for Linux (WSL) currently. Instead, take the .hex file generated and flash it using AVRDUDE, AVRDUDESS, or XLoader.'; \ else \ printf "Detecting USB port, reset your controller now."; \ ls /dev/tty* > /tmp/1; \ while [ -z $$USB ]; do \ sleep 0.5; \ printf "."; \ ls /dev/tty* > /tmp/2; \ USB=`comm -13 /tmp/1 /tmp/2 | $(GREP) -o '/dev/tty.*'`; \ mv /tmp/2 /tmp/1; \ done; \ echo ""; \ echo "Detected controller on USB port at $$USB"; \ if $(GREP) -q -s 'MINGW\|MSYS' /proc/version; then \ USB=`echo "$$USB" | perl -pne 's/\/dev\/ttyS(\d+)/COM.($$1+1)/e'`; \ echo "Remapped MSYS2 USB port to $$USB"; \ fi; \ sleep 1; \ avrdude -p $(MCU) -c avr109 -P $$USB -U flash:w:$(BUILD_DIR)/$(TARGET).hex; \ fi # Convert hex to bin. bin: $(BUILD_DIR)/$(TARGET).hex $(OBJCOPY) -Iihex -Obinary $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin $(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin; # copy bin to FLASH.bin flashbin: bin $(COPY) $(BUILD_DIR)/$(TARGET).bin FLASH.bin; # Generate avr-gdb config/init file which does the following: # define the reset signal, load the target file, connect to target, and set # a breakpoint at main(). gdb-config: @$(REMOVE) $(GDBINIT_FILE) @echo define reset >> $(GDBINIT_FILE) @echo SIGNAL SIGHUP >> $(GDBINIT_FILE) @echo end >> $(GDBINIT_FILE) @echo file $(BUILD_DIR)/$(TARGET).elf >> $(GDBINIT_FILE) @echo target remote $(DEBUG_HOST):$(DEBUG_PORT) >> $(GDBINIT_FILE) ifeq ($(DEBUG_BACKEND),simulavr) @echo load >> $(GDBINIT_FILE) endif @echo break main >> $(GDBINIT_FILE) debug: gdb-config $(BUILD_DIR)/$(TARGET).elf ifeq ($(DEBUG_BACKEND), avarice) @echo Starting AVaRICE - Press enter when "waiting to connect" message displays. @$(WINSHELL) /c start avarice --jtag $(JTAG_DEV) --erase --program --file \ $(BUILD_DIR)/$(TARGET).elf $(DEBUG_HOST):$(DEBUG_PORT) @$(WINSHELL) /c pause else @$(WINSHELL) /c start simulavr --gdbserver --device $(MCU) --clock-freq \ $(DEBUG_MFREQ) --port $(DEBUG_PORT) endif @$(WINSHELL) /c start avr-$(DEBUG_UI) --command=$(GDBINIT_FILE) # Convert ELF to COFF for use in debugging / simulating in AVR Studio or VMLAB. COFFCONVERT = $(OBJCOPY) --debugging COFFCONVERT += --change-section-address .data-0x800000 COFFCONVERT += --change-section-address .bss-0x800000 COFFCONVERT += --change-section-address .noinit-0x800000 COFFCONVERT += --change-section-address .eeprom-0x810000 coff: $(BUILD_DIR)/$(TARGET).elf @$(SECHO) $(MSG_COFF) $(BUILD_DIR)/$(TARGET).cof $(COFFCONVERT) -O coff-avr $< $(BUILD_DIR)/$(TARGET).cof extcoff: $(BUILD_DIR)/$(TARGET).elf @$(SECHO) $(MSG_EXTENDED_COFF) $(BUILD_DIR)/$(TARGET).cof $(COFFCONVERT) -O coff-ext-avr $< $(BUILD_DIR)/$(TARGET).cof bootloader: make -C lib/lufa/Bootloaders/DFU/ clean echo -e "#ifndef QMK_KEYBOARD\n#define QMK_KEYBOARD\n" > lib/lufa/Bootloaders/DFU/Keyboard.h echo -e `$(GREP) "MANUFACTURER" $(ALL_CONFIGS) -h | tail -1` >> lib/lufa/Bootloaders/DFU/Keyboard.h echo -e `$(GREP) "PRODUCT" $(ALL_CONFIGS) -h | tail -1` Bootloader >> lib/lufa/Bootloaders/DFU/Keyboard.h echo -e `$(GREP) "QMK_ESC_OUTPUT" $(ALL_CONFIGS) -h | tail -1` >> lib/lufa/Bootloaders/DFU/Keyboard.h echo -e `$(GREP) "QMK_ESC_INPUT" $(ALL_CONFIGS) -h | tail -1` >> lib/lufa/Bootloaders/DFU/Keyboard.h echo -e `$(GREP) "QMK_LED" $(ALL_CONFIGS) -h | tail -1` >> lib/lufa/Bootloaders/DFU/Keyboard.h echo -e `$(GREP) "QMK_SPEAKER" $(ALL_CONFIGS) -h | tail -1` >> lib/lufa/Bootloaders/DFU/Keyboard.h echo -e "\n#endif" >> lib/lufa/Bootloaders/DFU/Keyboard.h make -C lib/lufa/Bootloaders/DFU/ echo -e "BootloaderDFU.hex copied to $(TARGET)_bootloader.hex" cp lib/lufa/Bootloaders/DFU/BootloaderDFU.hex $(TARGET)_bootloader.hex production: $(BUILD_DIR)/$(TARGET).hex bootloader cpfirmware @cat $(BUILD_DIR)/$(TARGET).hex | awk '/^:00000001FF/ == 0' > $(TARGET)_production.hex @cat $(TARGET)_bootloader.hex >> $(TARGET)_production.hex echo "File sizes:" $(SIZE) $(TARGET).hex $(TARGET)_bootloader.hex $(TARGET)_production.hex