public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dragan Simic <dsimic@manjaro.org>
To: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Cc: "Kever Yang" <kever.yang@rock-chips.com>,
	"Quentin Schulz" <foss+uboot@0leil.net>,
	"Simon Glass" <sjg@chromium.org>,
	"Philipp Tomsich" <philipp.tomsich@vrull.eu>,
	"Tom Rini" <trini@konsulko.com>,
	"Jagan Teki" <jagan@amarulasolutions.com>,
	"Klaus Goger" <klaus.goger@theobroma-systems.com>,
	"Heiko Stuebner" <heiko.stuebner@cherry.de>,
	洪慧斌 <hhb@rock-chips.com>,
	heiko@sntech.de, u-boot@lists.denx.de
Subject: Re: [PATCH 13/18] rockchip: rk3588: fix non-working SD controller if booting from other media
Date: Fri, 26 Jan 2024 12:33:59 +0100	[thread overview]
Message-ID: <cd2927612a52bf88b7a2b2c937ccd62f@manjaro.org> (raw)
In-Reply-To: <31404375-a811-459c-b9d6-87333550954a@theobroma-systems.com>

On 2024-01-26 12:29, Quentin Schulz wrote:
> On 1/26/24 12:24, Dragan Simic wrote:
>> On 2024-01-26 12:09, Quentin Schulz wrote:
>>> On 1/26/24 12:04, Dragan Simic wrote:
>>>> On 2024-01-26 11:37, Quentin Schulz wrote:
>>>>> On 1/26/24 03:57, Kever Yang wrote:
>>>>>> On 2024/1/25 19:02, Quentin Schulz wrote:
>>>>>>> We don't have a dedicated CD pin for the SD card connector.
>>>>>>> https://www.digikey.com/en/products/detail/molex/0472192001/3044807
>>>>>>> is the SD card connector we use.
>>>>>> 
>>>>>> Thanks for your information, but I think you are using the wrong
>>>>>> microSD connector for rk3588 and maybe also for other rockchip 
>>>>>> SoCs.
>>>>>> Here are four microSD card connector from the web you provide, all
>>>>>> of
>>>>>> them have card detect signal available for pcb:
>>>>>> https://www.digikey.com/en/product-highlight/m/molex-connector/sd-memory-card-connectors
>>>>> 
>>>>> None of those fit our requirements. We need a safe system that
>>>>> doesn't
>>>>> break because of vibrations or shocks. Push-pull connectors are out
>>>>> of
>>>>> question for our design. We have had issues with our Q7 devkit with
>>>>> push-pull connector with SD cards slightly smaller or inserted
>>>>> somewhat the wrong way. I can recall also countless of discussions 
>>>>> in
>>>>> the early days of the Raspberry Pis where there were a lot of 
>>>>> issues
>>>>> related to SD cards.
>>>>> 
>>>>> This is basically the mechanism we are using
>>>>> https://media.distrelec.com/Web/WebShopImages/landscape_large/4-/01/Molex-500901-0801-30161714-01.jpg
>>>> 
>>>> Please, allow me to interject...  I'm really curious why don't you
>>>> use eMMC chips instead of microSD cards?  I mean, if the reliability
>>>> is of utmost importance, I wouldn't even consider microSD cards, not
>>>> even the high-endurance variants.
>>> 
>>> We have both :)
>> 
>> Ah, I see. :)  Perhaps my question wasn't precise enough;  actually,
>> now I'd like to know what do you use as the primary storage for the
>> operating system installation -- eMMC chip or microSD cards?  Is the
>> eMMC chip soldered?  I'm just curious. :)
>> 
> Soldered eMMC is the primary (expected) storage. If both eMMC and SD
> card are inserted and properly flashed, it'll boot from eMMC except if
> the BIOS button is pressed, in which case SD card will be selected
> instead. If SD card is missing/improperly flashed, it'll boot into USB
> flashing mode (rkdeveloptool/rockusb) if the BIOS button is pressed
> (similar to when no storage media is properly flashed).

