-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
risc-v/mpfs: emmcsd: enforce HS SDR mode properly #101
base: master
Are you sure you want to change the base?
Commits on Jan 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 20bc463 - Browse repository at this point
Copy the full SHA 20bc463View commit details -
mm/mempool/mempool_multiple.c: Remove void * arithmetic
Cast substraction arguments to FAR char *, which gives the same result as the gcc extension on the original void * arithmetic. Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for c742d5d - Browse repository at this point
Copy the full SHA c742d5dView commit details -
boards/riscv/mpfs/icicle/configs/standalone: Add a standalone target
- boots from eNVM - uses lim memory for RAM - has console on uart 0 - has procfs enabled - has most of nsh commands enabled Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for 54d6d07 - Browse repository at this point
Copy the full SHA 54d6d07View commit details -
mpfs: i2c: Fix reset and interrupt issues
I2C status register reset value (0xf8) was not handled properly causing unnecessary bus resets. Added critical section to mpfs_i2c_reset() and removed unnecessary interrupt disabling elsewhere.
Configuration menu - View commit details
-
Copy full SHA for 95e7b51 - Browse repository at this point
Copy the full SHA 95e7b51View commit details -
Fix the check workflow for tiiuae repo
- Change git repository urls to point to our tiiuae repos for nuttx & nuttx apps - Remove most of the the build steps, leave just arm-12 and riscv; arm-12 has a build for stm32f7, and riscv for mpfs Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for af79b1f - Browse repository at this point
Copy the full SHA af79b1fView commit details -
Normalize boards/risc-v/esp32c3/esp32c3-devkit/configs/mcuboot_slot_c…
…onfirm/defconfig Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for 4da21c5 - Browse repository at this point
Copy the full SHA 4da21c5View commit details -
arch/risc-v/src/opensbi/Make.defs: Switch opensbi to the nuttx/size o…
…ptimized version in tiiuae repo Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for bd0646f - Browse repository at this point
Copy the full SHA bd0646fView commit details -
[REVERTME] arch/risc-v/src/mpfs/mpfs_ethernet.c: Hack the ethernet dr…
…iver to re-initialize on rx timeout If the interface is UP, and no packets are received in 30s, re-initialize the interface by calling the already implemented mpfs_txtimeout_expiry. This is a temporary workaround for a bug where IF might be UP and working but packets can only be transmitted. Receive side just doesn't work at all. The original bug can be re-produced easily by disconnecting and reconnecting the ethernet cable while the IF is up. Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for 31ffe8a - Browse repository at this point
Copy the full SHA 31ffe8aView commit details -
[HACK] Set SD-card speed to 50MHz
SD-card clock speed is just forced to 50MHz. Note that to be correct, one should first set the SD-card into high-speed mode, but currently NuttX doesn't support this. With our cards, just setting the interface to 50MHz seems to work fine, and it removes the issue with 25MHZ clock causing disturbance on GPS bands. Typically cards which support high-speed mode just work with 50MHz interface clock. This patch should be reverted when the NuttX supports high-speed mode, and we can properly set it. Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for 7a74ad8 - Browse repository at this point
Copy the full SHA 7a74ad8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 257c099 - Browse repository at this point
Copy the full SHA 257c099View commit details -
Fix standalone defconfig for CI
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for b4dde43 - Browse repository at this point
Copy the full SHA b4dde43View commit details -
arch/risc-v/src/mpfs/mpfs_clockconfig.c: Flag out code only used in b…
…ootloader This removes the need to have all the DDR/clock configuration related "LIBERODEFS" flags defined, when not building a standalone/coldboot configuration All of this code is unused when not building with CONFIG_MPFS_BOOTLOADER Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for 73c62dd - Browse repository at this point
Copy the full SHA 73c62ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for b88a9ef - Browse repository at this point
Copy the full SHA b88a9efView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0a0c62 - Browse repository at this point
Copy the full SHA e0a0c62View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd68f85 - Browse repository at this point
Copy the full SHA dd68f85View commit details -
mpfs/emmcsd: [HACK] Set 8-bit data width and DDR HS mode for eMMC
This is not the correct way to do this, but it gives a nice perf. boost
Configuration menu - View commit details
-
Copy full SHA for f1e0380 - Browse repository at this point
Copy the full SHA f1e0380View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c97579 - Browse repository at this point
Copy the full SHA 8c97579View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5539af8 - Browse repository at this point
Copy the full SHA 5539af8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fc7d62 - Browse repository at this point
Copy the full SHA 8fc7d62View commit details -
Configuration menu - View commit details
-
Copy full SHA for df9d0c9 - Browse repository at this point
Copy the full SHA df9d0c9View commit details -
drivers/net/rpmsgdrv.c: Support only TRANSFER commands
All other commands are disabled in send_recv(). Signed-off-by: Jani Paalijarvi <jani.paalijarvi@unikie.com>
Configuration menu - View commit details
-
Copy full SHA for c687b91 - Browse repository at this point
Copy the full SHA c687b91View commit details -
arch/risc-v/src/mpfs/mpfs_ihc.c: Increase RPMSG buffer size
Signed-off-by: Jani Paalijarvi <jani.paalijarvi@unikie.com>
Configuration menu - View commit details
-
Copy full SHA for 2cdb59d - Browse repository at this point
Copy the full SHA 2cdb59dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c104c9 - Browse repository at this point
Copy the full SHA 8c104c9View commit details -
Revert "openamp: don't depend on pen-amp.zip and libmetal.zip in the …
…git mode" This reverts commit fdc1aa6.
Configuration menu - View commit details
-
Copy full SHA for d865823 - Browse repository at this point
Copy the full SHA d865823View commit details -
Revert "rptun: fix rptun don't wait issue when get tx patyload"
This reverts commit 98a9762.
Configuration menu - View commit details
-
Copy full SHA for 88daec5 - Browse repository at this point
Copy the full SHA 88daec5View commit details -
Revert "openamp: update openmap lib version to 2022.10.0"
This reverts commit 7ad4b57.
Configuration menu - View commit details
-
Copy full SHA for c859823 - Browse repository at this point
Copy the full SHA c859823View commit details -
arch/arm/src/stm32f7/stm32_i2c.c: Driver cleanup
Remove unnecessary heap allocation by relocating ops inside priv data
Configuration menu - View commit details
-
Copy full SHA for 30bd331 - Browse repository at this point
Copy the full SHA 30bd331View commit details -
Revert "rpmsg_socket: release tx buffer when send_oncopy failed"
This reverts commit c0735f0. rpsg_release_tx_buffer only exists in the newer openamp. Revert this when taking the new openamp into use
Configuration menu - View commit details
-
Copy full SHA for 911724b - Browse repository at this point
Copy the full SHA 911724bView commit details
Commits on Jan 19, 2023
-
arch/risc-v/src/mpfs/mpfs_fpga_canfd.c: Fix CONFIG_DEBUG_CAN_INFO ifd…
…ef and forward declare devif_loopback Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for f2d0dfd - Browse repository at this point
Copy the full SHA f2d0dfdView commit details -
boards/risc-v/mpfs/icicle/configs/canfd/defconfig: Normalize
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for 5d0a419 - Browse repository at this point
Copy the full SHA 5d0a419View commit details -
arch/mpfs: Make selection of SBI boot or direct boot run-time configu…
…rable Allow bootloader to select run-time whether the payload binary is booted with SBI or directly by jumping to entrypoint address. - Use just one bitmask to select sbi or direct boot for each hart - Add mpfs_set_use_sbi function to allow selecting how to boot - Initialize the bitmask by default according to the configuration flags - Add a header file for including the function prototypes in bootloader code Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for 5e44d38 - Browse repository at this point
Copy the full SHA 5e44d38View commit details -
remove devif_loopback in canfd driver since it is now devif_poll func…
… that takes care of the need for loopback
Configuration menu - View commit details
-
Copy full SHA for 5668467 - Browse repository at this point
Copy the full SHA 5668467View commit details
Commits on Jan 28, 2023
-
arch/arm/src/stm32f7/stm32_i2c.c: Round up stm32_i2c_toticks return v…
…alue When sending small number of bytes with larger CONFIG_USEC_PER_TICK this function should return at least 1. Solve this by rounding up the result. Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for fe6f687 - Browse repository at this point
Copy the full SHA fe6f687View commit details
Commits on Jan 30, 2023
-
Merge pull request #85 from tiiuae/canfd_driver_net_fix
Remove devif_loopback in canfd driver
Configuration menu - View commit details
-
Copy full SHA for 2d76d75 - Browse repository at this point
Copy the full SHA 2d76d75View commit details
Commits on Jan 31, 2023
-
include/nuttx/clock.h: Change ?SEC2TICK macros to round up and fix nx…
…style errors Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for 6649979 - Browse repository at this point
Copy the full SHA 6649979View commit details -
Revert "arch/arm/src/stm32f7/stm32_i2c.c: Round up stm32_i2c_toticks …
…return value" This reverts commit fe6f687.
Configuration menu - View commit details
-
Copy full SHA for 0eefd7d - Browse repository at this point
Copy the full SHA 0eefd7dView commit details -
arch/arm/src/lc823450/lc823450_i2c.c: Remove extra rounding after MSE…
…C2TIC change to round up Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for a39ad65 - Browse repository at this point
Copy the full SHA a39ad65View commit details
Commits on Feb 3, 2023
-
arch/risc-v/src/mpfs/mpfs_ihc.c: Minor fixes
Remove unnecessary VQID shifting (16 -> 0). Give an error if RPTUN init fails.
Configuration menu - View commit details
-
Copy full SHA for 2e662df - Browse repository at this point
Copy the full SHA 2e662dfView commit details -
Remove MPFS_IHC_LINUX_ON_HART4 from default configurations
Enable LINUX_ON_HART4 in rpmsg-ch2 defconfig of ICICLE board. Remove LINUX_ON_HART4 config from rpmsg-ch1 defconfig of ICICLE board.
Configuration menu - View commit details
-
Copy full SHA for 209536f - Browse repository at this point
Copy the full SHA 209536fView commit details -
arch/arm/src/stm32f7/stm32_ethernet.c: Fix "unused variable" warning
Fix build warning when CONFIG_STM32F7_AUTONEG is not set Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for 57ee2a0 - Browse repository at this point
Copy the full SHA 57ee2a0View commit details
Commits on Feb 9, 2023
-
arch/risc-v/src/mpfs/mpfs_userspace.c: Map MTIME into userspace reser…
…ved IO area in protected build Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for eadc4fa - Browse repository at this point
Copy the full SHA eadc4faView commit details
Commits on Feb 10, 2023
-
boards/risc-v/mpfs/icicle: Add USRIO area for userspace IO mappings
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for 19b23e1 - Browse repository at this point
Copy the full SHA 19b23e1View commit details
Commits on Feb 13, 2023
-
Add mpfs crypto driver into nuttx build
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for 6f9d1f9 - Browse repository at this point
Copy the full SHA 6f9d1f9View commit details
Commits on Feb 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 50840af - Browse repository at this point
Copy the full SHA 50840afView commit details
Commits on Feb 17, 2023
-
risc-v/mpfs: add athena irq defines
Add the Athena cryptographic microprocessor irq defines. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
Configuration menu - View commit details
-
Copy full SHA for a0fea26 - Browse repository at this point
Copy the full SHA a0fea26View commit details -
mpfs/mpfs_mm_init: Add the MTIME user mapping for kernel mode as well
Just a temporary patch, need to implement some kind of scalable solution for this. It might be a good idea to map something else for the user to avoid using ecall to enter the kernel for simple reads ? Also, increase the L3 table size
Configuration menu - View commit details
-
Copy full SHA for b7da916 - Browse repository at this point
Copy the full SHA b7da916View commit details
Commits on Feb 20, 2023
-
arch/risc-v/src/mpfs/Kconfig: Fix sourcing crypto/Kconfig
The path was wrong, also enable the "if MPFS_CRYPTO" flag Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for 1a6a106 - Browse repository at this point
Copy the full SHA 1a6a106View commit details
Commits on Feb 23, 2023
-
Revert "arch/risc-v/src/mpfs/Kconfig: Fix sourcing crypto/Kconfig"
This reverts commit 1a6a106.
Configuration menu - View commit details
-
Copy full SHA for 765bb98 - Browse repository at this point
Copy the full SHA 765bb98View commit details -
arch/risc-v/src/mpfs/Kconfig: Don't source crypto/Kconfig
There is no make step executed for this directory before the Kconfigure, so all Kconfig's just need to be in-tree Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for 8c6ecf3 - Browse repository at this point
Copy the full SHA 8c6ecf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3164886 - Browse repository at this point
Copy the full SHA 3164886View commit details
Commits on Mar 1, 2023
-
clear spi int before the transfer starts
In spi_irq handler the data is written into txfifo and transfer is started before the TXDONE interrupt is cleared. If the bus/memory access is in some cases delayed, the spi transfer may have been finished already before the interrupt register is cleaned for the transfer. This leads the early arrived interrupt to be just removed and never handled, which would cause a timeout error. This patch moves the clearing of the interrupt to the place before the tx is started, so the interrupt is not missed in above cases.
Configuration menu - View commit details
-
Copy full SHA for 21f75b9 - Browse repository at this point
Copy the full SHA 21f75b9View commit details
Commits on Mar 2, 2023
-
clear i2c ints before the transfer starts
If transfer is restarted in irq handler the interrupts shall be cleared before the start bit is set in control register. This is to avoid ints being accidentally cleared before they are handled leading to timeout error.
Configuration menu - View commit details
-
Copy full SHA for 4230525 - Browse repository at this point
Copy the full SHA 4230525View commit details
Commits on Mar 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b4e94fb - Browse repository at this point
Copy the full SHA b4e94fbView commit details
Commits on Mar 9, 2023
-
Revert "Revert "rpmsg_socket: release tx buffer when send_oncopy fail…
…ed"" This reverts commit 911724b.
Configuration menu - View commit details
-
Copy full SHA for 1c71686 - Browse repository at this point
Copy the full SHA 1c71686View commit details -
Revert "Revert "openamp: update openmap lib version to 2022.10.0""
This reverts commit c859823.
Configuration menu - View commit details
-
Copy full SHA for 4ad6d42 - Browse repository at this point
Copy the full SHA 4ad6d42View commit details -
Revert "Revert "rptun: fix rptun don't wait issue when get tx patyload""
This reverts commit 88daec5.
Configuration menu - View commit details
-
Copy full SHA for 2e57589 - Browse repository at this point
Copy the full SHA 2e57589View commit details -
Revert "Revert "openamp: don't depend on pen-amp.zip and libmetal.zip…
… in the git mode"" This reverts commit d865823.
Configuration menu - View commit details
-
Copy full SHA for 4bb7c69 - Browse repository at this point
Copy the full SHA 4bb7c69View commit details
Commits on Mar 10, 2023
-
arch/riscv/src/mpfs/mpfs_ethernet.c: discard err rxframe in int work
Workaround to avoid deadlock situation: The RX shall not try to wait for complete frame in case there is RX errors detected. In case mpfs_receive is called, it keeps waiting for complete frame and also keeps the net_lock locked. In the mean while, the TX may run out of free descriptors, but can not get net_lock mutex lock to be able to release used descriptors. If there are no free TX descs it disables RX interrupts because it may require to send response to the received frame. So, TX side keeps RX interrupts disabled due to lack of free descriptors and RX blocks TX to release those descs by stubbornly waiting for complete frame.
Configuration menu - View commit details
-
Copy full SHA for eb088b6 - Browse repository at this point
Copy the full SHA eb088b6View commit details
Commits on Mar 17, 2023
-
arch/risc-v/src/mpfs/crypto.defs: Update to include mpfs_systemservice.c
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for 52b3d8d - Browse repository at this point
Copy the full SHA 52b3d8dView commit details
Commits on Apr 3, 2023
-
arch/risc-v/src/mpfs: Generate an unique locally administrated MAC ad…
…dress Add a function to read PolarFire's serial number from system controller, and use the first five digits as device's mac address Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Configuration menu - View commit details
-
Copy full SHA for add02c2 - Browse repository at this point
Copy the full SHA add02c2View commit details
Commits on Apr 14, 2023
-
risc-v/mpfs: emmcsd: enforce HS SDR mode properly
Previously, address 0x03b70000u was written with shift bits that only changed the bit width, not the mode. Enforce HS SDR mode (50 MHz) for now. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
Configuration menu - View commit details
-
Copy full SHA for 6ac72a7 - Browse repository at this point
Copy the full SHA 6ac72a7View commit details