Jump to content

Voloviq

Members
  • Posts

    7
  • Joined

  • Last visited

  1. Hello Guys, thank You both. Now I see where I made a mistake. Regarding oscilloscope I mean that during kernel boot up it checks connected devices (NOR - jedec discover at least). Yes of course that if nothing is requested from flash nothing will happen on pins. So thank You for support my efforts. I'll keep You inform. Thanks a lot Best Regards Volvoiq
  2. Thanks zador, Your answer is very comprehensive. Small summarize what I made. First updated to nightly build Than I make a reboot, connect oscilloscope to pin 6 of nor flash to check clock. After two reboots I noticed nothing on clock pin as well on others pins. This means that nightly build have no DTS default support for NOR flash, Am I right? So I focus my efforts now to recompile dts, fex to add lines mentioned by martinayotte. IMHO without change dts I have no chance to see mtd. Linux version after update Regards Voloviq
  3. Hello martinayote It seems to that in current system don't exist *.dtb or *.dts file. Instead of it exist script.bin which can be convert to *.fex. After conver *.fex file is somehow similar to *.dts. Unfortunately I don't now this standard. I understand what You wrote regarding to DT, and any modification in DT are easy. Usually I made modification of dts but not on working system, I just recompile it and write in host on sdcard. So how can I provide modification pointed by You into *.fex file and again compile *.fex to script.bin. Thanks Regards Voloviq
  4. Hello zador.blood.stained yes You have completely right my question was really silly. After study short build documentation everything start to be easy. Now I understand why uboot and kernel are cleared after issue only ./compile.sh. Nevertheless which option I should use together with ./compile.sh to keep changed configuration for kernel and uboot? Do compilation don't clean current configuration of kernel and uboot after issue following ./compile.sh CLEAN_LEVEL=images KERNEL_KEEP_CONFIG=yes Thanks Regards Voloviq
  5. So if I good understand I need to download nightly build and burn to sdcard, and than modify DT.
  6. Thanks Martinayotte, I newbie in Armbian compilation, can You explain me how to compile nightly build in Armbian and which exactly ?.dts needs to be modified. Regarding Your final sentence I understand that it is possible fit kernel, uboot and dtb into spi nor flash. Am I right? Thanks, Regards Voloviq
  7. Hello, today I try to recompile armbian and produce some image which can be fited into nor flash. I would like to fit uboot, dtb and kernel into Winbond W25Q128FVSSIG and rootfs into sdcard. So I found some instruction in which I need to modify first kernel and dts (ref. http://linux-sunxi.org/Xunlong_Orange_Pi_Zerochapter SPI NOR flash). For Armbian it is quit difficult, when I issue ./compile.sh than everything regarding to Uboot is cleared. First what I need to do is modify sun8i-h3-orangepi-one.dts with following content &spi0 { status = "okay"; flash: m25p80@0 { #address-cells = <1>; #size-cells = <1>; compatible = "winbond,w25q128"; reg = <0>; spi-max-frequency = <40000000>; };}; Than I need to modify .config file of Uboot by adding CONFIG_SPI_BOOT=yes. But as I mentioned after issue ./compile.sh everything go back to let we say factory settings. How to workaround this issue to pass through necessary options. Final question is that if all of mentioned modification allows me to manipulate and see /dev/mtd0. Thanks in advanced Best Regards Voloviq
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines