The following warnings occurred:
Warning [2] Undefined variable $tcount - Line: 717 - File: portal.php PHP 8.3.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/portal.php 717 errorHandler->error_callback
Warning [2] Undefined variable $tcount - Line: 722 - File: portal.php PHP 8.3.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/portal.php 722 errorHandler->error_callback




Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 457
» Latest member: patrick893
» Forum threads: 286
» Forum posts: 861

Full Statistics

Latest Threads
Pulpissimo Support Group ...
Forum: PULP General questions
Last Post: Roogadget
12-04-2024, 11:19 AM
» Replies: 0
» Views: 132
Pulp - make build
Forum: PULP General questions
Last Post: Francis Ortega
11-29-2024, 09:02 AM
» Replies: 2
» Views: 505
some questions about pulp...
Forum: PULP General questions
Last Post: jsen_che11
11-28-2024, 03:54 AM
» Replies: 3
» Views: 544
issue with pulp build
Forum: PULP General questions
Last Post: jsen_che11
11-27-2024, 07:41 AM
» Replies: 4
» Views: 1,570
i have some issue with si...
Forum: PULP General questions
Last Post: Garrett Gay
11-20-2024, 08:56 AM
» Replies: 3
» Views: 1,278
How to get more detailed ...
Forum: PULP General questions
Last Post: Santuckley
11-20-2024, 06:48 AM
» Replies: 4
» Views: 830
Some questions.
Forum: PULP General questions
Last Post: sungyong
11-12-2024, 03:31 PM
» Replies: 0
» Views: 212
what is meaning of ARA? (...
Forum: PULP General questions
Last Post: sungyong
11-12-2024, 01:17 AM
» Replies: 2
» Views: 519
librbs.so not found (Pulp...
Forum: PULP General questions
Last Post: bluewww
11-07-2024, 01:57 PM
» Replies: 1
» Views: 385
Fatal error: Broken assem...
Forum: PULP General questions
Last Post: Roogadget
10-31-2024, 03:12 PM
» Replies: 3
» Views: 712

 
  New SoC configuration for SDK
Posted by: MarekPikula - 10-01-2019, 09:19 AM - Forum: PULP General questions - No Replies

Hi, is there somewhere a guide how to create new SoC configuration for pulp-sdk? I'm basing on PULPissimo and just copied some files in `pulp-configs` to create custom configuration. I wonder though if there is some kind of recommended way of doing this and if there is some sort of documentation anywhere. I've seen different scripts (`pulp_chip_gen`, `pulp_soc_gen`, …), but there is no description which does what and in what scenarios one should be used.

Print this item

  how to manipulating of GPIOs on Pulpissino platform
Posted by: mapletree - 09-23-2019, 02:46 PM - Forum: PULP General questions - Replies (6)

Hi,
I would like to do some manipulation of the user and general purchase I/Os of the pianissimo platform, for example to light up a user LED via pressing down a pushbutton.
I found the functions in the sdk runtime doc for configuring the gpio as a bus such as rt_gpio_init and rt_gpio_pin_configure etc, but I did not find any document mentioning the exact address/pin or registers that are corresponding to the LEDs or pushbuttons. I am wondering where to get the detailed info of such so that I can light up a user LED?

Thanks,
Mapletree

Print this item

  how to compile and run an application for Pulpissinio on FPGA
Posted by: mapletree - 09-12-2019, 03:47 PM - Forum: PULP General questions - Replies (5)

Hi,
I have generated a Pulpissimo platform bitstream for Xilinx ZCU102 board. Now I am at the stage to compile a "hello world" example to try on the FPGA. I am having two problems here:

1. On the pulpissimo web page, after the instructions on how to create the .c file that includes the baudrate and frequency of the UART and the main() function, it gives instructions on how to compile an application by issuing " make clean all" command, but there is no corresponding Makefile, therefore, I got an error " No targets specified and no makefile found". I did all these in pulp-builder home directory. My questions are: a). is there an existing Makefile that I can borrow to compile my hello.c for RISCV?  b).  If I need to create my own Makefile, do I need to include the boot code? if so where to get the boot code (the same code in sim/boot directory)? It will be nice if there is an example Makefile that I can start with.

2. When I tried to connect to the JTAG interface on the board(JTAG pins are allocated on PMOD) by issuing the openocd command, I got an error saying "embeddedConfusedtartup.tcl:21:Error: Unknown target type riscv". The command I issued: $openocd -f openocd-zcu102-digilent-jtag-hs2.cfg. The screenshot of the error massage and the openocd config file are attached.


Please help!

Thanks,
Mapletree



Attached Files Thumbnail(s)
   

.txt   openocd-zcu102-digilent-jtag-hs2.txt (Size: 667 bytes / Downloads: 3)
Print this item

  Detailed Documentation for PULPissimo
Posted by: AhmedZaky - 09-11-2019, 06:12 AM - Forum: PULP General questions - Replies (3)

Hi All, 

First of all thanks for sharing the PULPissimo source codes, however I have been looking for a somehow detailed documentation for PULPissimo but I couldn't found. 

