question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

boot hadbadge from flash

See original GitHub issue

While the kernel boots in under 30 seconds, it currently it takes about 2 minutes to load the kernel Image and rootfs.cpio:

lxterm --images=images.json /dev/ttyUSB0 --speed=1e6 --no-crc

Screenshot from 2020-01-30 19-44-10

The badge and cartridge both have:

I want to use the built-in Flash to store the kernel and rootfs rather than load over serial.

I initially was discussing this in #35 but I wanted to start a new issue to decouple this effort from the memory access optimization that @enjoy-digital already completed in enjoy-digital/litedram@721c84b and enjoy-digital/litex@39ce39a

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:43 (43 by maintainers)

github_iconTop GitHub Comments

1reaction
enjoy-digitalcommented, Feb 17, 2020

@pdp7: just for info, i’m looking at that currently on Arty.

0reactions
enjoy-digitalcommented, Jun 23, 2020

Closing since working. Booting linux from flash is a bit hacky since the space is generally a limited and we don’t have a file system, making it difficult to provide a generic solution in LiteX. The hacky initial support has been removed and it’s now recommended to use a SDCard for standalone boot, but we could re-introduce Linux boot from SPI-Flash if there is a real need for it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Greg on Twitter: "@pdp7 Are you still trying to get the FLASH step ...
No need for an external USB->UART anymore! (plus no USB stack needed in the BIOS) ... Are you still trying to get the...
Read more >
litex on 2020-02-23 - irc logs at whitequark.org
So it's really only useful for showing the Linux startup scroll. ... <tpb> Title: linux-on-litex-vexriscv/soc_linux.py at hadbadge-flash ...
Read more >
OrangeCrab: A Formidable Feature-Packed FPGA Feather
128Mbit QSPI flash (with 4Mbit used for bootloader) is free to store the FPGA bitstream, firmware for the SoC (more on that later)...
Read more >
CLK Vandalised!!!!! | Bodywork | MBClub UK - Bringing together ...
First class service!!! PM me if you want. Flash ... I had an Alfa 156 and the boot emblem went missing on a...
Read more >
Eagle Anchor Pin - Etsy Australia
MARINE Mom OR Wife Boot Band Bracelet Eagle Globe Anchor usmc Semper Fi EGA ... Russian modern Navy Officers cockade Crab "Double Eagle"...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found