Jump to content

Genesio Lini

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by Genesio Lini

  1. Ok, it works. after setting the DIP switches to eMMC boot, I rebooted with the uSD card into the slot and armbian was running fine from eMMC. Then I logged in and modified the armbianEnv.txt The clearfog now boots from eMMC without uSD card into the slot. Thank you for your help and patience
  2. I am now trying following steps from here: https://github.com/nightseas/arm_applications/blob/master/doc/getting_started_with_clearfog_base.md#boot-from-usb-disk----download-armbian-to-emmc from inside armbian running from the USB stick: dd'ing the img to the eMMC device was successful: root@clearfogbase:~# dd if=/root/Armbian_5.35_Clearfogbase_Ubuntu_xenial_default_4.4.102.img of=/dev/mmcblk0 bs=4M 352+0 records in 352+0 records out 1476395008 bytes (1.5 GB, 1.4 GiB) copied, 79.9802 s, 18.5 MB/s root@clearfogbase:~# sudo mount /dev/mmcblk0p1 /mnt mount: special device /dev/mmcblk0p1 does not exist I was not able to mount the partition in order to modify the armbianEnv.txt. But, as I have a uSD card into the slot, I am trying to boot from eMMC anyway. So I just went on with dd'ing the bootloader to the eMMC: root@clearfogbase:~# echo 0 > /sys/block/mmcblk0boot0/force_ro root@clearfogbase:~# echo 0 > /sys/block/mmcblk0boot1/force_ro root@clearfogbase:~# sudo dd if=u-boot.mmc of=/dev/mmcblk0boot0 1836+1 records in 1836+1 records out 940108 bytes (940 kB, 918 KiB) copied, 0.167683 s, 5.6 MB/s root@clearfogbase:~# sudo dd if=u-boot.mmc of=/dev/mmcblk0boot1 1836+1 records in 1836+1 records out 940108 bytes (940 kB, 918 KiB) copied, 0.17947 s, 5.2 MB/s root@clearfogbase:~# echo 1 > /sys/block/mmcblk0boot0/force_ro root@clearfogbase:~# echo 1 > /sys/block/mmcblk0boot1/force_ro root@clearfogbase:~# sync Now I think I could just set the dip switches into eMMC boot position and reboot. Is that correct?
  3. I have a uSD card into the slot. And first boot from USB stick was working, I don't know why I am not able to boot from the USB stick anymore. I did not do anything apart from rebooting. I am now trying again. kwboot is succesfull and I am able to run the modified u-boot loaded thru UART. As I have no system in eMMC and no USB stick into the USB port, I feel good with this result (I am using picocom) Following the procedure I should insert my USB stick and execute "run usbboot", right? This is the result: I am now logged in as root (1234) into the running Armbian system from USB stick. I am also able to log in thru SSH, and I uploaded both armbian ISO file and u-boot-mmc file to /tmp Could you please help me with instructions on how to permanently install the bootloader and armbian to the eMMC? Thank you for your great support
  4. I just copied to iso file to the USB stick and rebooted the clearfog. If I repeat the kwboot procedure again, Armbian does not boot like the first time. Instead, I get this: I tried to flash the ISO back to the USB stick again with Etcher but the error persist. I am almost ready to give up and sell the clearfog on ebay
  5. With your help and kwboot I got the u-boot-uart.mmc file flashed to the clearfog base. I also noticed that, after the flash, the system automatically booted my USB flash drive with armbian image flashed with Etcher. Is there an "easy way" to install the running system into eMMC at this point? Or should I copy the .iso file on a separate USB stick and dd it into the eMMC? BTW how can this procedure be so hard to perform? Am I alone with these issues?
  6. Ok I am now installing the toolchain (gcc v6 is needed to compile kwboot) I am going to try with the dip switches set as you recommend and kwboot. What's the correct dip switches sequence for normal operation after successful flash?
  7. I had issues with VM and serial ports, so I fired up an Ubuntu physical machine and I was able to start the procedure. Unfortunately it seems I got stuck again. The serial downloader shell script does not complete the first step (endless loop) Sleeping Out of sleep Got something 0 Sleeping Out of sleep Got something -1 Sleeping Out of sleep Got something -1 Sleeping Out of sleep Got something -1 Sleeping Out of sleep Got something -1 Dip switches are set to ON from number 1 to number 4 (https://pasteboard.co/GXok3Gb.jpg)
  8. Ok, I am going to start from scratch from inside a Debian VM following the first linked tutorial. Thank you guys for your detailed instructions
  9. Regarding Putty: 115000bps, 8data, 1stop, no parity, xon/xoff works I am now flashing the USB drive with Etcher and will let you know the results... Still I have no clue on what to do with the deb package containing the u-boot files. Thank you very much for the help
  10. Hello everyone, I am trying to achieve first boot with a Clearfog Base with eMMC. It was not clear (at least to me) that the eMMC version does not allow booting from SD card *at all* But hey, let's get this baby up&running, can anybody please help me? I am trying to follow this procedure [https://www.armbian.com/clearfog-base/]: 1) Write the image to a USB flash drive -> easy enough, I did it with Win32DiskImager and a well-tested 64GB USB stick 2) Load the modified u-boot (from the Armbian image) using the UART method -> I have issues here. I suppose that UART method consists in plugging in the microUSB cable into my PC and open the COM3 port with Putty, than hitting some key to interrupt normal boot. Unfortunately the terminal just spits out garbled text. The setup for the COM3 port in windows is 9600bps, 8data, no parity, 1 stop, no flow control and matches the config in Putty. Where do I find the modified u-boot in armbian image? I'm stuck here, and I don't know how to proceed. Thank you Genesio
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines