- 30 Jun, 2015 6 commits
-
-
Adam Wujek authored
Done as a part of work to move hal to shm in wrs. Done in this commit: --use wrpc_get_port_state instead of halexp_get_port_state --make wrpc_get_port_state fill hal_port_state structure in the way how HAL fills shmem. --update lib/net.c to use struct hal_port_state instead of hexp_port_state_t --update monitor/monitor_ppsi.c to use struct hal_port_state instead of hexp_port_state_t --update ppsi to get needed changes Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Files needed to get rid of halexp_get_port_state. Done during process of moving HAL to shm in wrs. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
It is not used anymore. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Update include/hal_exports.h to latest version Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Grzegorz Daniluk authored
-
- 03 Jun, 2015 1 commit
-
-
Wesley W. Terpstra authored
This is useful for example when using a secondary onewire controller.
-
- 06 Feb, 2015 1 commit
-
-
Wesley W. Terpstra authored
This reverts commit 7e2ee9b4. You can't put a bitstream into the middle of a tiny EEPROM. If you intend to build an sdbfs for a switch, make a new image.
-
- 05 Feb, 2015 1 commit
-
-
Stefan Rauch authored
-
- 09 Jan, 2015 2 commits
-
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
- 08 Jan, 2015 10 commits
-
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
It's a preparation for flash support, as there we cannot update bytes/entries count without erasing entire flash sector.
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
- 06 Jan, 2015 18 commits
-
-
Grzegorz Daniluk authored
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
- copyright header to local conventions - fix a little white space Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
- Turn the copyright header to the local convention - fix a little white space - fix flash_sdb_check (must return error -- but it's unused) Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Theodor-Adrian Stana authored
The optimization is the removal of the retval variable in bbspi_transfer() and using the val parameter as a "shift register" that is returned at the end of the function. Signed-off-by: Theodor Stana <t.stana@cern.ch>
-
Theodor-Adrian Stana authored
How-to guide for the tool (together with flash-write tool) can be found in sdbfs.README. Signed-off-by: Theodor Stana <t.stana@cern.ch> SQUASH remove flash-read binary: 598d cdf68 Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Theodor-Adrian Stana authored
The issue was due to a bug in gpio_in, which was doing an AND with the value of GPIO_SPI_MISO, which was set to the pin offset, instead of what it was set in the include/syscon.h file. When I copied the gpio functions from include/syscon.h, I overlooked the fact that the pins for the gpio functions there are set using wbgen macros that actually perform the shifting, and I simply copied the functions and redefined the GPIO_SPI_MISO macros as offsets. The issue has been fixed by redefining the gpio_in function as an AND with the value (1 << PIN_NR). This fixes everything. Signed-off-by: Theodor Stana <t.stana@cern.ch>
-
Theodor-Adrian Stana authored
Signed-off-by: Theodor Stana <t.stana@cern.ch>
-
Theodor-Adrian Stana authored
For this to work, I also had to add (in flash.c) setting the entry-point to the right value (the one where the SDB magic is detected). The rest of the commit files are just toying around for testing purposes. Signed-off-by: Theodor Stana <t.stana@cern.ch>
-
Theodor-Adrian Stana authored
There was somewhat of a bug in the spec_write_flash function of flash-write. The memcpy function was not functioning 'as expected', so I changed the fixed-size buffer for a pointer and malloc-ed it to the size. This seems to fix the bug. The issue about reading the flash status register has yet to be fixed. Signed-off-by: Theodor Stana <t.stana@cern.ch>
-
Theodor-Adrian Stana authored
Signed-off-by: Theodor Stana <t.stana@cern.ch>
-
Theodor-Adrian Stana authored
The flash-write tool is operational. The call to read status register from flash-host is not working yet, and that is to be solved. In the meantime, there are sleep functions inserted where we're supposed to poll the status register. Signed-off-by: Theodor Stana <t.stana@cern.ch>
-
Theodor-Adrian Stana authored
wrc_main still in test-mode, currently doing a read of the first two sectors (in the purpose of testing flash-write in tools -- see next commit)
-
Theodor-Adrian Stana authored
-
Theodor-Adrian Stana authored
-
Theodor-Adrian Stana authored
-
Grzegorz Daniluk authored
-
- 18 Nov, 2014 1 commit
-
-
Alessandro Rubini authored
-