I am also doing some experimentation of bare metal programming. I've an example of AM335x ROM's peripheral booting over usb/rndis/bootp+tftp at https://github.com/auselen/down-to-the-bone with some notes on how to setup bootp+tftp.
My intention was to start with most simple code to turn on a user led without any configuration and just relying on ROM code's placement in the memory - which I think I achieved. See https://github.com/auselen/down-to-the-bone/blob/master/baremetal_led . I guess in startup.s you can even ignore the part about disabling interrupts - I just wasn't sure if that would safe. br, Utku On Fri, Oct 25, 2013 at 11:40 AM, dlewin555 <[email protected]> wrote: > Nice done Samuel, > > I've checked your tutorial, very interesting, > > I've also found really good pointers to understand the underlying of the > BBB Cortex with the Quantum Leap paper. > About the Arm Cortex Develloper's guide be advised that you point to the > 2.0 version which is old now, I advise the 3.0 : > * "25 June 2012 C Non-Confidential Updated for third release. Updated to > include Cortex-A7 processor, and > big.LITTLE. Index added. Corrected and revised throughout."* . you can > find it here: > > https://silver.arm.com/browse/BX100 > > David . > > > Le jeudi 24 octobre 2013 21:57:10 UTC+2, Samuel Casa a écrit : > >> hi >> check my bare metal hello world application, this i wrote for my >> understanding only: >> https://github.com/0xCA5A/**kickstart/tree/master/** >> beaglebone/bare_metal_hello_**world<https://github.com/0xCA5A/kickstart/tree/master/beaglebone/bare_metal_hello_world> >> >> i like the bootp / tftp boot mode (EMAC1) for early development. >> the ti romboot code does bootp on EMAC1 and loads the application (< >> 109k) into the internal ram and executes it. >> much more faster than mmc handling... >> >> if you are interested i can provide a short tutorial how to setup the >> bootp server using linux. >> >> good luck >> >> >> >> >> Am Sonntag, 20. Oktober 2013 11:32:50 UTC+2 schrieb Satz Klauer: >>> >>> I know there is a possibility to access PRU under linux but as stated >>> above I DEFINITELY want to do some bare metal programming on the "naked" >>> board. >>> >>> I already checked out TI's StarterWare and I'm open to use uboot prior >>> to my own code...so I'll check the boards to find out what has to be >>> changed in order to use it on BBB. >>> >>> Thanks for the information! >>> >>> >>> >>> Am Samstag, 19. Oktober 2013 15:59:24 UTC+2 schrieb Satz Klauer: >>>> >>>> Hi, >>>> >>>> I plan to do some bare-metal programming with the BBB (mainly for >>>> personal reasons and to play with hard realtime environments, so please do >>>> not try to soften me up to use Linux ;-) >>>> >>>> As a first task and to get a feeling for the hardware I'd try to access >>>> the LEDs (configure the GPIOs they are connected with as digital output and >>>> write 0/1 to them). >>>> >>>> My question: is there a getting-started-guide for this? >>>> >>>> Or to go more in detail: >>>> >>>> - I already found the CPU manual at TI's pages >>>> - I found a compiler arm-none-eabi-gcc - is it the correct one? >>>> - I still need header files where register addresses for the CPU are >>>> predefined >>>> - I still need a description how to download my created binaries to the >>>> board so that they are started immediately (instead of the Linux-Distro) >>>> >>>> Any Ideas where I can find these things? >>>> >>>> Thanks! >>>> >>>> -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
