• 0

Troubles booting pre-built linux on Genesys2


Question

Just received a new Genesys 2 board. Flashed it and trying to boot the prebuilt version of linux from arian-sdk

Programmed the board according to here: https://reference.digilentinc.com/learn/programmable-logic/tutorials/genesys-2-programming-guide/start

The board powers up fine, copies bbl & linux image from  sdcard and then no tty output.  Nothing at all.

I built the sdcard using the prebuilt bbl.bin images from: https://github.com/pulp-platform/ariane-sdk/releases (I tried bbl.bin files from both 4.2 release and OpenPiton + 4.2, same result for both.)

Following instructions for creating sdcard here: https://github.com/pulp-platform/ariane-sdk

Board sees the sdcard, copies the sectors, and then nothing!

I've tried to set breakpoints at numerous places in the linux boot sequence but non of the are ever hit. Breaking in from gdb shows $pc at 0x10040  which seems wrong for linux running at  0x80000000.

Main questions are: Are the prebuilt bbl.bin images known to work? Are instructions up to date? Any suggestions on how to move forward?

Thank you!

Uart output is below.  I expected to see some linux boot lines following the 'done!' message below but I get nothing.

Hello World!
init SPI
status: 0x0000000000000025
status: 0x0000000000000025
SPI initialized!
initializing SD... 
SD command cmd0         response : 01
SD command cmd55        response : 01
...

SD command cmd41        response : 00
sd initialized!
gpt partition table header:
        signature:      5452415020494645
        revision:       00010000
        size:           0000005C
        crc_header:     321D0047
        reserved:       00000000
        current lba:    0000000000000001
        backup lda:     0000000003B723FF
        partition entries lba:          0000000000000002
        number partition entries:       00000080
        size partition entries:         00000080
gpt partition entry 00
        partition type guid:    D5F7127456A1134B81DC867174929325
        partition guid:         7123B019FB971546B5847A236525E8D9
        first lba:      0000000000000800
        last lba:       00000000000107FF
        attributes:     0000000000000000
        name:   0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
gpt partition entry 01
        partition type guid:    AF3DC60F838472478E793D69D8477DE4
        partition guid:         77C2133C1B594546B2902DC840F4A5C8
        first lba:      0000000000010800
        last lba:       0000000003B723DE
        attributes:     0000000000000000
        name:   0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
gpt partition entry 02
        partition type guid:    00000000000000000000000000000000
        partition guid:         00000000000000000000000000000000
        first lba:      0000000000000000
        last lba:       0000000000000000
        attributes:     0000000000000000
        name:   0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
gpt partition entry 03
        partition type guid:    00000000000000000000000000000000
        partition guid:         00000000000000000000000000000000
        first lba:      0000000000000000
        last lba:       0000000000000000
        attributes:     0000000000000000
        name:   0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
copying boot image ................................ done!
 

 

 

 

 

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @BrettR,

This reference material you found was not created by Digilent, nor I have seen it before so we do not have any advice with regards to using this material. Looking at the release folder for it, it appears that further commits have been made since the last release. Otherwise I would recommend looking at their getting started material here and make sure you are using 2018.2.

I would recommend asking that group for advice on getting their material properly running.

Thanks,
JColvin

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now