Skip to content

Instantly share code, notes, and snippets.

@stintel
Created May 6, 2024 20:41
Show Gist options
  • Save stintel/c6b8d728fe6c212a22d1cbbe6feffd8c to your computer and use it in GitHub Desktop.
Save stintel/c6b8d728fe6c212a22d1cbbe6feffd8c to your computer and use it in GitHub Desktop.
IPQ6018# bootipq debug
bootargs=console=ttyMSM0,115200n8 rootfsname=rootfs rootwait rootfsname=rootfs rootwait rootfsname=rootfs rootwait
Booting from flash
SPI_ADDR_LEN=3
SF: Detected MX25U25635F with page size 256 Bytes, erase size 64 KiB, total 32 MiB
Offset exceeds device limit
sf - SPI flash sub-system
Usage:
sf probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus
and chip select
sf read addr offset|partition len - read `len' bytes starting at
`offset' or from start of mtd
`partition'to memory at `addr'
sf write addr offset|partition len - write `len' bytes from memory
at `addr' to flash at `offset'
or to start of mtd `partition'
sf erase offset|partition [+]len - erase `len' bytes from `offset'
or from start of mtd `partition'
`+len' round up `len' to block size
sf update addr offset|partition len - erase and write `len' bytes from memory
at `addr' to flash at `offset'
or to start of mtd `partition'
sf protect lock/unlock sector len - protect/unprotect 'len' bytes starting
at address 'sector'
sf bulkerase - Erase entire flash chip
(Not supported on all devices)
Net: MAC0 addr:90:3c:b3:6a:e5:43
PHY ID1: 0x4d
PHY ID2: 0xd101
EDMA ver 1 hw init
Num rings - TxDesc:1 (0-0) TxCmpl:1 (0-0)
RxDesc:1 (15-15) RxFill:1 (7-7)
ipq6018_edma_alloc_rings: successfull
ipq6018_edma_setup_ring_resources: successfull
ipq6018_edma_configure_rings: successfull
ipq6018_edma_hw_init: successfull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment