#714 [Docs] rk3288_spi: mainline linux doesn't have flashrom support

Open
opened 3 months ago by swiftgeek · 0 comments

-p host seems to be some chromebook fork [citation needed, what is there on kernel side?]

mainline should use linux_spi or mtdblock, but spidev is not exposed via device tree

UPDATE: it uses mtdblock, /dev/{mtd,mtd0ro,mtdblock0} are available

/dev/mtdblock0 is full 4M

# cat /dev/mtdblock0 | wc -c | awk '{print $1/1024" KiB"}'

Should output 4096 KiB

$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00400000 00001000 "spi2.0"
`-p host` seems to be some chromebook fork [citation needed, what is there on kernel side?] ~~mainline should use `linux_spi` or mtdblock, but spidev is not exposed via device tree~~ UPDATE: it uses mtdblock, /dev/{mtd,mtd0ro,mtdblock0} are available /dev/mtdblock0 is full 4M `# cat /dev/mtdblock0 | wc -c | awk '{print $1/1024" KiB"}'` Should output 4096 KiB $ cat /proc/mtd dev: size erasesize name mtd0: 00400000 00001000 "spi2.0"
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.