Throwaway8 commented on PR #10193:
URL: https://github.com/apache/nuttx/pull/10193#issuecomment-1712844065

   @annerajb whats the correct way to build, you flash onto a micro sd card 
with tow boot installed and it should boot? Is there any way to format the 
memory card because just using the basic build commands it doesn't have detect 
a partition table on the memory card
   
    git clone https://github.com/apache/nuttx-apps apps
    cd nuttx/
    ./tools/configure.sh pinephonepro/nsh
    make
    cp nuttx.bin Image
    gzip Image
    
    and the .gz image is what I flash with balena etcher to sd card, seems to 
be latest 
    
    Tow-Boot TPL 2022.07
   Channel 0: LPDDR4, 50MHz
   BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
   Channel 1: LPDDR4, 50MHz
   BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
   256B stride
   lpddr4_set_rate: change freq to 400000000 mhz 0, 1
   lpddr4_set_rate: change freq to 800000000 mhz 1, 0
   Trying to boot from BOOTROM
   Returning to boot ROM...
   
   Tow-Boot SPL 2022.07
   Trying to boot from SPI
   NOTICE:  BL31: v2.6(release):
   NOTICE:  BL31: Built : 00:00:00, Jan  1 1980
   
   
   Tow-Boot 2022.07 006 [variant: spi]
   
   SoC: Rockchip rk3399
   Reset cause: POR
   Model: Pine64 PinePhonePro
   DRAM:  3.9 GiB
   Initializing Pinephone Pro charger
   PMIC:  RK8180 (on=0x40, off=0x08)
   Core:  324 devices, 34 uclasses, devicetree: separate
   MMC:   mmc@fe310000: 3, mmc@fe320000: 1, mmc@fe330000: 0
   Loading Environment from SPIFlash... SF: Detected gd25lq128e with page size 
256 Bytes, erase size 4 KiB, total 16 MiB
   *** Warning - bad CRC, using default environment
   
   In:    serial
   Out:   serial
   Err:   serial
   Model: Pine64 PinePhonePro
   Net:   No ethernet found.
   starting USB...
   Bus usb@fe380000: ehci_generic usb@fe380000: Failed to get clocks (ret=-19)
   Port not available.
   Bus usb@fe3a0000: USB OHCI 1.0
   Bus usb@fe3c0000: ehci_generic usb@fe3c0000: Failed to get clocks (ret=-19)
   Port not available.
   Bus usb@fe3e0000: USB OHCI 1.0
   scanning bus usb@fe3a0000 for devices... 1 USB Device(s) found
   scanning bus usb@fe3e0000 for devices... 1 USB Device(s) found
          scanning usb for storage devices... 0 Storage Device(s) found
   Please press [ESCAPE] or [CTRL+C] to enter the boot menu.
   off
   off
   switch to partitions #0, OK
   mmc0(part 0) is current device
   ** Invalid partition 1 **
   Couldn't find partition mmc 0:1
   switch to partitions #0, OK
   mmc1 is current device
   ** No partition table - mmc 1 **
   Couldn't find partition mmc 1:1
   
   Device 0: unknown device
   No ethernet found.
   missing environment variable: pxeuuid
   Retrieving file: pxelinux.cfg/00000000
   No ethernet found.
   Retrieving file: pxelinux.cfg/0000000
   No ethernet found.
   Retrieving file: pxelinux.cfg/000000
   No ethernet found.
   Retrieving file: pxelinux.cfg/00000
   No ethernet found.
   Retrieving file: pxelinux.cfg/0000
   No ethernet found.
   Retrieving file: pxelinux.cfg/000
   No ethernet found.
   Retrieving file: pxelinux.cfg/00
   No ethernet found.
   Retrieving file: pxelinux.cfg/0
   No ethernet found.
   Retrieving file: pxelinux.cfg/default-arm-rk3399-pinephone-pro-rk3399
   No ethernet found.
   Retrieving file: pxelinux.cfg/default-arm-rk3399
   No ethernet found.
   Retrieving file: pxelinux.cfg/default-arm
   No ethernet found.
   Retrieving file: pxelinux.cfg/default
   No ethernet found.
   Config file not found
   No ethernet found.
   No ethernet found.
   SF: Detected gd25lq128e with page size 256 Bytes, erase size 4 KiB, total 16 
MiB
   device 0 offset 0xffe000, size 0x2000
   SF: 8192 bytes @ 0xffe000 Read: OK
   ## Executing script at 00500000
   Wrong image format for "source" command
   SCRIPT FAILED: continuing...
   
   ERROR: Could not boot anything from distro_bootcmd.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to