SSD for PBP
#71
(10-09-2019, 03:39 PM)z4v4l Wrote: I think, the first thing, that needs to be clarified is distinguishing between the ROM code boot ordering and uboot ordering and therefore - between where uboot could be placed and where OS could. the term "hardcoded" is confusing, basically it makes sense only if it refers to the ROM code, - the only "hardcoded" thing in this chain. its boot ordering is given in the rk3399 manual and I posted it above.

I agree that makes sense, so the Wiki should be re-written.  Although, given conflicting information, I'll wait to give others a chance to post additions and corrections here.

(10-08-2019, 05:45 PM)z4v4l Wrote: Just for clarification. rk3399 ROM code boot order is this:
1. SPI NOR
2. SPI NAND
3. eMMC
4. SD
5. USB OTG*

* - USB is used not as mass storage device interface, so sticks can't be used, but as an interface for remote downloading the payload through a rockchip custom protocol.

The datasheet listing for components only lists SPI NOR.  Is there a SPI NAND installed on the PBP?  If not, then the hardcoded ROM boot order for the PBP is: SPI NOR, eMMC, SD, USB OTG.  Correct?

Currently, the Wiki states "This boot order is different then the default hard-coded boot order of the SoC: SPI, eMMC, USB 2.0, USB 3.0, SD card" which lists USB before SD.

(10-09-2019, 03:39 PM)z4v4l Wrote: it's important to distinguish for everybody to get it (finally). so, you need to have uboot at one of those and only those interfaces to get booting happen. and the order will be that and can't be changed. the next thing is clarifying of what uboot can boot (the OS) from. here, the order is not as important since you can change it, in boot.scr or whatever uboot script/commands. so, the answer from where uboot can boot the OS is those interfaces, that are supported by the provided uboot version. as I understand, it can do USB but can't PCIe. and the orders currently mentioned in the wiki most probably refer to the way uboot scripts/boot commamds are currently configured (however I think it's a mix of that and the ROM code order, because I doubt uboot will search linux on SPI).

So to clarify, in order to work, uboot can only be placed on the devices listed in the above ROM code boot order?

This leads me to believe that "At this time, the boot order for the custom uboot (on eMMC) on the default Debian + MATE build is: SD, USB 2.0, eMMC" means the SPI firmware is flashed to point to uboot on the eMMC.  Is that correct?  Then uboot on the eMMC looks for an OS on the SD, then USB 2.0, then eMMC?


Messages In This Thread
SSD for PBP - by zaius - 07-27-2019, 02:37 PM
RE: SSD for PBP - by zaius - 07-27-2019, 03:43 PM
RE: SSD for PBP - by mynameiscalvin - 07-27-2019, 04:54 PM
RE: SSD for PBP - by zaius - 07-27-2019, 07:13 PM
RE: SSD for PBP - by InsideJob - 07-28-2019, 03:39 AM
RE: SSD for PBP - by lot378 - 07-28-2019, 04:18 AM
RE: SSD for PBP - by InsideJob - 07-28-2019, 05:19 AM
RE: SSD for PBP - by zaius - 07-28-2019, 12:36 PM
RE: SSD for PBP - by binarian - 07-29-2019, 07:08 AM
RE: SSD for PBP - by zaius - 07-29-2019, 01:28 PM
RE: SSD for PBP - by Luke - 07-29-2019, 04:22 PM
RE: SSD for PBP - by zaius - 07-29-2019, 06:37 PM
RE: SSD for PBP - by Luke - 07-29-2019, 06:53 PM
RE: SSD for PBP - by Arwen - 08-03-2019, 02:26 PM
RE: SSD for PBP - by lot378 - 08-04-2019, 01:20 AM
RE: SSD for PBP - by zaius - 08-04-2019, 12:18 PM
RE: SSD for PBP - by lot378 - 08-05-2019, 02:13 PM
RE: SSD for PBP - by thequux - 08-06-2019, 06:35 AM
RE: SSD for PBP - by zaius - 08-06-2019, 01:13 PM
RE: SSD for PBP - by MrTester - 08-06-2019, 02:57 PM
RE: SSD for PBP - by zaius - 08-07-2019, 10:19 AM
RE: SSD for PBP - by MrTester - 08-07-2019, 11:19 AM
RE: SSD for PBP - by User 11436 - 11-02-2019, 03:15 AM
RE: SSD for PBP - by lot378 - 08-06-2019, 09:15 AM
RE: SSD for PBP - by thequux - 08-12-2019, 10:05 AM
RE: SSD for PBP - by chithanh - 08-07-2019, 04:26 AM
RE: SSD for PBP - by multi.flexi - 08-07-2019, 05:43 AM
RE: SSD for PBP - by zaius - 08-24-2019, 10:40 AM
RE: SSD for PBP - by MrTester - 08-07-2019, 09:51 AM
RE: SSD for PBP - by hmuller - 08-07-2019, 10:28 AM
RE: SSD for PBP - by User 12559 - 08-10-2019, 03:36 AM
RE: SSD for PBP - by Dreamwalker - 08-10-2019, 06:53 AM
RE: SSD for PBP - by fire219 - 08-10-2019, 11:50 AM
RE: SSD for PBP - by Dreamwalker - 08-12-2019, 09:32 AM
RE: SSD for PBP - by zaius - 08-12-2019, 01:15 PM
RE: SSD for PBP - by binarian - 08-12-2019, 01:59 PM
RE: SSD for PBP - by zaius - 08-12-2019, 06:44 PM
RE: SSD for PBP - by binarian - 08-13-2019, 07:42 AM
RE: SSD for PBP - by chithanh - 08-13-2019, 02:00 AM
RE: SSD for PBP - by chithanh - 08-28-2019, 09:23 AM
RE: SSD for PBP - by odinson - 09-01-2019, 11:46 AM
RE: SSD for PBP - by Arwen - 09-02-2019, 12:47 PM
RE: SSD for PBP - by chithanh - 09-14-2019, 05:21 PM
RE: SSD for PBP - by zaius - 09-14-2019, 09:29 PM
RE: SSD for PBP - by IAteYourBacon - 09-18-2019, 08:17 PM
RE: SSD for PBP - by Wizzard - 09-19-2019, 12:38 AM
RE: SSD for PBP - by IAteYourBacon - 09-19-2019, 05:58 AM
RE: SSD for PBP/ bootable - by bcnaz - 10-07-2019, 01:47 AM
RE: SSD for PBP - by Luke - 10-07-2019, 06:14 AM
RE: SSD for PBP - by Arwen - 10-07-2019, 02:15 PM
RE: SSD for PBP - by bcnaz - 10-07-2019, 04:50 PM
RE: SSD for PBP - by Luke - 10-07-2019, 05:06 PM
RE: SSD for PBP - by z4v4l - 10-07-2019, 05:43 PM
RE: SSD for PBP - by danielt - 10-08-2019, 02:48 AM
RE: SSD for PBP - by Arwen - 10-07-2019, 07:13 PM
RE: SSD for PBP - by bcnaz - 10-07-2019, 11:23 PM
RE: SSD for PBP - by bcnaz - 10-08-2019, 12:55 PM
RE: SSD for PBP - by Baslow - 10-08-2019, 02:03 PM
RE: SSD for PBP - by danielt - 10-08-2019, 03:03 PM
RE: SSD for PBP - by bcnaz - 10-08-2019, 03:50 PM
RE: SSD for PBP - by danielt - 10-09-2019, 02:35 AM
RE: SSD for PBP - by Arwen - 10-08-2019, 04:57 PM
RE: SSD for PBP - by z4v4l - 10-08-2019, 05:45 PM
RE: SSD for PBP - by bcnaz - 10-08-2019, 05:57 PM
RE: SSD for PBP - by bcnaz - 10-08-2019, 07:54 PM
RE: SSD for PBP - by zaius - 10-08-2019, 10:31 PM
RE: SSD for PBP - by z4v4l - 10-09-2019, 11:46 AM
RE: SSD for PBP - by zaius - 10-09-2019, 02:22 PM
RE: SSD for PBP - by z4v4l - 10-09-2019, 03:39 PM
RE: SSD for PBP - by zaius - 10-10-2019, 12:51 PM
RE: SSD for PBP - by z4v4l - 10-10-2019, 03:11 PM
RE: SSD for PBP - by zaius - 10-11-2019, 11:17 AM
RE: SSD for PBP - by z4v4l - 10-11-2019, 10:33 PM
RE: SSD for PBP - by ayufan - 10-12-2019, 01:27 AM
RE: SSD for PBP - by Arwen - 11-02-2019, 09:16 AM
RE: SSD for PBP - by User 11436 - 11-23-2019, 06:00 AM
RE: SSD for PBP - by tophneal - 11-10-2019, 09:49 AM
RE: SSD for PBP - by zaius - 11-10-2019, 11:33 AM
RE: SSD for PBP - by bcnaz - 11-10-2019, 10:37 AM
SSD for PBP - by tophneal - 11-10-2019, 11:47 AM
RE: SSD for PBP - by zaius - 11-10-2019, 11:53 AM
RE: SSD for PBP - by Arwen - 11-10-2019, 03:08 PM
RE: SSD for PBP - by zaius - 11-10-2019, 04:03 PM
RE: SSD for PBP - by Arwen - 11-10-2019, 04:30 PM
RE: SSD for PBP - by zaius - 11-23-2019, 01:50 PM
RE: SSD for PBP - by tophneal - 11-26-2019, 09:02 AM
RE: SSD for PBP - by User 11436 - 11-26-2019, 10:37 AM
RE: SSD for PBP - by tophneal - 11-26-2019, 10:47 AM
RE: SSD for PBP - by Arwen - 11-26-2019, 03:27 PM
RE: SSD for PBP - by tophneal - 11-26-2019, 03:29 PM
RE: SSD for PBP - by zaius - 12-07-2019, 01:15 PM
RE: SSD for PBP - by Wizzard - 12-04-2019, 01:39 AM
RE: SSD for PBP - by zaius - 12-05-2019, 11:42 AM
SSD for PBP - by tophneal - 12-07-2019, 01:22 PM
RE: SSD for PBP - by zaius - 12-07-2019, 01:29 PM
SSD for PBP - by tophneal - 12-07-2019, 01:32 PM
RE: SSD for PBP - by Arwen - 12-07-2019, 01:40 PM
RE: SSD for PBP - by bbraun - 12-07-2019, 04:47 PM
RE: SSD for PBP - by Arwen - 12-07-2019, 05:09 PM
RE: SSD for PBP - by tophneal - 12-12-2019, 02:39 PM
RE: SSD for PBP - by zaius - 12-13-2019, 02:23 PM
RE: SSD for PBP - by User 11436 - 12-13-2019, 03:08 AM
RE: SSD for PBP - by bcnaz - 12-13-2019, 02:51 PM
RE: SSD for PBP - by tophneal - 12-13-2019, 03:09 PM
RE: SSD for PBP - by bcnaz - 12-13-2019, 03:24 PM
RE: SSD for PBP - by Wizzard - 12-15-2019, 01:11 PM
SSD for PBP - by Wizzard - 12-15-2019, 03:20 PM
RE: SSD for PBP - by bcnaz - 12-15-2019, 09:52 PM
SSD for PBP - by Wizzard - 12-16-2019, 12:50 AM
RE: SSD for PBP - by Arglebargle - 12-17-2019, 08:01 PM
RE: SSD for PBP - by tllim - 12-19-2019, 06:37 PM
RE: SSD for PBP - by zaius - 12-18-2019, 05:15 PM
RE: SSD for PBP - by bcnaz - 12-19-2019, 06:43 PM
RE: SSD for PBP - by Arwen - 12-20-2019, 05:49 AM
RE: SSD for PBP - by Arglebargle - 12-20-2019, 06:49 AM
RE: SSD for PBP - by bcnaz - 12-21-2019, 07:43 PM
RE: SSD for PBP - by Arwen - 12-21-2019, 09:17 PM
RE: SSD for PBP - by Arwen - 12-20-2019, 08:54 PM
RE: SSD for PBP - by bcnaz - 12-22-2019, 06:20 AM
RE: SSD for PBP - by Arwen - 12-22-2019, 12:24 PM
RE: SSD for PBP - by bcnaz - 12-22-2019, 06:52 PM
RE: SSD for PBP - by Arwen - 12-23-2019, 01:57 AM
RE: SSD for PBP - by Arglebargle - 03-21-2020, 12:19 AM
RE: SSD for PBP - by zaius - 12-26-2019, 01:36 PM
RE: SSD for PBP - by Damon - 01-26-2020, 08:59 AM
RE: SSD for PBP - by ab1jx - 02-23-2020, 06:31 PM
RE: SSD for PBP - by Pino64 - 05-22-2020, 08:07 AM
RE: SSD for PBP - by Phillip Bell - 05-23-2020, 06:12 PM
RE: SSD for PBP - by greysuite - 05-24-2020, 06:16 PM
RE: SSD for PBP - by NancyAnderson - 09-17-2020, 06:00 AM

Forum Jump:


Users browsing this thread: 8 Guest(s)