Hi Matt,
seems this commit has broken at least BeagleBone Black booting process. On
all revisions after it the kernel panics with this message:
http://dl.bakulin.de/bbb_panic.txt
My suspicion is that there are quite a few new SYSINIT objects that are
created on startup, and as a result some kind o
Author: kibab
Date: Tue May 22 16:32:34 2018
New Revision: 334059
URL: https://svnweb.freebsd.org/changeset/base/334059
Log:
Fix MMCCAM scanning for new cards.
r326645 used an incorrect argument for xpt_path_inq().
Reviewed by: imp (mentor)
Differential Revision:https://revi
Author: kibab
Date: Tue May 22 22:16:49 2018
New Revision: 334065
URL: https://svnweb.freebsd.org/changeset/base/334065
Log:
Implement initial MMC partitions support for MMCCAM.
For MMC cards, add partitions found on the card as separate disk(9) devices.
Don't do anything with RPMB partit
Author: kibab
Date: Fri May 25 19:00:28 2018
New Revision: 334218
URL: https://svnweb.freebsd.org/changeset/base/334218
Log:
Fix building GENERIC-MMCCAM on arm64
Since GENERIC includes quite a few drivers now, all MMC drivers should have
appropriate MMCCAM-related ifdefs and include opt_m
Author: kibab
Date: Tue Jun 5 11:03:24 2018
New Revision: 334651
URL: https://svnweb.freebsd.org/changeset/base/334651
Log:
Enable high-speed on the card before increasing frequency on the controller
Increasing operating frequency without telling card to switch
to high-speed mode first u
Author: kibab
Date: Tue Jun 19 11:23:48 2018
New Revision: 335365
URL: https://svnweb.freebsd.org/changeset/base/335365
Log:
Set MMC_DATA_MULTI flag when doing multi-block transfers
Lower layers (MMC / SDHCI controller drivers) may make certain decisions
based on the presence of this flag
Author: kibab
Date: Tue Jun 19 11:25:40 2018
New Revision: 335366
URL: https://svnweb.freebsd.org/changeset/base/335366
Log:
Correctly define rawscr so initializing it doesn't result in overwriting
memory.
We need 8 bytes of storage for rawscr.
Approved by: imp (mentor)
Differentia
Author: kibab
Date: Tue Jun 19 11:28:50 2018
New Revision: 335367
URL: https://svnweb.freebsd.org/changeset/base/335367
Log:
Don't try to turn power down MMC bus if it is already down
Regulator framework doens't like turning off already turned off
regulators, so we get panic on AllWinner
Author: kibab
Date: Tue Jun 19 20:02:03 2018
New Revision: 335384
URL: https://svnweb.freebsd.org/changeset/base/335384
Log:
Fix setting RCA for MMC cards
Unlike SD cards, that publish RCA in response to CMD3,
MMC cards expect the host to set RCA itself.
Since we don't support multip
Author: kibab
Date: Thu Jun 21 11:49:21 2018
New Revision: 335476
URL: https://svnweb.freebsd.org/changeset/base/335476
Log:
Add MMCCAM support to AllWinner MMC driver
Using MMCCAM on AllWinner boards is now possible, reaching highest
possible data transfer speed.
For now, MMCCAM doe
Author: kibab
Date: Wed Oct 30 20:43:27 2019
New Revision: 354206
URL: https://svnweb.freebsd.org/changeset/base/354206
Log:
Use the new cam_sim_alloc_dev function to properly initialize SIM
Using cam_sim_alloc_dev() allows to properly set sim_dev field so that
sdiob(4) can attach to the
adapter becomes a
bus (like, something that has children) and without this change the kernel
panics when trying to attach sdiob(4).
On Thu, Oct 31, 2019 at 1:51 PM Emmanuel Vadot
wrote:
> On Wed, 30 Oct 2019 20:43:27 +0000 (UTC)
> Ilya Bakulin wrote:
>
> > Author: kibab
> > Da
Author: kibab
Date: Mon Apr 1 18:54:15 2019
New Revision: 345776
URL: https://svnweb.freebsd.org/changeset/base/345776
Log:
Refactor error handling
There is some code duplication in error handling paths in a few functions.
Create a function for printing such errors in human-readable way
Author: kibab
Date: Mon Apr 1 18:49:39 2019
New Revision: 345775
URL: https://svnweb.freebsd.org/changeset/base/345775
Log:
Use information about max data size that the controller is able to operate
Using DFLTPHYS/MAXPHYS is not always OK, instead make it possible for the
controller driv
Author: kibab
Date: Wed Apr 10 19:49:35 2019
New Revision: 346097
URL: https://svnweb.freebsd.org/changeset/base/346097
Log:
Add new fields to mmc_data in preparation to SDIO CMD53 block mode support
SDIO command CMD53 (IO_RW_EXTENDED) allows data transfers using blocks of
1-2048 bytes,
Author: kibab
Date: Wed Apr 10 19:53:36 2019
New Revision: 346098
URL: https://svnweb.freebsd.org/changeset/base/346098
Log:
Implement CMD53 block mode support for SDHCI and AllWinner-based boards
If a custom block size requested, use it, otherwise revert to the previous
logic
of using j
Author: kibab
Date: Wed Apr 10 20:44:54 2019
New Revision: 346100
URL: https://svnweb.freebsd.org/changeset/base/346100
Log:
Add some CMD53-related definitions
In preparation to adding block mode functions, add necessary definitions.
Reviewed by: bz
Approved by: imp (mentor)
Diff
Author: kibab
Date: Fri Jul 24 21:14:59 2020
New Revision: 363497
URL: https://svnweb.freebsd.org/changeset/base/363497
Log:
Make it possible to get/set MMC frequency from camcontrol
Enhance camcontrol(8) so that it's possible to manually set frequency for
SD/MMC cards.
While here, displ
Author: kibab
Date: Tue Aug 4 21:58:43 2020
New Revision: 363870
URL: https://svnweb.freebsd.org/changeset/base/363870
Log:
Minor cleanups in mmc_xpt.c
* Downgrade some CAM debug messages from _INFO to _DEBUG level;
* Add KASSERT for the case when we suspect incorrect CAM SIM initializ
Author: kibab
Date: Fri Oct 30 18:55:08 2020
New Revision: 367180
URL: https://svnweb.freebsd.org/changeset/base/367180
Log:
Add help messages for camcontrol(8) MMCCAM functionality
This adds the help messages for camcontrol(8) in-binary help.
Man page will follow in the separate change.
Author: kibab
Date: Tue Nov 3 21:38:59 2020
New Revision: 367306
URL: https://svnweb.freebsd.org/changeset/base/367306
Log:
Always return MMC errors from mmc_handle_reply()
There are two ways to propagate the error in MMCCAM:
* Using cmd.error which is set by the peripheral driver;
*
Author: kibab
Date: Mon Apr 1 18:49:39 2019
New Revision: 345775
URL: https://svnweb.freebsd.org/changeset/base/345775
Log:
Use information about max data size that the controller is able to operate
Using DFLTPHYS/MAXPHYS is not always OK, instead make it possible for the
controller driv
Author: kibab
Date: Mon Apr 1 18:54:15 2019
New Revision: 345776
URL: https://svnweb.freebsd.org/changeset/base/345776
Log:
Refactor error handling
There is some code duplication in error handling paths in a few functions.
Create a function for printing such errors in human-readable way
Author: kibab
Date: Wed Apr 10 19:49:35 2019
New Revision: 346097
URL: https://svnweb.freebsd.org/changeset/base/346097
Log:
Add new fields to mmc_data in preparation to SDIO CMD53 block mode support
SDIO command CMD53 (IO_RW_EXTENDED) allows data transfers using blocks of
1-2048 bytes,
Author: kibab
Date: Wed Apr 10 19:53:36 2019
New Revision: 346098
URL: https://svnweb.freebsd.org/changeset/base/346098
Log:
Implement CMD53 block mode support for SDHCI and AllWinner-based boards
If a custom block size requested, use it, otherwise revert to the previous
logic
of using j
Author: kibab
Date: Wed Apr 10 20:44:54 2019
New Revision: 346100
URL: https://svnweb.freebsd.org/changeset/base/346100
Log:
Add some CMD53-related definitions
In preparation to adding block mode functions, add necessary definitions.
Reviewed by: bz
Approved by: imp (mentor)
Diff
This broke build for at least ARM.
Fix:
diff --git a/libexec/tftpd/tests/functional.c
b/libexec/tftpd/tests/functional.c
index fea6870cac59..c467dfee3ba0 100644
--- a/libexec/tftpd/tests/functional.c
+++ b/libexec/tftpd/tests/functional.c
@@ -248,10 +248,10 @@ require_bufeq(const char *expected, ss
el="Konstantin Belousov\n...@freebsd.org\n2006/06/03"]
+kibab [label="Ilya Bakulin\nki...@freebsd.org\n2017/09/02"]
kmacy [label="Kip Macy\nkm...@freebsd.org\n2005/06/01"]
kp [label="Kristof Provost\n...@freebsd.org\n2015/03/22"]
landonf [label="Landon Fulle
Author: kibab
Date: Mon Sep 11 19:07:42 2017
New Revision: 323458
URL: https://svnweb.freebsd.org/changeset/base/323458
Log:
Add MMCCAM-enabled kernel config for arm64
Approved by: imp (mentor)
Differential Revision:https://reviews.freebsd.org/D12114
Added:
head/sys/arm64/conf
Author: kibab
Date: Wed Sep 13 10:56:02 2017
New Revision: 323532
URL: https://svnweb.freebsd.org/changeset/base/323532
Log:
Add MMCCAM-enabled kernel config for IMX6, reduce debug noice in MMCCAM
kernels
CAM_DEBUG_TRACE results in way too much debug output than needed now.
When debuggin
Author: kibab
Date: Fri Sep 15 19:47:44 2017
New Revision: 323619
URL: https://svnweb.freebsd.org/changeset/base/323619
Log:
Miscellaneous fixes and improvements to MMCCAM stack
* Demote the level of several debug messages to CAM_DEBUG_TRACE
* Add detection for SDHC cards that can do 1.
=
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/usr.bin/sdiotool/cam_sdio.cMon Sep 18 20:01:01 2017
(r323717)
@@ -0,0 +1,440 @@
+/*-
+ * Copyright (c) 2017 Ilya Bakulin
+ * All rights reserved.
+ *
+ * Redistribution and use in source and
Author: kibab
Date: Mon Sep 18 20:17:08 2017
New Revision: 323721
URL: https://svnweb.freebsd.org/changeset/base/323721
Log:
Add kern.features flag for MMCCAM
kern.features.mmcam will be present and equal to 1 if the kernel has been
compiled with option MMCCAM.
This will help sdio-relat
Author: kibab
Date: Sun Sep 24 09:05:35 2017
New Revision: 323966
URL: https://svnweb.freebsd.org/changeset/base/323966
Log:
Rename sdhci_cam_start_slot() into sdhci_start_slot()
This change allows to just call sdhci_start_slot() in SDHCI drivers
and not to think about which stack handles
e: forward declaration of 'struct rt2870_txwi'
sizeof(struct rt2870_txwi)), rt2860_rates[ridx].rate, qid);
^
@/dev/usb/usb_debug.h:41:21: note: expanded from macro 'DPRINTFN'
__FUNCTION__ ,##__VA_ARGS__); \
35 matches
Mail list logo