Uses for SPI Flash
#34
(10-07-2019, 02:52 PM)z4v4l Wrote: Any normal firmware lets you set up the boot order. Suporting NVMHCI in the ROM code would be an overkill, none of mask ROM codes provide such. it's definitely a job for the FW (don't confuse these, what Rockchip provides is not a FW, it's an "engine" for rolling out the FW). And of course, no matter where - UEFI, ARC or OF, support for NVMHCI (or USB mass storage or anything else) should be created to exist.
OF is an obsoleted standard, it doesn't evolve. UEFI does. And it is very extensible, it doesn't require to be GUI (but every self-respected vendor will provide it, since it's a useful feature for users), but also it provides its "shell" (command interpreter), and therefore - scripting capabilities and even has a byte code instruction set for architecture independent drivers. It integrates well with modern configuration standards like ACPI and given its implementation is not bloated AF, it will fit into even a couple of megs. I am not aware of someone working on OF for ARM. Linaro only pulled device trees out of it and brought them into linux, so did uboot following the latter unconditionally, but it's not OF. Any FW could be installed in any place where ROM code can locate it:
  • - SPI
  • - eMMC boot partitions (areas) - if ROM code can load from there
  • - eMMC general purpose area
  • - SD
  • - all kinds of raw NAND devices
(For development purposes, having FW on SD is the best, for end users - obviously on SPI NOR flash chip).
And then, the FW can boot (OS loader->OS) from whatever source it can reach - even from the network (iSCSI, PXE, TFTP). This is how it is on x86 and nothing prevents it to happen on ARM. the current inability to boot the OS from NVMe drives or USB ones is lacking features in uboot.

    ?
For us 'consumer' level users would it be possible to use a sd card to put the correct firmware on the SPI...?
  to make the PCIe device bootable, 
  and then install the operating system using another sd card on the NVMe drive  ?
  (  I think AYUFAN  kind of hinted at this,  in  another post on this thread )  ?
  OF Course that would require the correct programming be written and available to the consumer users.

                 Thanks  !
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team


Messages In This Thread
Uses for SPI Flash - by NoraCodes - 09-29-2019, 10:53 AM
RE: Uses for SPI Flash - by Arwen - 09-29-2019, 11:38 AM
RE: Uses for SPI Flash - by NoraCodes - 09-29-2019, 01:12 PM
RE: Uses for SPI Flash - by Arwen - 09-29-2019, 07:53 PM
RE: Uses for SPI Flash - by kalpazanius - 09-30-2019, 03:28 AM
RE: Uses for SPI Flash - by ayufan - 09-30-2019, 04:47 AM
RE: Uses for SPI Flash - by kalpazanius - 10-01-2019, 06:14 AM
RE: Uses for SPI Flash - by danielt - 10-01-2019, 07:07 AM
RE: Uses for SPI Flash - by enip - 10-08-2019, 06:24 AM
RE: Uses for SPI Flash - by danielt - 10-08-2019, 09:41 AM
RE: Uses for SPI Flash - by kalpazanius - 10-08-2019, 09:53 AM
RE: Uses for SPI Flash - by danielt - 10-08-2019, 10:20 AM
RE: Uses for SPI Flash - by z4v4l - 09-30-2019, 10:25 AM
RE: Uses for SPI Flash - by z4v4l - 09-30-2019, 01:43 PM
RE: Uses for SPI Flash - by danielt - 10-01-2019, 05:42 AM
RE: Uses for SPI Flash - by danielt - 10-01-2019, 08:52 AM
RE: Uses for SPI Flash - by Arwen - 10-02-2019, 05:54 PM
RE: Uses for SPI Flash - by z4v4l - 10-02-2019, 08:30 PM
RE: Uses for SPI Flash - by danielt - 10-03-2019, 03:33 AM
RE: Uses for SPI Flash - by bcnaz - 10-04-2019, 03:02 AM
RE: Uses for SPI Flash - by PakoSt - 10-07-2019, 01:30 PM
RE: Uses for SPI Flash - by Arwen - 10-07-2019, 02:08 PM
RE: Uses for SPI Flash - by z4v4l - 10-07-2019, 02:52 PM
RE: Uses for SPI Flash - by bcnaz - 10-16-2019, 10:01 PM
RE: Uses for SPI Flash - by Arwen - 10-07-2019, 07:28 PM
RE: Uses for SPI Flash - by ayufan - 10-08-2019, 01:34 PM
RE: Uses for SPI Flash - by enip - 10-08-2019, 02:45 PM
RE: Uses for SPI Flash - by tsago - 10-09-2019, 09:51 AM
RE: Uses for SPI Flash - by z4v4l - 10-09-2019, 11:35 AM
RE: Uses for SPI Flash - by tsago - 10-10-2019, 04:48 AM
RE: Uses for SPI Flash - by enip - 10-10-2019, 09:09 AM
RE: Uses for SPI Flash - by z4v4l - 10-16-2019, 11:04 PM
RE: Uses for SPI Flash - by bcnaz - 10-21-2019, 06:29 PM
RE: Uses for SPI Flash - by z4v4l - 10-21-2019, 08:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  No boot after Manjaro flash PBcurry 14 7,397 10-03-2022, 08:33 PM
Last Post: wdt
  U-Boot with direct NVMe boot support for eMMC/SPI Flash pcm720 125 238,460 09-27-2022, 07:41 AM
Last Post: olyavi
  How can I flash SPI so that I can boot from NVMe? codingpanic 5 6,925 08-24-2021, 05:07 AM
Last Post: codingpanic
Question erase spi flash aiminick 1 2,607 04-07-2021, 06:50 AM
Last Post: tophneal
  Booting to sdcard stopped working after emmc flash techiedog 3 4,515 12-31-2020, 06:30 PM
Last Post: Anarethos
  Flash non-bootable eMMC? midnightcheese 2 2,599 12-24-2020, 08:01 AM
Last Post: midnightcheese
  U-Boot on SPI flash - discussion Arwen 20 25,042 09-16-2020, 08:20 AM
Last Post: hmuller
  Am I supposed to flash keyboard firmware and u-boot imgs? superkazuya 4 6,510 09-02-2020, 04:12 AM
Last Post: pfeerick
  How to flash the emmc when it has Chromium on it? U47 3 4,940 07-10-2020, 10:07 AM
Last Post: U47
  emmc image will not flash Uturn 9 13,725 04-04-2020, 07:02 AM
Last Post: jiyong

Forum Jump:


Users browsing this thread: 15 Guest(s)