Can anyone please point me to such a documentation if any ? 

Regards,

Print this item

  Changing pulpissimo memory layout
Posted by: anfevp - 08-27-2019, 09:45 AM - Forum: PULP General questions - No Replies

Hello everyone,

I would like to ask you how to change memory layout of pulpissimo

My problem is that I need to use code that uses big vectors. Then, when  I run the program in the virtual platform I got:

3699418377: 147973: [/sys/board/chip/soc/fc/warning                   ] Invalid access (offset: 0x1bfffcd8, size: 0x4, is_write: 1)

Which is a problem of stack overflow. I could move big vectors to other memory sections but this implies to modify the code, which i shouldn't. Also, sometimes I got problems with the code size. So in general I would like to know how to modify the memory to be able to execute the code without modifications.

The problem can be reproduced with the following code:

Code:
#include <stdio.h>
void writefnctext();
void printVector(char *vector1, unsigned int len);
void fillVector(char *vector1, unsigned int len);
int main()
{
    char vector1[4096]; // Does not work, gets an invalid access.
    printf("Hello !\n");
    fillVector(vector1, 4096);
    printVector(vector1, 4096);
    writefnctext();
    return 0;
}
void writefnctext(){
    printf("Function has been called successfully");

}
void fillVector(char *vector1, unsigned int len){
    for (unsigned int i=0;i<len; i++ ){
        vector1[i]=i;
    }
}
void printVector(char *vector1, unsigned int len){
    for (unsigned int i=0;i<len; i++ ){
        printf("%d ", (int) vector1[i]);
    }
    printf("\n");
}



Thanks in advance!!

Print this item

  Pulpissimo configuration issues and other bugs
Posted by: MikkeN - 08-23-2019, 11:36 AM - Forum: PULP General questions - Replies (4)

Hi,

we have synthesized Pulpissimo with Vivado (2018.3) to FPGA and with Design Compiler (2018) to silicon technology.
Now Pulpissimo code has been changed so, that Design Compiler can't synthesize it anymore.
Vivado synthesize it without issues.

Module LZC gives syntax error from this statement:
assign cnt_o   = NUM_LEVELS > unsigned'(0) ? index_nodes[0] : $clog2(WIDTH)'(0);

Also there is number of bus with conflicts which are quite painful to correct by user.

Can you make code cleaning and check that it passes Design Compiler?
I am also worried about quality of results in FPGA, because Vivado has not seen issues which exist.

Print this item

  PULPino JTAG access
Posted by: MarekPikula - 08-22-2019, 02:15 PM - Forum: PULP General questions - No Replies

Hi,
Currently I'm testing PULPino core on Altera DE10-Nano board. I want to use provided JTAG interface with Digilent HS-2 cable. There seem to be no documentation about connecting PULPino to OpenOCD anywhere so I thought to use slightly modified version of OpenOCD config from PULPissimo project as supposedly the debug interface is pretty much the same. Is it a valid assumption? So far I didn't get too far. In the attachment you can find my current OpenOCD config (I'm using your patched version based on PULPissimo README) and a log.
Is there some working solution so that it's possible to use PULPino with JTAG?

Greetings,
Marek



Attached Files
.txt   hs2-pulpino.cfg.txt (Size: 894 bytes / Downloads: 13)
.txt   openocd-log.txt (Size: 23.61 KB / Downloads: 16)
Print this item

  REG_FCBOOT and REG_FCFETCH
Posted by: skor - 08-15-2019, 09:35 AM - Forum: PULP General questions - No Replies

Hello,

What are the two registers REG_FCBOOT and REG_FCFETCH meant for? They are in Soc_control area. Basically in RTL code is said that they are not used, so because I would like to add a new register to soc_control area I was planning to use either of these . 
I would anyway like to make sure that I am not blocking anything that might be usefull later.


Regards,

skor

Print this item

  RHEL8 repo sync's
Posted by: leepayne - 08-15-2019, 09:03 AM - Forum: PULP General questions - Replies (1)

Hi,

We are using PULP 2.18  on a CentOS 7.6 server and currently synchronize a number of CentOS / RHEL 7 repositories. I have been trying to setup a new RHEL8  repo but seem to be getting "forbidden 403" errors.

I followed the below "how to" link which includes obtaining the required CACert/Cert/Key files from an existing registered RHEL8 server using Subscription manager but am having no joy. Could you please advise if i'm missing something? 

https://projectlinux.com/advancedpulp.php

Command used to create REPO...

pulp-admin rpm repo create --repo-id rhel-x86_64-server-8 --feed https://cdn.redhat.com/content/dist/rhel8/$releasever/x86_64/baseos/os --feed-ca-cert /root/repoconfig/certs/redhat-uep.pem --feed-cert /root/repoconfig/certs/8517629927282862959.pem --feed-key /root/repoconfig/certs/8517629927282862959-key.pem --generate-sqlite true --serve-http true --serve-https true --relative-url rhel/8/rhel-x86_64-server-8 --checksum-type sha256

Logfile output..

Aug 15 10:00:13 plonindcms13 pulp: celery.worker.strategy:INFO: Received task: pulp.server.async.tasks._queue_reserved_task[3323b96c-cf9d-44bc-a5d9-f569933def1a]
Aug 15 10:00:13 plonindcms13 pulp: celery.worker.strategy:INFO: Received task: pulp.server.managers.repo.sync.sync[01839758-4b21-4d0a-bb63-e597fc4ad768]
Aug 15 10:00:13 plonindcms13 pulp: celery.app.trace:INFO: [3323b96c] Task pulp.server.async.tasks._queue_reserved_task[3323b96c-cf9d-44bc-a5d9-f569933def1a] succeeded in 0.0160555019975s: None
Aug 15 10:00:13 plonindcms13 pulp: celery.worker.strategy:INFO: Received task: pulp.server.async.tasks._release_resource[384c7b91-0cc9-49c4-bc3b-a4c557841cf6]
Aug 15 10:00:13 plonindcms13 pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [01839758] Downloading metadata from https://cdn.redhat.com/content/dist/rhel...baseos/os/.
Aug 15 10:00:13 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:13 plonindcms13 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel...repomd.xml failed with code 403: Forbidden
Aug 15 10:00:14 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: [01839758] Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:14 plonindcms13 pulp: nectar.downloaders.threaded:INFO: [01839758] Download failed: Download of https://cdn.redhat.com/content/dist/rhel.../baseos/os failed with code 403: Forbidden
Aug 15 10:00:14 plonindcms13 pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [01839758] Downloading metadata from https://cdn.redhat.com/content/dist/rhel...baseos/os/.
Aug 15 10:00:14 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:15 plonindcms13 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel...repomd.xml failed with code 403: Forbidden
Aug 15 10:00:15 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: [01839758] Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:16 plonindcms13 pulp: nectar.downloaders.threaded:INFO: [01839758] Download failed: Download of https://cdn.redhat.com/content/dist/rhel.../baseos/os failed with code 403: Forbidden
Aug 15 10:00:16 plonindcms13 pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [01839758] Downloading metadata from https://cdn.redhat.com/content/dist/rhel...baseos/os/.
Aug 15 10:00:16 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:16 plonindcms13 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel...repomd.xml failed with code 403: Forbidden
Aug 15 10:00:17 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: [01839758] Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:17 plonindcms13 pulp: nectar.downloaders.threaded:INFO: [01839758] Download failed: Download of https://cdn.redhat.com/content/dist/rhel.../baseos/os failed with code 403: Forbidden
Aug 15 10:00:17 plonindcms13 pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [01839758] Downloading metadata from https://cdn.redhat.com/content/dist/rhel...baseos/os/.
Aug 15 10:00:17 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:18 plonindcms13 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel...repomd.xml failed with code 403: Forbidden
Aug 15 10:00:18 plonindcms13 pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [01839758] Downloading additional units.
Aug 15 10:00:18 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:18 plonindcms13 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel.../.treeinfo failed with code 403: Forbidden
Aug 15 10:00:19 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:19 plonindcms13 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel...s/treeinfo failed with code 403: Forbidden
Aug 15 10:00:20 plonindcms13 pulp: pulp.server.async.tasks:INFO: [01839758] Task failed : [01839758-4b21-4d0a-bb63-e597fc4ad768] : Error retrieving metadata: Forbidden
Aug 15 10:00:20 plonindcms13 pulp: celery.app.trace:INFO: [01839758] Task pulp.server.managers.repo.sync.sync[01839758-4b21-4d0a-bb63-e597fc4ad768] raised expected: PulpCodedException()
Aug 15 10:00:20 plonindcms13 pulp: celery.app.trace:INFO: [384c7b91] Task pulp.server.async.tasks._release_resource[384c7b91-0cc9-49c4-bc3b-a4c557841cf6] succeeded in 0.00132100598421s: None

Thanks
Lee


Apologies, I run the following and all seems to be working, Now sure if it was the following command or I was using the wrong URL but all working now.

subscription-manager refresh

Print this item

  File reading from host example
Posted by: ivanfv - 08-09-2019, 02:33 PM - Forum: PULP General questions - No Replies

Hello,

I'm trying to develop an application that loads some data from a file that is stored on the host computer. I found an example of doing this in the pulp-rt-examples/bridge/file, so I would like to simulate this in the GVSOC platform and pulp config file, but I'm not sure if I'm doing this in the correct way.

When I start running the example (make all clean run under pulp-rt-examples/bridge/file) I get this message from the console:
Proxy listening on port 37539

So what I do is to start a plpbridge on another terminal like this, which ends after 2 seconds or something like that:
plpbridge --config=pulp@config_file=chips/pulp/pulp.json reqloop --binary=./test

And in the first terminal, I get this new message:
Proxy: Client connected!


The thing is that after that, nothing else happens, the code seems to be frozen and nothing happens. Am I missing something?

Thanks a lot,
Ivan.

Print this item