Go to advanced search

by Electron752
Thu Aug 25, 2016 12:37 am
Forum: General discussion
Topic: Experimental 64 bit kernel in foundation github tree
Replies: 11
Views: 10742

Experimental 64 bit kernel in foundation github tree

I just wanted to let everyone know that a 64 bit kernel has been checked into the foundation github tree. Only source is available at this time so you will need to compile it yourself. Since this is very experimental, DO NOT BOTHER ANY OF THE FOUNDATION DEVELOPERS. PM ME OR POST HERE! You will need ...
by Electron752
Sat Aug 20, 2016 1:18 pm
Forum: Off topic discussion
Topic: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platforms
Replies: 22
Views: 5467

Re: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platfo

FYI, I found this technical description of the whole u-boot+grub2 concept. It contains a link to the source code. http://lists.denx.de/pipermail/u-boot/2016-February/244378.html The more I think about this, the more interesting this gets. It's a very easy path to get fancy menus and other features a...
by Electron752
Sat Aug 13, 2016 3:44 am
Forum: Off topic discussion
Topic: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platforms
Replies: 22
Views: 5467

Re: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platfo

I took a step back today to get a better perspective of the whole thing. I think the mistake that's being made is that multiple issues are being grouped together that are in reality sort of independent. 1. Simply the boot sequence, make remote boot through wifi etc work. It seems to me that the best...
by Electron752
Sat Aug 13, 2016 3:14 am
Forum: Off topic discussion
Topic: Refresh of 64 bit linux kernel for RPI 3
Replies: 13
Views: 7062

Re: Refresh of 64 bit linux kernel for RPI 3

Your quite welcome and I'm glad you find it useful. I couldn't have done it without the help of many others. My main contribution to the headless system was getting USB and networking to work on 64bit. Trying to debug though a serial terminal is quite painful. It took some effort, but in the end the...
by Electron752
Sat Aug 13, 2016 12:37 am
Forum: Off topic discussion
Topic: Refresh of 64 bit linux kernel for RPI 3
Replies: 13
Views: 7062

Re: Refresh of 64 bit linux kernel for RPI 3

I agree. Somethings will certainly be faster especially since the size of compiled code didn't change much from 32 bit to 64 bit while still adding more bits to the registers. In the tests I did some things are faster and some things are slower. So for now, I think it's just a matter of what the spe...
by Electron752
Fri Aug 12, 2016 4:37 pm
Forum: Off topic discussion
Topic: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platforms
Replies: 22
Views: 5467

Re: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platfo

What if I also said that Microchip makes controllers that already have fast ethernet built into the controller. I also know that Microchip has been wanting to push USB host mode for awhile and controllers with multiple USB ports(but without much success). Perhaps it would be possible to remove that ...
by Electron752
Fri Aug 12, 2016 4:24 pm
Forum: Off topic discussion
Topic: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platforms
Replies: 22
Views: 5467

Re: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platfo

What if I said that for a bit more money Microchip has a different controller that can do USB host/device. I read somewhere that the USB hub/ethernet chip that you are using already(from Microchip) has some extra ports that aren't exposed outside the board. This controller can easily emulate a USB f...
by Electron752
Fri Aug 12, 2016 3:40 pm
Forum: Off topic discussion
Topic: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platforms
Replies: 22
Views: 5467

Re: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platfo

Can someone enlighten me on how boot from wifi, bluetooth, zigbee, zwave, etc could be supported from 32kb OTP rom? First one starts with open access points. The next day people decide that open access points isn't a good idea, so maybe everything should support WEP. The following day people decide ...
by Electron752
Fri Aug 12, 2016 2:34 pm
Forum: Off topic discussion
Topic: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platforms
Replies: 22
Views: 5467

Re: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platfo

At this point, it may not make sense for the PI zero since the cost is too low. But the PI 4 at $30 or $40 is more realistic. As for the point, the point would be mostly to protect broadcom's IP, not necessarily benefit the custom directly. For example, perhaps it may be useful to update the gpu's f...
by Electron752
Fri Aug 12, 2016 12:36 pm
Forum: Off topic discussion
Topic: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platforms
Replies: 22
Views: 5467

Re: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platfo

I just did a quick look at Microchip's products and here is some interesting examples of what is possible for very cheap... 32 bit MIPS with 64KB Flash(aprox $1 for 5000 units) http://www.microchip.com/wwwproducts/en/PIC32MM0064GPL028 Serial Flash with 8MB of flash space(aprox $2 for 5000 units) htt...
by Electron752
Fri Aug 12, 2016 8:48 am
Forum: Off topic discussion
Topic: My First OS made with Cosmos C# toolkit
Replies: 9
Views: 5180

Re: My First OS made with Cosmos C# toolkit

I was able to download the file and I see several interesting ideas here, but I'm having trouble understand how it all works. Perhaps you could give more details? I see the notes about VMWare in the configuration, and I see syslinux in the ISO image. I also see the C# code that makes up tsh. I'm not...
by Electron752
Fri Aug 12, 2016 7:41 am
Forum: Off topic discussion
Topic: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platforms
Replies: 22
Views: 5467

Re: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platfo

I'm not quite sure if you're agreeing with me or disagreeing... I'm thinking of how this could be implemented on RPI 4, not so much on how to make it work on existing boards. The boot flash that I'm talking about could just as easily be on the SoC as an independent chip. The point that I was making ...
by Electron752
Fri Aug 12, 2016 5:54 am
Forum: Off topic discussion
Topic: Refresh of 64 bit linux kernel for RPI 3
Replies: 13
Views: 7062

Re: Refresh of 64 bit linux kernel for RPI 3

