diff --git a/ChangeLog b/ChangeLog index 6f8e527..d362de7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,16 @@ +2013-03-14 Niibe Yutaka + + * Version 1.0.3. + * src/usb_desc.c (gnukStringSerial): Updated. + + * tool/stlinkv2.py (stlinkv2.start): Call write_debug_reg to run + the core again. + 2013-03-13 Niibe Yutaka * ChibiOS_2.0.8/os/ports/GCC/ARMCMx/cmsis/core_cm3.c (__STREXB) (__STREXH, __STREXW): Specify R2 to avoid %0 and %2 will be same - register. This is for newer binutils (>= 2.22). + register. This is for newer GNU binutils (>= 2.22). 2013-03-12 Niibe Yutaka diff --git a/NEWS b/NEWS index d0f2b4b..86648e3 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,23 @@ Gnuk NEWS - User visible changes +* Major changes in Gnuk 1.0.3 + + Released 2013-03-14, by NIIBE Yutaka + +** Relocatable reGNUal +The upgrade helper, reGNUal, is now relocatable (other than the first +vector table). It runs well when loaded at different address. This +makes the upgrade procedure more stable. + +** Compilation by newer GNU Toolchain +Now, Gnuk can be compiled with newer GNU Toolchain, specifically GCC +4.7.x and GNU Binutils 2.22. Old versions of Gnuk had problem for +ChibiOS_2.0.8/os/ports/GCC/ARMCMx/cmsis/core_cm3.c, which was fixed. + +** Data object 0x0073 +Data object 0x0073 is now available. + + * Major changes in Gnuk 1.0.2 Released 2013-02-15, by NIIBE Yutaka @@ -36,6 +54,10 @@ Now, VERIFY command accepts empty data and returns remaining trial counts, or 0x9000 (OK) when it's already authenticated. This is useful for application to synchronize card's authentication status. +** Extended Capabilities +Since Gnuk supports GET CHALLENGE command, the flag for GET CHALLENGE +in extended capabilities are now on. + * Major changes in Gnuk 1.0.1 diff --git a/README b/README index ce7a511..6020da3 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ Gnuk - An Implementation of USB Cryptographic Token for GnuPG - Version 1.0.2 - 2013-02-15 + Version 1.0.3 + 2013-03-14 Niibe Yutaka Free Software Initiative of Japan @@ -108,14 +108,19 @@ Ab: That's because gnome-keyring-daemon interferes GnuPG. Type: "GPG Password Agent" and "SSH Key Agent". Qc: Do you know a good SWD debugger to connect FST-01 or something? -Ac: ST-Link/V2 is cheap one. We have a tool/stlinkv2.py as flash ROM - writer program. + +Ac: ST-Link/V2 is cheap one and works, although it's not very good + (for example, we have not yet been able to use OpenOCD to write + option bytes of STM32F103). We have a tool/stlinkv2.py as a flash + ROM writer program. Note that some "Discovery Kit" from ST has + the feature of ST-Link/V2, but it is not as stable as the real + one. Release notes ============= -This is a second minor release in version 1.0 series of Gnuk. +This is a third minor release in version 1.0 series of Gnuk. While it is daily use for a year and a half, some newly introduced features (including key generation and firmware upgrade) should be @@ -174,7 +179,7 @@ disable read from flash. For real use, please consider killing DfuSe and enabling read protection using JTAG debugger. I think that it could run on Olimex STM32-P103, or other boards with -STM32F103. Besides, we are porting it to STM32 Primer 2. +STM32F103. Besides, we did an experiment with STM32 Primer 2. For PIN-pad support, I connect a consumer IR receive module to STBee Mini and STM8S Discovery Kit, and use controller for TV. PIN @@ -338,8 +343,7 @@ Recently, there is "gcc-arm-embedded" project. See: https://launchpad.net/gcc-arm-embedded/ -It is based on GCC 4.6. For version 4.6-2012-q2-update, you'd -need "-O3 -Os" instead of "-O2" and it will be slightly better. +It is based on GCC 4.6 or 4.7. Change directory to `src': @@ -657,7 +661,8 @@ linux/Documentation/usb/usbmon.txt Firmware update =============== -See doc/note/firmware-update. +See doc/note/firmware-update. Note that this is an experimental +feature. Git Repositories diff --git a/src/usb_desc.c b/src/usb_desc.c index 482f9b5..fc06934 100644 --- a/src/usb_desc.c +++ b/src/usb_desc.c @@ -272,9 +272,9 @@ static const uint8_t gnukStringLangID[] = { const uint8_t gnukStringSerial[] = { 19*2+2, /* bLength */ USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */ - /* FSIJ-1.0.1- */ + /* FSIJ-1.0.3- */ 'F', 0, 'S', 0, 'I', 0, 'J', 0, '-', 0, - '1', 0, '.', 0, '0', 0, '.', 0, '2', 0, /* Version number of Gnuk */ + '1', 0, '.', 0, '0', 0, '.', 0, '3', 0, /* Version number of Gnuk */ '-', 0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,