Thanks for the clarification.  Just one more question, please:  is the
BIOS button handled in software (i.e. in U-Boot), or does it disable the
eMMC chip by shorting its clock or a data line to ground?

  reply	other threads:[~2024-01-26 11:34 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-23 14:49 [PATCH 00/18] rockchip: add support for Theobroma JAGUAR SBC-RK3588-AMR Quentin Schulz
2024-01-23 14:49 ` [PATCH 01/18] rockchip: rk3588: use mainline pmu-grf compatible Quentin Schulz
2024-02-01  2:47   ` Kever Yang
2024-02-02  4:25   ` Weizhao Ouyang
2024-01-23 14:49 ` [PATCH 02/18] rockchip: rk3588: sync rk3588s dtsi from v6.8-rc1 Quentin Schulz
2024-02-01  2:47   ` Kever Yang
2024-01-23 14:49 ` [PATCH 03/18] rockchip: avoid out-of-bounds when computing cpuid Quentin Schulz
2024-02-01  2:48   ` Kever Yang
2024-01-23 14:49 ` [PATCH 04/18] rockchip: add weak function symbol called at the beginning of misc_init_r Quentin Schulz
2024-02-01  2:48   ` Kever Yang
2024-02-03 13:16   ` Dragan Simic
2024-01-23 14:49 ` [PATCH 05/18] rockchip: google: gru: migrate to rockchip_early_misc_init_r Quentin Schulz
2024-02-01  2:48   ` Kever Yang
2024-01-23 14:49 ` [PATCH 06/18] rockchip: pine64: pinebook: " Quentin Schulz
2024-02-01  2:48   ` Kever Yang
2024-02-01  4:02     ` Dragan Simic
2024-02-01 17:46       ` Quentin Schulz
2024-02-01 17:56         ` Dragan Simic
2024-02-03 13:18       ` Dragan Simic
2024-01-23 14:49 ` [PATCH 07/18] rockchip: pine64: pinephone: " Quentin Schulz
2024-02-01  2:48   ` Kever Yang
2024-02-03 13:18   ` Dragan Simic
2024-01-23 14:49 ` [PATCH 08/18] rockchip: pine64: rockpro64: " Quentin Schulz
2024-02-01  2:48   ` Kever Yang
2024-02-03 13:19   ` Dragan Simic
2024-02-03 14:18     ` Jonas Karlman
2024-02-03 15:18       ` Dragan Simic
2024-02-04  4:21         ` Dragan Simic
2024-02-04  9:46           ` Jonas Karlman
2024-02-04 10:39             ` Dragan Simic
2024-02-06 12:26               ` Quentin Schulz
2024-02-06 12:33                 ` Dragan Simic
2024-02-06 12:37                   ` Quentin Schulz
2024-02-06 12:42                     ` Dragan Simic
2024-01-23 14:49 ` [PATCH 09/18] rockchip: theobroma-systems: puma: " Quentin Schulz
2024-02-01  2:49   ` Kever Yang
2024-01-23 14:49 ` [PATCH 10/18] rockchip: theobroma-systems: ringneck: " Quentin Schulz
2024-02-01  2:49   ` Kever Yang
2024-01-23 14:49 ` [PATCH 11/18] rockchip: merge misc.c into board.c Quentin Schulz
2024-02-01  2:49   ` Kever Yang
2024-01-23 14:49 ` [PATCH 12/18] rockchip: transform rockchip_capsule_update_board_setup into a weak function symbol Quentin Schulz
2024-02-01  2:49   ` Kever Yang
2024-01-23 14:49 ` [PATCH 13/18] rockchip: rk3588: fix non-working SD controller if booting from other media Quentin Schulz
2024-01-24 10:19   ` Kever Yang
2024-01-24 10:50     ` Quentin Schulz
2024-01-25 10:29       ` Kever Yang
2024-01-25 11:02         ` Quentin Schulz
2024-01-26  2:57           ` Kever Yang
2024-01-26 10:37             ` Quentin Schulz
2024-01-26 11:04               ` Dragan Simic
2024-01-26 11:09                 ` Quentin Schulz
2024-01-26 11:24                   ` Dragan Simic
2024-01-26 11:29                     ` Quentin Schulz
2024-01-26 11:33                       ` Dragan Simic [this message]
2024-01-26 13:46                         ` Quentin Schulz
2024-01-26 19:42                           ` Dragan Simic
2024-01-23 14:49 ` [PATCH 14/18] rockchip: rk3588: add constants for some register address spaces Quentin Schulz
2024-02-01  2:58   ` Kever Yang
2024-01-23 14:49 ` [PATCH 15/18] rockchip: migrate hardware.h inclusion into appropriate files Quentin Schulz
2024-01-24 10:46   ` Kever Yang
2024-01-24 11:12     ` Quentin Schulz
2024-01-29  9:55       ` Kever Yang
2024-01-23 14:49 ` [PATCH 16/18] rockchip: include asm/io.h directly in asm/arch-rockchip/hardware.h Quentin Schulz
2024-02-01  2:59   ` Kever Yang
2024-01-23 14:49 ` [PATCH 17/18] rockchip: rk3588: bind MMC controllers in U-Boot proper pre-reloc Quentin Schulz
2024-01-24 10:35   ` Kever Yang
2024-01-24 11:04     ` Quentin Schulz
2024-01-26  8:58       ` Kever Yang
2024-01-26  9:32         ` Quentin Schulz
2024-01-26 10:56           ` Kever Yang
2024-01-26 16:18             ` Quentin Schulz
2024-01-29 10:35               ` Kever Yang
2024-01-31 17:55                 ` Quentin Schulz
2024-02-01  2:43                   ` Kever Yang
2024-01-23 14:49 ` [PATCH 18/18] board: rockchip: add Theobroma-Systems RK3588 Jaguar SBC Quentin Schulz
2024-01-23 18:04   ` Quentin Schulz
2024-02-01  2:46   ` Kever Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cd2927612a52bf88b7a2b2c937ccd62f@manjaro.org \
    --to=dsimic@manjaro.org \
    --cc=foss+uboot@0leil.net \
    --cc=heiko.stuebner@cherry.de \
    --cc=heiko@sntech.de \
    --cc=hhb@rock-chips.com \
    --cc=jagan@amarulasolutions.com \
    --cc=kever.yang@rock-chips.com \
    --cc=klaus.goger@theobroma-systems.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=quentin.schulz@theobroma-systems.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox