Re: RTEMS-libbsd freebsd-org submodule would require update in order to import genet drivers. Suggestions?

2023-06-04 Thread Noor Aman
Hi Alan, > If you have not done so already, would it be worth trying to build and > initialize the current libbsd with a loopback driver? > I haven't done it so far, This might help. Thanks. Are there other devices on the RPI4 such as the SD card or USB that may be > usable in the current libbsd

Re: RTEMS-libbsd freebsd-org submodule would require update in order to import genet drivers. Suggestions?

2023-06-04 Thread Noor Aman
ee. Thanks On Thu, 1 Jun 2023 at 23:46, Noor Aman wrote: > Hello, > Currently freebsd-org submodule is currently checked out at hash-ID > 5d85e12 dated September 24, 2019 in master rtems-libbsd branch. In order to > import genet drivers, I need to at least get commit from april

RTEMS-libbsd freebsd-org submodule would require update in order to import genet drivers. Suggestions?

2023-06-01 Thread Noor Aman
Hello, Currently freebsd-org submodule is currently checked out at hash-ID 5d85e12 dated September 24, 2019 in master rtems-libbsd branch. In order to import genet drivers, I need to at least get commit from april 2020. Specifically this one https://reviews.freebsd.org/D24436 In terms of freebsd r

Github Mirrors not syncing with upstream repos

2023-05-22 Thread Noor Aman
2023, on RTEMS-libbsd it's from 20, 2023. So I think something broke after 23 March 2023. Thanks, -- Mohd Noor Aman Tinkering with Hardware ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] README for raspberry pi 4 AArch64 BSP

2023-04-14 Thread Noor Aman
Thanks, for the confirmation. I'll add it to the docs. On Fri, 14 Apr 2023 at 19:52, Gedare Bloom wrote: > On Mon, Apr 10, 2023 at 4:05 AM Noor Aman wrote: > > > > Thanks for the suggestions, > > > > I'll wait for a few days to receive a confirmation or

Re: [PATCH] README for raspberry pi 4 AArch64 BSP

2023-04-10 Thread Noor Aman
have some tools installed in order to work on > that, it is well described in the first paragraph here: > https://docs.rtems.org/ > > If you are unsure, wait for official deny or confirmation of the info > provided by me... > > Thanks, > Karel > > On 4/9/23 09:53, Mohd N

[PATCH] README for raspberry pi 4 AArch64 BSP

2023-04-09 Thread Mohd Noor Aman
The readme file includes all links and steps for setting up developping environment for the raspberry pi 4. Added cheap JTAG adapters list which are tried and tested. Links for references for raspberry pi 4 are also added. --- bsps/aarch64/raspberrypi/README | 86 +

[GSoC Proposal] Ethernet and SMP support for Raspberry Pi 4B AArch64

2023-03-22 Thread Noor Aman
oogle.com/document/d/1aQq1kkpsRnuxTjaPGQpuU8jN91QtyQXUKG8Sl2JfqdU/edit?usp=sharing Thanks, Regards, -- Mohd Noor Aman Tinkering with Hardware ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: GSoC project suggestion for the BSP Raspberry pi 4B aarch64

2023-02-19 Thread Noor Aman
ures 1 = <8bit VMID> > Memory Model Features 2 = <32bit CCIDX,48bit VA> > Debug Features 0 = Breakpoints,PMUv3,Debugv8> > Debug Features 1 = <> > Auxiliary Features 0 = <> > Auxiliary Features 1 = <>

GSoC project suggestion for the BSP Raspberry pi 4B aarch64

2023-02-18 Thread Noor Aman
testsuites. I'm open to any further ideas. Your suggestions are most welcome. Thank you. Regards -- Mohd Noor Aman Tinkering with Hardware ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: docs not building to PDF

2022-10-08 Thread Noor Aman
. All we need is the actual 'tftpfs_usage.png' image in the directory. On Sat, 8 Oct 2022 at 20:00, Joel Sherrill wrote: > > > On Sat, Oct 8, 2022 at 7:24 AM Noor Aman wrote: > >> Hey Frank, >> >> I was able to find the issue which was causing the pdf to be

Re: docs not building to PDF

2022-10-08 Thread Noor Aman
png is causing issues. Removing these lines removed the error and the pdf was generated successfully. I hope this is helpful. Thanks, Noor On Sat, 8 Oct 2022 at 05:35, Chris Johns wrote: > On 8/10/2022 9:47 am, Chris Johns wrote: > > On 8/10/2022 10:12 am, Noor Aman wrote: > >>

[PATCH rtems-docs] user/aarch64/raspberrypi4: Boot mechanism explained and updated config.txt

2022-10-08 Thread Mohd Noor Aman
--- user/bsps/aarch64/raspberrypi4.rst | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/user/bsps/aarch64/raspberrypi4.rst b/user/bsps/aarch64/raspberrypi4.rst index 729d71b..efb09b6 100644 --- a/user/bsps/aarch64/raspberrypi4.rst +++ b/user/bsps/aarch64/raspbe

Re: [PATCH rtems-docs v4] raspberrypi4.rst: Documentation for the new AArch64 Raspberry pi 4B BSP

2022-10-07 Thread Noor Aman
Fri, Oct 7, 2022 at 8:38 AM Kinsey Moore > wrote: > >> Looks good to me. Thanks for sticking with this! >> >> >> Kinsey >> >> On 10/7/2022 00:00, Mohd Noor Aman wrote: >> > This patch adds the relevant documentations required for booting the &g

Re: docs not building to PDF

2022-10-07 Thread Noor Aman
I can confirm that the same is happening on my PC too. === $ uname -a Linux lynx 5.15.72-1-lts #1 SMP Wed, 05 Oct 2022 12:15:15 + x86_64 GNU/Linux $ pip list Package Version - - absl-py 1.2.0 alabaster

Re: [PATCH rtems-docs v4] raspberrypi4.rst: Documentation for the new AArch64 Raspberry pi 4B BSP

2022-10-06 Thread Noor Aman
New patch sent with new changes. On Fri, 7 Oct 2022 at 10:30, Mohd Noor Aman wrote: > This patch adds the relevant documentations required for booting the new > BSP. > JTAG support is added for debugging. I have built the HTML docs and > verified > them. > --- > user/bsps

[PATCH rtems-docs v4] raspberrypi4.rst: Documentation for the new AArch64 Raspberry pi 4B BSP

2022-10-06 Thread Mohd Noor Aman
-Identifier: CC-BY-SA-4.0 + +.. Copyright (C) 2022 Mohd Noor Aman + +.. _BSP_aarch64_Raspberrypi_4: + +Raspberry Pi 4B +=== + +The 'raspberrypi4b' BSP currently supports only the LP64 ABI. ILP32 is not +supported. Raspberry pi 4B all variants and Raspberry Pi 400 are supported. Th

Re: [PATCH rtems-docs v3] raspberrypi4.rst: Documentation for the new AArch64 Raspberry pi 4B BSP

2022-10-06 Thread Noor Aman
PCIe bridge, unlike the previous generations where the ethernet was connected using the USB hub controller. On Thu, 6 Oct 2022 at 21:47, Mohd Noor Aman wrote: > This patch adds the relevant documentations required for booting the new > BSP. > JTAG support is added for debugging. I

[PATCH rtems-docs v3] raspberrypi4.rst: Documentation for the new AArch64 Raspberry pi 4B BSP

2022-10-06 Thread Mohd Noor Aman
-Identifier: CC-BY-SA-4.0 + +.. Copyright (C) 2022 Mohd Noor Aman + +.. _BSP_aarch64_Raspberrypi_4: + +Raspberry Pi 4B +=== + +The 'raspberrypi4b' BSP currently supports only the LP64 ABI. ILP32 is not +supported. Raspberry pi 4B all variants and Raspberry Pi 400 are supported. Th

[PATCH rtems-docs v2] raspberrypi4.rst: Added Documentation for the new AArch64 Raspberry pi 4B BSP

2022-10-04 Thread Mohd Noor Aman
-Identifier: CC-BY-SA-4.0 + +.. Copyright (C) 2022 Mohd Noor Aman + +.. _BSP_aarch64_Raspberrypi_4: + +Raspberry Pi 4B +=== + +The 'raspberrypi4b' BSP currently supports only the LP64 ABI. ILP32 is not +supported. Raspberry pi 4B all variants and Raspberry Pi 400 are supported. Th

Re: [PATCH rtems-docs] raspberrypi4.rst: Added Documentation for the new AArch64 Raspberry pi 4B BSP

2022-10-04 Thread Noor Aman
Here is the documentation patch. I've generated the output and it works fine. Reviews are required. Thanks, Noor On Mon, 26 Sept 2022 at 12:22, Mohd Noor Aman wrote: > This patch adds the relevant documentations required for booting the new > BSP. JTAG support is added for debugg

Re: [PATCH v3] bsp/aarch64: Add new Raspberry Pi 4B BSP

2022-10-04 Thread Noor Aman
I have sent the documentations earlier, Although reviews are required. I'll reply to that patch to bring it up on the devel. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH v3] bsp/aarch64: Add new Raspberry Pi 4B BSP

2022-10-04 Thread Noor Aman
hey all, I've fixed the warning and edited the commit message to be more specific and to be in 80 words char limit. Thanks, Noor On Tue, 4 Oct 2022 at 16:08, Mohd Noor Aman wrote: > This patch adds new Raspberry pi 4B AArch64 BSP to the RTEMS Family. > Currently > only LP64 AB

[PATCH v3] bsp/aarch64: Add new Raspberry Pi 4B BSP

2022-10-04 Thread Mohd Noor Aman
ps/aarch64/raspberrypi/console/console.c @@ -0,0 +1,69 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * + * @ingroup RTEMSBSPsAArch64Raspberrypi4 + * + * @brief Console Configuration + */ + +/* + * Copyright (C) 2022 Mohd Noor Aman + * + * + * Redistribution and use in source and binary f

[PATCH rtems-docs] raspberrypi4.rst: Added Documentation for the new AArch64 Raspberry pi 4B BSP

2022-09-25 Thread Mohd Noor Aman
-Identifier: CC-BY-SA-4.0 + +.. Copyright (C) 2022 Mohd Noor Aman + +.. _BSP_aarch64_Raspberrypi_4: + +Raspberry Pi 4B +=== + +The 'raspberrypi4b' BSP currently supports only the LP64 ABI. Raspberry pi 4B +and Raspberry Pi 400 are supported. The default bootloader which is us

Re: rtems-tester for raspberry pi 4B

2022-09-25 Thread Noor Aman
, Alan Cudmore wrote: > Hi Noor, > > The firmware issue that I am aware of is for the 32 bit arm/raspberrypi > BSPs. I would expect that your Aarch64 BSP would work with the latest > Raspberry Pi firmware. Are you talking about aarch64/raspberrypi or > arm/raspberrypi? > > A

rtems-tester for raspberry pi 4B

2022-09-25 Thread Noor Aman
Hey, Now that I have built a BSP, I wanted to run the rtems-tester for Raspberry Pi. But I'm confused on what to do now. The raspberry pi 2 bsp required u-boot in order to run the test which is understandable as rpi2 didnt had support for PXE boot, but the raspberry pi 4b has support for tftp boot

[PATCH v2] bsp/aarch64: New entry for Raspberry pi 4B AArch64 BSP

2022-09-24 Thread Mohd Noor Aman
@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * + * @ingroup RTEMSBSPsAArch64Raspberrypi4 + * + * @brief Console Configuration + */ + +/* + * Copyright (C) 2022 Mohd Noor Aman + * + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitte

[PATCH 7/7] bsp/aarch64: Console initialization for Raspberry Pi 4B AArch64 BSP

2022-09-21 Thread Mohd Noor Aman
*/ + +/** + * @file + * + * @ingroup RTEMSBSPsAArch64Raspberrypi4 + * + * @brief Console Configuration + */ + +/* + * Copyright (C) 2022 Mohd Noor Aman + * + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are

[PATCH 6/7] bsp/aarch64: Starthooks and MMU Sections for Raspberry pi 4B AArch64 BSP

2022-09-21 Thread Mohd Noor Aman
*/ + +/** + * @file + * + * @ingroup RTEMSBSPsAArch64Raspberrypi4 + * + * @brief BSP Startup + */ + +/* + * Copyright (C) 2022 Mohd Noor Aman + * + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions

[PATCH 5/7] bsp/aarch64: Raspberry pi headers for the BCM2711 SoC

2022-09-21 Thread Mohd Noor Aman
/raspberrypi.h @@ -0,0 +1,471 @@ +/** + * @file + * + * @ingroup raspberrypi_4_regs + * + * @brief Register definitions. + */ + +/* + * Copyright (c) 2022 Mohd Noor Aman + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at

[PATCH 4/7] bsp/aarch64: BSP and TM27 headers for the Raspberry pi 4B AArch64 BSP

2022-09-21 Thread Mohd Noor Aman
--- /dev/null +++ b/bsps/aarch64/raspberrypi/include/bsp.h @@ -0,0 +1,73 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * + * @ingroup RTEMSBSPsAArch64Raspberrypi4 + * + * @brief Core BSP definitions + */ + +/* + * Copyright (C) 2022 Mohd Noor Aman + * + * + * Redistribution and

[PATCH 3/7] bsp/aarch64: IRQ headers for raspberry pi 4B

2022-09-21 Thread Mohd Noor Aman
@@ +/** + * @file + * + * @ingroup raspberrypi_interrupt + * + * @brief Interrupt definitions. + */ + +/** + * Copyright (c) 2013 Alan Cudmore + * Copyright (c) 2022 Mohd Noor Aman + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at

[PATCH 2/7] bsp/aarch64: Linker file for Raspberry pi 4B AArch64 BSP

2022-09-21 Thread Mohd Noor Aman
-SA-4.0 OR BSD-2-Clause +build-type: config-file +content: | + /* SPDX-License-Identifier: BSD-2-Clause */ + + /* + * Copyright (C) 2022 Mohd Noor Aman + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following

[PATCH 1/7] bsp/aarch64: New entry for Raspberry pi 4B AArch64 BSP

2022-09-21 Thread Mohd Noor Aman
Noor Aman +default: +- -mcpu=cortex-a72 +- -march=armv8-a + +default-by-variant: [] +includes: [] +description: | + ABI flags +links: [] +enabled-by: true +name: ABI_FLAGS +type: build + \ No newline at end of file diff --git a/spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml b/spec

Re: Successful Hello world from RPi4B AArch64 over serial

2022-09-20 Thread Noor Aman
> > > Try the fileio, cdtest, nsecs, and paranoia samples next. If those > look ok, it is highly likely that most of the single processor tests > will run. > > fileio requires working console input. > I've tried them all, they look pretty fine. Fileio worked fine too. Now work to get this all cle

Successful Hello world from RPi4B AArch64 over serial

2022-09-19 Thread Noor Aman
Hey everyone, I've managed to get RTEMS6 on the Raspberry pi 4B rev 1.4. Every test ran fine except for minimum.exe, It gave a fatal error. Here's my setup for running RTEMS6 on RPi4B: TF-A is required to enable GIC on RPi. I had tried to use armstub-gic.S ( https://github.com/raspberrypi/tools/b

Re: RPi 4B MMU seems to be enabled but throwing aarch64-default-exception error

2022-09-04 Thread Noor Aman
om/RT-Thread/rt-thread/blob/master/bsp/raspberry-pi/raspi4-64/driver/board.c#L25 > > > > Alan > > *From: *Noor Aman > *Sent: *Friday, September 2, 2022 2:18 PM > *To: *Alan Cudmore > *Cc: *Hesham Moustafa ; William Moore > ; rtems-de...@rtems.org > *Subject: *Re: RPi

Re: RPi 4B MMU seems to be enabled but throwing aarch64-default-exception error

2022-09-02 Thread Noor Aman
t; setup the OCD connection? > > Thanks, > Alan > > On Fri, Sep 2, 2022 at 11:48 AM Noor Aman wrote: > >> Hey all, >> Raspberry Pi 4B MMU seems to be enabled, as reported by openocd but gdb >> is showing to run in a loop from aarch64-defaulit-exception.S file star

RPi 4B MMU seems to be enabled but throwing aarch64-default-exception error

2022-09-02 Thread Noor Aman
Hey all, Raspberry Pi 4B MMU seems to be enabled, as reported by openocd but gdb is showing to run in a loop from aarch64-defaulit-exception.S file starting from code line number 143 to 220. >From what I can gather, it is being caused by the wrong MMU address. Here's a RAM and MMU allocation size

Re: [PATCH] Arm/raspberrypi.h: Added relevant headers for the bcm2711

2022-07-22 Thread Noor Aman
t for the best way to integrate it with the existing RISC-V BSPs. > > > > Thanks for working on this! > > Alan > > > > > > *From: *Alan Cudmore > *Sent: *Thursday, July 21, 2022 10:59 PM > *To: *j...@rtems.org > *Cc: *Noor Aman ; rtems-de...@rtems.org

Re: [PATCH] Arm/raspberrypi.h: Added relevant headers for the bcm2711

2022-07-21 Thread Noor Aman
Sorry for that. I wanted a review for this so that's why included the gist too. I think instead of writing as a patch, I'll be using review. Thank you for the info. On Fri, Jul 22, 2022, 8:14 AM Chris Johns wrote: > On 22/7/2022 12:42 pm, Chris Johns wrote: > > On 22/7/2022

Re: [PATCH] Arm/raspberrypi.h: Added relevant headers for the bcm2711

2022-07-21 Thread Noor Aman
to any application that > includes bsp.h? > > It might all need to be moved into a separate header to avoid > contaminating everyone's namespace. > > On Thu, Jul 21, 2022, 10:56 AM Noor Aman wrote: > >> A brief gist of what i found compatible with the older code >>

[PATCH] Arm/raspberrypi.h: Added relevant headers for the bcm2711

2022-07-21 Thread Noor Aman
A brief gist of what i found compatible with the older code ---COMPATIBLE HEADER--- - BCM2835 timer - GPIO - AUX - GPU timer ---DIDNT CHECK--- - SPI - I2C ---MINOR CHNAGE--- - IRQ - FIQ ---NOT SURE ABOUT--- - Watchdog - Power management - Mailbox register I didnt get any info about power managemen

[GSoC] Help needed for the continuation of project RPi4B

2022-07-11 Thread Noor Aman
Hello, I wanted some help on my project and what do I need to do next. Here is a summary of what I have done so far. TESTING - Tested bare-metal from https://rpi4os.com, worked good - (Suggested by Alan) Tested VxWorks from https://www.windriver.com/products/vxworks, it worked fine too.

[GSoC-Entry PATCH] RTEMS port for Raspberry pi 4 AArch64

2022-03-07 Thread Noor Aman
100644 --- a/testsuites/samples/hello/init.c +++ b/testsuites/samples/hello/init.c @@ -22,7 +22,7 @@ static rtems_task Init( { rtems_print_printer_fprintf_putc(&rtems_test_printer); TEST_BEGIN(); - printf( "Hello World\n" ); + printf( "Hello World from Mohd Noor Aman A

Progress of raspberry pi 4 aarch64 BSP

2022-01-04 Thread Noor Aman
ld be helpful or fruitful? Any help regarding this would be greatly appreciated. Thank you. Regards, Mohd Noor Aman ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel