EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Cortex M3/M4 with bootloader ROM

Started by David Brown October 4, 2013
On 10/09/2013 11:04 PM, George Neuner wrote:
> On Wed, 09 Oct 2013 01:40:32 -0400, Phil Hobbs > <pcdhSpamMeSenseless@electrooptical.net> wrote: > >> On 10/9/2013 1:21 AM, George Neuner wrote: >> >>> ... more recent fdisk, parted, etc. >>> allow creating partitions and logical drives that are not cylinder >>> aligned. A lot of non-Linux partitioning software expects cylinder >>> alignment and won't edit - or worse, won't even read - tables that >>> have "illegal" sizes. >> >> Linux has *allowed* that for awhile, but earlier versions of the tools >> didn't _force_ partition boundaries to be unaligned. The Fedoras I was >> thinking about would have been about V7, i.e. 2.6ish kernels. > > I never said Linux "forced" unaligned partitions - the simple fact > that Linux tools permit them is what made them (semi)incompatible with > non-Linux tools.
I know you didn't, I did. That's what pissed me off so badly about Ubuntu. I carefully partitioned the disc on cylinder boundaries, and told the installer to use the existing partitions. Then it went away and did its own thing, all to save a quarter or half of a cylinder. It did the same thing on the text-mode install procedure. Brain-dead, arrogant, or both.
> > Linux tools make only minimal effort to inform a user that a partition > is not aligned and may be a problem for another OS. They do nothing > to help the user in sizing a partition so it will be aligned. >
I don't want training wheels, I want it to do as it's bloody well told, and it doesn't.
> >>> Fortunately VMware (at least since v6) seems to be able to run most >>> versions of Linux without difficulty, so I no longer have any pressing >>> need for multi-booting. I mention the problem simply because others >>> may yet want to do it. >> >> That's assuming that semi-sane versions of Windows continue to be >> available to host it. Microsoft seems to be hell-bent on killing off >> Windows, so I think some future-proofing is in order. I've been buying >> Win7 and XP licenses recently so that I can continue to run my old S/W >> past next April. > > VMware also runs *on* Linux hosts 8-)
Of course. But that won't preserve an existing installation. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
On 10/09/2013 05:34 PM, T wrote:
> In article <l3121s$nep$1@dont-email.me>, > pcdhSpamMeSenseless@electrooptical.net says... >> >> On 10/8/2013 9:32 AM, Roberto Waltman wrote: >>> Cross posting to sci.electronics.design >>> >>> What linux distros do techies like? >>> >>> R. >>> >>> >>> Roberto Waltman wrote: >>>> David Brown wrote: >>>>> ... I use Linux for most of my work and play. >>>> >>>> Just curious - Which Linux distribution do you use? >>>> >>>> I used Ubuntu for several years, but I'm not sure I want to follow >>>> Canonical in whatever path they want to take it. >>>> >>>> Thinking of switching to Scientific Linux (Fedora) when I get back to >>>> "work and play." (Crunchbang Linux is also in the run.) >> >> Being a vanilla sort of guy, I mostly use CentOS 6. I'm more of a KDE >> fan, though, so there are occasional curiosities that I haven't invested >> the time in fixing--for instance, clicking on a link in kmail doesn't >> open it correctly in Firefox. >> >> I have an old P4 box that's running Kubuntu. The main thing I disliked >> about Ubuntu when I used it last is that it doesn't play nicely with >> the other children--if I set up disk partitions on cylinder boundaries >> for other OSes, and tell it to use the existing partitions, it >> nevertheless insists on futzing with the partition table to save a >> quarter of a cylinder. I like computers that do as they're bloody well >> told. >> >> Cheers >> >> Phil Hobbs > > My favorites are Debian and Ubuntu in that order. The main feature I > like about the former is the package management system. It's far > superior to that used in RHeL et al. > > I mean: > apt-get update > apt-get upgrade > > That's all it takes to keep your system up to date. > > And if you want an app: > > apt-get install mysql > > It gets all the dependencies necessary too. > >
That's what yum is all about, package management. I think it's significantly better than apt-get. You can do "sudo yum upgrade", which does the same thing as your sequence. The thing I really like about yum is "whatprovides", i.e. "go look through the entire package database and find which one provides the obscure library that my poorly-packaged program needs." That's saved me a lot of time over the years. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
On Thu, 10 Oct 2013 10:07:08 -0400, Phil Hobbs
<pcdhSpamMeSenseless@electrooptical.net> wrote:

>On 10/09/2013 11:04 PM, George Neuner wrote: >> VMware also runs *on* Linux hosts 8-) > >Of course. But that won't preserve an existing installation.
VMware Converter creates VM images from existing installations. Note that I have only used it on Windows and have *not* tried it on a Linux box, but I have been told it is pretty straightforward with most systems. Whether it is worthwhile depends on the devices involved. Obviously there is no point if you depend on some bus card device that can't be transported to a newer host. But VMware has no problem with USB, serial, parallel and most SCSI devices - it even handles many of the partial SCSI implementations typical of printers and scanners. George
On 10/10/2013 7:36 PM, George Neuner wrote:
> On Thu, 10 Oct 2013 10:07:08 -0400, Phil Hobbs > <pcdhSpamMeSenseless@electrooptical.net> wrote: > >> On 10/09/2013 11:04 PM, George Neuner wrote: >>> VMware also runs *on* Linux hosts 8-) >> >> Of course. But that won't preserve an existing installation. > > VMware Converter creates VM images from existing installations. Note > that I have only used it on Windows and have *not* tried it on a Linux > box, but I have been told it is pretty straightforward with most > systems. >
That's interesting. You and I seem to be having an interated failure to communicate on some of the other issues, though. It's hard enough future-proofing one's computing installations without having the tools decide that they won't cooperate. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 USA +1 845 480 2058 hobbs at electrooptical dot net http://electrooptical.net
David Brown wrote:

>Does anyone have recommendations for Cortex M3/M4 microcontrollers with >a bootloader in ROM? We use a number of Freescale Kinetis devices, but
I forgot to mention the Infineon XMC4000, no "recommendation" since I don't use/know it, but as far as I see, it has a serial bootloader in ROM. Oliver -- Oliver Betz, Munich despammed.com is broken, use Reply-To:
On a sunny day (Thu, 10 Oct 2013 23:36:01 -0400) it happened Phil Hobbs
<pcdhSpamMeSenseless@electrooptical.net> wrote in
<52577221.403@electrooptical.net>:

>That's interesting. You and I seem to be having an interated failure to >communicate on some of the other issues, though. It's hard enough >future-proofing one's computing installations without having the tools >decide that they won't cooperate. > >Cheers > >Phil Hobbs
mm is anybody stopping you from writing a version of fdisk that does stick to your concept of how partitions should be divided? Linux has always been, at least for me, 'if it does not exist write it'. or sometimes 'I cannot be bothered to learn this ..i*t' so I will write my own app. Old Dutch saying (and I am sure it is universal): One should not look a given horse in the mouth. And 'I want Linux to be compatible with Microsoft <whatever>' is NOT on MY list of priorities. As to 'future proof', not one new kernel I tried had the same bugs as the previous ones. And the driver API changes, video4linux, the DVB driver, OSS , Alsa, etc etc, changes every year or moon phase or sunspot, have not figured out when exactly .. Meaning you have to rewrite your apps every time in many cases, including all scripts (command line flags change...). Now YOU did chose Linux, so get used to it. All that, mind you, I ONLY run Linux, except for an old win98 but that seems to not understand the new graphics card, so its screen is now so messed up... should delete it.. but has my scanner driver.... Not that I use the scanner, I use the camera... Anyways future proof what year did you have in mind? In the computer world 6 month is already an unknown, 6 years ? 60? Maybe we all have a chip implant by then, and only need to _think_ to partition our brains.
On 10/11/2013 05:08 AM, Jan Panteltje wrote:
> On a sunny day (Thu, 10 Oct 2013 23:36:01 -0400) it happened Phil Hobbs > <pcdhSpamMeSenseless@electrooptical.net> wrote in > <52577221.403@electrooptical.net>: > >> That's interesting. You and I seem to be having an interated failure to >> communicate on some of the other issues, though. It's hard enough >> future-proofing one's computing installations without having the tools >> decide that they won't cooperate. >> >> Cheers >> >> Phil Hobbs > > mm is anybody stopping you from writing a version of fdisk that does stick > to your concept of how partitions should be divided? > > Linux has always been, at least for me, 'if it does not exist write it'. > or sometimes 'I cannot be bothered to learn this ..i*t' so I will write my own app. > > Old Dutch saying (and I am sure it is universal): > One should not look a given horse in the mouth. > > And 'I want Linux to be compatible with Microsoft <whatever>' is NOT on MY list of priorities. > > As to 'future proof', not one new kernel I tried had the same bugs as the previous ones. > And the driver API changes, video4linux, the DVB driver, OSS , Alsa, etc etc, > changes every year or moon phase or sunspot, > have not figured out when exactly .. > Meaning you have to rewrite your apps every time in many cases, > including all scripts (command line flags change...). > Now YOU did chose Linux, so get used to it. > > All that, mind you, I ONLY run Linux, except for an old win98 but that seems to not understand > the new graphics card, so its screen is now so messed up... should delete it.. > but has my scanner driver.... > Not that I use the scanner, I use the camera... > Anyways future proof what year did you have in mind? > In the computer world 6 month is already an unknown, > 6 years ? 60? Maybe we all have a chip implant by then, and only need to _think_ to partition our brains. >
In other words, if one has any complaints about Linux, it's proof positive that one is a lazy asshole. And here I thought that the communication failure was accidental. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
On a sunny day (Fri, 11 Oct 2013 10:20:22 -0400) it happened Phil Hobbs
<pcdhSpamMeSenseless@electrooptical.net> wrote in
<52580926.1060500@electrooptical.net>:

>On 10/11/2013 05:08 AM, Jan Panteltje wrote: >> On a sunny day (Thu, 10 Oct 2013 23:36:01 -0400) it happened Phil Hobbs >> <pcdhSpamMeSenseless@electrooptical.net> wrote in >> <52577221.403@electrooptical.net>: >> >>> That's interesting. You and I seem to be having an interated failure to >>> communicate on some of the other issues, though. It's hard enough >>> future-proofing one's computing installations without having the tools >>> decide that they won't cooperate. >>> >>> Cheers >>> >>> Phil Hobbs >> >> mm is anybody stopping you from writing a version of fdisk that does stick >> to your concept of how partitions should be divided? >> >> Linux has always been, at least for me, 'if it does not exist write it'. >> or sometimes 'I cannot be bothered to learn this ..i*t' so I will write my own app. >> >> Old Dutch saying (and I am sure it is universal): >> One should not look a given horse in the mouth. >> >> And 'I want Linux to be compatible with Microsoft <whatever>' is NOT on MY list of priorities. >> >> As to 'future proof', not one new kernel I tried had the same bugs as the previous ones. >> And the driver API changes, video4linux, the DVB driver, OSS , Alsa, etc etc, >> changes every year or moon phase or sunspot, >> have not figured out when exactly .. >> Meaning you have to rewrite your apps every time in many cases, >> including all scripts (command line flags change...). >> Now YOU did chose Linux, so get used to it. >> >> All that, mind you, I ONLY run Linux, except for an old win98 but that seems to not understand >> the new graphics card, so its screen is now so messed up... should delete it.. >> but has my scanner driver.... >> Not that I use the scanner, I use the camera... >> Anyways future proof what year did you have in mind? >> In the computer world 6 month is already an unknown, >> 6 years ? 60? Maybe we all have a chip implant by then, and only need to _think_ to partition our brains. >> > >In other words, if one has any complaints about Linux, it's proof >positive that one is a lazy asshole. And here I thought that the >communication failure was accidental.
The communication failure was possibly the channel that told you Linux does everything, and you believed it. BTW if you dont want some scripts to call some routine (program) (say fdisk), rename the orignal mv fdisk not_today_fdisk , make a small script called fdisk that returns OK (exit 0), and see what happens (if anything). I do things like that sometimes to 'stay in control', you can make it log to with 'echo'. Sometimes it helps, and sometimes it does not, modifying the source a bit does the same. Yes it is hard work, I spend a full day programming asm, it is hard work too, especially if you want zero errors. Maybe it will erase all your disks, YMMV ;-)
On Tue, 08 Oct 2013 09:32:46 -0400, Roberto Waltman <usenet@rwaltman.com>
wrote:

>Cross posting to sci.electronics.design > >What linux distros do techies like? > >R. > > >Roberto Waltman wrote: >>David Brown wrote: >>> ... I use Linux for most of my work and play. >> >>Just curious - Which Linux distribution do you use? >> >>I used Ubuntu for several years, but I'm not sure I want to follow >>Canonical in whatever path they want to take it. >> >>Thinking of switching to Scientific Linux (Fedora) when I get back to >>"work and play." (Crunchbang Linux is also in the run.)
I have used openSuse for quite a while. If you want better EDA tools fedora may be best. *buntu make me uncomfortable about security. Maybe it is time to try Debian or a derivative again. I prefer package (dependency) manager style Linuxes currently, though i can and will at need install from source. ?-)
Roberto Waltman <usenet@rwaltman.com> writes:

> Cross posting to sci.electronics.design > > What linux distros do techies like?
I have Debian in my home desktop and NAS, Sabayon in my personal laptop. I picked Sabayon for the laptop to get new stuff quickly since it's a rolling distribution. So small weekly updates instead of a huge one twice a year like Fedora or never like Mint... For chip design work (at work) I've usually used RHEL or CentOS since that's what the tools officially support.

The 2024 Embedded Online Conference