I agree, I should have added memory mapped files with the restriction that the database itself is recomplied for aarch64. The swap files can benefit 32 arm applications that aren't recompiled for whatever reason. Even though each process itself can't access more then 32 bits, the total from all the ...
by Electron752
Fri Aug 12, 2016 5:38 am
Forum: Off topic discussion
Topic: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platforms
Replies: 22
Views: 5467

Re: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platfo

I know I'm not really adding that much new here, but it does make it more secure and allows the bootcode to be even more simplified. 1. It's either SPI or I2C instead of SD so the rom bootcode could be very, very simple and small. I've looked into using SD in the past from a microcontroller, and it'...
by Electron752
Fri Aug 12, 2016 2:43 am
Forum: Off topic discussion
Topic: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platforms
Replies: 22
Views: 5467

Re: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platfo

In fact, thinking outside the box here... The RPI could have included a very cheap microcontroller with a bunch of flash ram on the chip. When the PI boot, it downloads the bootstrap code though either spi or i2c from the cheap microcontroller To upgrade the firmware, the microcontroller's firmware ...
by Electron752
Fri Aug 12, 2016 2:29 am
Forum: Off topic discussion
Topic: My First OS made with Cosmos C# toolkit
Replies: 9
Views: 5180

Re: My First OS made with Cosmos C# toolkit

Interesting... I tried to download your zip file, but it required me to create an account and all. Could you perhaps put the file somewhere else? Perhaps you could give out some more information about what you have done. How did you write device drivers in C# since C# doesn't have pointers in the tr...
by Electron752
Fri Aug 12, 2016 2:15 am
Forum: Off topic discussion
Topic: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platforms
Replies: 22
Views: 5467

Re: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platfo

Makes sense, I didn't quite read the full article. What I don't understand is why couldn't the "firmware" that's part of the foundation firmware distribution include a copy of u-boot. I mean u-boot is open source and all. As the article says, it could be uboot.bin in addition to boot.bin, start.elf,...
by Electron752
Thu Aug 11, 2016 10:44 pm
Forum: Off topic discussion
Topic: Refresh of 64 bit linux kernel for RPI 3
Replies: 13
Views: 7062

Re: Refresh of 64 bit linux kernel for RPI 3

It's a matter of the amount of interest and if anybody else gets involved. Right now there isn't much advantage to aarch64 from an end user point of view. It has very few performance benefits except for the ability to have larger swap files. I actually did some some "real world" benchmarks such as f...
by Electron752
Thu Aug 11, 2016 8:44 pm
Forum: Off topic discussion
Topic: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platforms
Replies: 22
Views: 5467

Re: U-Boot Now Supports UEFI on 32-bit and 64-bit ARM Platfo

Interesting...

Are you saying that the RPI firmware could support a UEFI mode?
by Electron752
Wed Aug 10, 2016 2:40 am
Forum: Off topic discussion
Topic: Refresh of 64 bit linux kernel for RPI 3
Replies: 13
Views: 7062

Refresh of 64 bit linux kernel for RPI 3

I just wanted to let everybody know that I put out a refresh of the 64 bit linux port for RPI 3 that I've been tinkering with. https://github.com/Electron752/linux I am only providing source code for now since I still need to think about the implications of distributing a binary. BUILDING - I do thi...
by Electron752
Tue Aug 09, 2016 9:09 am
Forum: Linux Kernel
Topic: Porting Linux VCHIQ Driver To 64 Bit
Replies: 5
Views: 3482

Re: Porting Linux VCHIQ Driver To 64 Bit

OK, I did some more digging and it turns out those pointers are just locations to store stuff. I was able to change them to 32 bit offsets from the start of the state structure and everything is working. I was able to make few lines of change to the audio driver(which uses vchiq) and now I have HDMI...
by Electron752
Tue Aug 09, 2016 6:08 am
Forum: Linux Kernel
Topic: Porting Linux VCHIQ Driver To 64 Bit
Replies: 5
Views: 3482

Porting Linux VCHIQ Driver To 64 Bit

Hi, I've been tinkering with porting the foundation's custom Linux kernel to arm64 off and on for the last few months. I have just about everything working now including usb(dwc_otg), frame buffer video with dma acceleration, networking, mmc/sd, builtin bluetooth and wifi, and support for the founda...
by Electron752
Sun Apr 10, 2016 6:05 pm
Forum: Bare metal, Assembly language
Topic: Reuse img from old pi
Replies: 3
Views: 735

Re: Reuse img from old pi

Assuming this is Raspian, it should be possible. I would power down the PI, from a different PC download the latest firmware files from the foundation github onto the boot partition, and disconnect everything from the GPIO header. Then power it up, and after you update all your customization for the...
by Electron752
Sun Apr 10, 2016 5:02 am
Forum: Bare metal, Assembly language
Topic: Boot 64bit linux without u-boot?
Replies: 5
Views: 2326

Re: Boot 64bit linux without u-boot?

FYI: I was able today to get 64bit linux to boot without u-boot. The key is to hard code the device tree and the device tree address in config.txt. Here are the steps I followed: 1. Set the kernel to boot with a fixed command line in the .config file. I did this with "make menuconfig". This may not ...
by Electron752
Sat Apr 09, 2016 9:57 pm
Forum: Bare metal, Assembly language
Topic: Binaries and source for 64 bit kernel for RPI 3
Replies: 8
Views: 4467

Binaries and source for 64 bit kernel for RPI 3

I put a new version of the kernel source and binaries on github. This is based on the foundation tree rather then the upstream source. I still don't have sound or accelerated video working yet. Also the builtin wifi and bluetooth isn't working yet either. The number of changes from the foundation tr...

Go to advanced search