implement config writes #63

Closed
opened 2020-07-17 09:34:10 +08:00 by sb10q · 4 comments
Owner

We are not using the NOR flash anymore but the SD card because:

  1. the Zynq NOR flash controller is a pain.
  2. NOR flash seems relatively uncommon on Zynq boards, many have a SD card only.

We have a new configuration format based on a FAT filesystem. Currently it is read-only in the runtime.

Also support replacing boot.bin so that firmware can be updated over the network.

We are not using the NOR flash anymore but the SD card because: 1. the Zynq NOR flash controller is a pain. 2. NOR flash seems relatively uncommon on Zynq boards, many have a SD card only. We have a new configuration format based on a FAT filesystem. Currently it is read-only in the runtime. Also support replacing boot.bin so that firmware can be updated over the network.
sb10q added the
priority:low
label 2020-07-17 09:34:10 +08:00
Author
Owner

Note: both our SD card driver and the FAT library we use already support writing.

Note: both our SD card driver and the FAT library we use already support writing.
Author
Owner

We could keep using the custom protocol in artiq_coremgmt (better UX for common use cases, and consistent with the NOR flash devices), or implement a FTP server.

We could keep using the custom protocol in artiq_coremgmt (better UX for common use cases, and consistent with the NOR flash devices), or implement a FTP server.
Author
Owner

Heuristic could be: if string is ASCII and 100 characters or less, then store in config.txt and remove /config/ file if it exists, otherwise store as file.

Heuristic could be: if string is ASCII and 100 characters or less, then store in ``config.txt`` and remove ``/config/`` file if it exists, otherwise store as file.

See #99

See https://git.m-labs.hk/M-Labs/artiq-zynq/pulls/99
sb10q closed this issue 2020-11-06 12:19:18 +08:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/artiq-zynq#63
No description provided.