This commit is contained in:
maliakal_d 2021-11-22 16:30:33 +01:00
parent 5f38165b07
commit d9686e0b6a
2 changed files with 34 additions and 34 deletions

View File

@ -311,47 +311,47 @@ How to get back mtd3 drive remotely (udpating kernel)
1. Commands via software (>= v6.0.0)
.. code-block:: bash
.. code-block:: bash
sls_detector_put updatekernel /home/...path-to-kernel-image
sls_detector_put updatekernel /home/...path-to-kernel-image
2. or command line
.. code-block:: bash
# step 1: get the kernel image (uImage.lzma) from slsdetectorgroup
# and copy it to pc's tftp folder
.. code-block:: bash
# step 1: get the kernel image (uImage.lzma) from slsdetectorgroup
# and copy it to pc's tftp folder
# step 2: connect to the board
telnet bchipxxx
# step 2: connect to the board
telnet bchipxxx
#step 3: go to directory for space
cd /var/tmp/
#step 3: go to directory for space
cd /var/tmp/
# step 3: copy kernel to board
tftp pcxxx -r uImage.lzma -g
# step 3: copy kernel to board
tftp pcxxx -r uImage.lzma -g
# step 4: verify kernel copied properly
ls -lrt
# step 5: erase flash
flash_eraseall /dev/mtd1
# step 6: copy new image to kernel drive
cat uImage.lzma > /dev/mtd1
# step 7:
sync
# step 8:
reboot
# step 9: verification
telnet bchipxxx
uname -a # verify kernel date
more /proc/mtd # verify mtd3 is listed
# step 4: verify kernel copied properly
ls -lrt
# step 5: erase flash
flash_eraseall /dev/mtd1
# step 6: copy new image to kernel drive
cat uImage.lzma > /dev/mtd1
# step 7:
sync
# step 8:
reboot
# step 9: verification
telnet bchipxxx
uname -a # verify kernel date
more /proc/mtd # verify mtd3 is listed
Last Resort using USB Blaster
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -3437,10 +3437,10 @@ class Detector(CppDetectorApi):
[Gotthard2][Mythen3] Frequency of clock in Hz.
Note
-----
----
:setter: Not implemented. Use clkdiv to set frequency
Example
-------
>>> d.clkfreq[0]