Hi Benson,
I'm really new in Pagure. Feel free to edit and make pull request. I
don't wont to make errors or create confusions.
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
>>
>>
>>
>>