On 11/28/19 2:37 PM, agharta82(a)gmail.com wrote:
Hi Benson,
I'm really new in Pagure.
So am I. It seemed ok, once uploaded an ssh key, could then use command
line git interface. Web interface seems limited compared to
Gitlab/Github, but it is better integrated with Fedora infrastructure.
Feel free to edit and make pull request. I don't wont to make errors
or create confusions.
Git keeps history, so errors can be undone. The more people that can add
to code the better. It would be of interest to learn your thoughts on
Rock64 board. Price point seems similar to Raspberry Pi. Are you using
USB to attach an external hard drive for Nextcloud?
Finally, there is a file socs.d/Rockchips-ARMv8, which would fit
description for rk3328 (
https://en.wikipedia.org/wiki/Rockchip), but
the specifications there are different than what you used. Maybe rk3328
should be Rockchip-rk3328?
Some of the other files, such as socs.d/exynos5 and socs.d/st have a few
more steps than the others. Downloading spi boot binaries is not so
great in Fedora as the build process is not under Fedora control. Not
sure what the best solution is for this.
It may be helpful to check the Fedora list guidelines,
https://fedoraproject.org/wiki/Mailing_list_guidelines - top posting is
discouraged, though I sometimes find I do it.
Thanks for your contributions. I look forward to trying out Rock64 board
in the future.
Thank you.
Best regards,
Agharta
Il 28/11/19 12:24, Benson Muite ha scritto:
>
> On 11/27/19 5:22 PM, Benson Muite wrote:
>>
>>
>> On 11/27/19 5:00 PM, Nigel Sollars wrote:
>>> Well done!,
>>>
>>> I was waiting to see how this one went. in the meantime Arch
>>> pushed out a 5.4.0-1 kernel,
>>>
>>> archrock 5.4.0-1-ARCH #1 SMP
>>>
>>> [ 0.000000] Linux version 5.4.0-1-ARCH (builduser@leming) (gcc
>>> version 8.3.0 (GCC)) #1 SMP Tue Nov 26 02:44:10 UTC 2019
>>> [ 0.000000] Machine model: Pine64 Rock64
>>>
>>>
>>> Looks like the Lima driver got some work ( more info inside dmesg )
>>> among other cleanups
>>>
>>> Nige
>>>
>>> On Wed, Nov 27, 2019 at 8:43 AM agharta82(a)gmail.com
>>> <mailto:agharta82@gmail.com> <agharta82(a)gmail.com
>>> <mailto:agharta82@gmail.com>> wrote:
>>>
>>> OH GUYS! WHAT A BEAUTIFUL DAY!!!!!
>>>
>>> Finally I've found the solution!
>>>
>> Excellent
>>>
>>> So,*_first for all SPI flash should be ERASED_*: fedora
>>> aarch64 does not have spi boot images (at 2019-11-27). To erase
>>> spi follow this link:
>>>
https://github.com/ayufan-rock64/linux-u-boot/releases/download/2017.09-r...
>>>
> It may be worth opening an issue in Pagure for this, not sure how it
> should be best included in the arm installer for Fedora.
>>>
>>> Second, install fedora-arm-installer package, then create a new
>>> ad-hoc script; this script for rock64 that I have made works well:
>>>
>>> File is placed into folder
>>> /usr/share/arm-image-installer/boards.d/ and named rock64-rk3328
>>>
>
> Made one change, put file in socs.d/rk3328 and added a softlink from
> boards.d/rock64 to socs.d/rk3328
>
> Not sure if names I choose are the most appropriate.
>
>>> # write uboot
>>> echo "= Writing idbloader.img for $TARGET .... on media
$MEDIA"
>>> dd if=$PREFIX/usr/share/uboot/$TARGET/idbloader.img of=$MEDIA
>>> seek=64; sync; sleep 5
>>> echo "= Writing u-boot FIT image for $TARGET .... on media
$MEDIA"
>>> dd if=$PREFIX/usr/share/uboot/$TARGET/u-boot.itb of=$MEDIA
>>> seek=16384; sync; sleep 5
>>> # set console for Rockchips
>>> SYSCON=ttyS2,115200n8
>>>
>>>
>>> I'm not sure about SYSCON because my serial adapter does not
>>> works at 1500000 baudrate, so I can't test it. I have leaved it
>>> at default. Hope someone can test and correct it if required.
>>>
>>> References to find right dd seek:
>>>
http://opensource.rock-chips.com/wiki_Boot_option#Boot_from_SD.2FTF_Card
>>>
>>>
>>> Next, download fedora aarch64 31 minimal xz image and:
>>>
>>> arm-image-installer
>>> --image=Fedora-Minimal-31-1.9.aarch64.raw.xz --resizefs
>>> --media=/dev/THE_SD_MEDIA --target=rock64-rk3328 --addconsole
>>> (and other stuff)
>>>
>>> Insert sd into Rock64 and power on!
>>>
>>> Connect HDMI cable, IT WORKS AND YOU CAN BOOT (a part of it)!!!
>>>
>>> Wait a bit (by default search for ipv6 ip).
>>>
>>> Connect Keyboard and follow on screen setup to set root
>>> password, Timezone etc...
>>>
>>>
>>> AT THE END ALL WORKS!!!!!
>>>
>> Great
>>>
>>>
>>> Benson, feel free to integrate it to Pagure, and make a new
>>> fedora-arm-image-installer package.
>>>
>> Can start on this, though I do not have this board, so cannot really
>> test it. Let me know if you have used Pagure or Git, usually it is
>> good for the person who found the solution to add it to the
>> repository. If still want me to do it, can do so.
>
> It seems you already forked the repository, so feel free to make your
> additions there. There is a pull request at:
>
>
https://pagure.io/arm-image-installer/pull-requests
>
>>>
>>> Really guys, I am very very very happy!
>>>
>>>
>>> Have a fantastic day!!!
>>>
>>> Agharta
>>>
>>>
>>>
>>>